【文件属性】:
文件名称:mixpanel-python:官方Mixpanel Python库
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-15 18:50:42
Python
mixpanel-python
这是官方的Mixpanel Python库。 该库允许Mixpanel在服务器端进行集成。
要导入,导出,转换或删除您的Mixpanel数据,请参阅我们的。
安装
可以使用pip安装该库:
pip install mixpanel
入门
典型用法通常如下所示:
from mixpanel import Mixpanel
mp = Mixpanel(YOUR_TOKEN)
# tracks an event with certain properties
mp.track(DISTINCT_ID, 'button clicked', {'color' : 'blue', 'size': 'large'})
# sends an update to a user profile
mp.people_set(DISTINCT_ID, {'$first_na
【文件预览】:
mixpanel-python-master
----.gitignore(74B)
----setup.cfg(22B)
----test_mixpanel.py(20KB)
----README.rst(2KB)
----.github()
--------workflows()
----docs()
--------conf.py(2KB)
--------index.rst(791B)
--------_static()
----requirements-testing.txt(27B)
----CHANGES.txt(3KB)
----BUILD.rst(673B)
----LICENSE.txt(590B)
----setup.py(1KB)
----tox.ini(131B)
----mixpanel()
--------__init__.py(29KB)
----demo()
--------post_an_event.py(421B)
--------subprocess_consumer.py(2KB)