Metadata-Version: 2.1
Name: dtsdk
Version: 1.0.1
Summary: DataTower.ai SDK for Python
Home-page: https://github.com/lovinjoy/datatower.ai-python
Author: DataTower.ai, Inc.
Author-email: contact@lovinjoy.com
License: Apache
Platform: all
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
License-File: LICENSE

# DataTower.ai



This is the official Python SDK for DataTower.ai.



## Easy Installation



You can get DataTower.ai SDK using pip.



pip install dtsdk



Once the SDK is successfully installed, use the SDK likes:



python



from dtsdk.sdk import DTAnalytics,DebugConsumer



dt = DTAnalytics(DebugConsumer(app_id="app_id_xxxx", token="xxxxxxxxxxxxxxxxxxxxxxx",server_url="https://xxxx"))



properties={"abc":123,"bcd":"xxx"}



dt.track(dt_id="aaaa",acid='bbbb',event_name="ad_click",properties=properties)



dt.flush()



dt.close()





