Official Mixpanel library for Python
Project description
This is the official Mixpanel Python library. This library allows for server-side integration of Mixpanel.
Installation
The library can be installed using pip:
pip install mixpanel-py
Getting Started
Typical usage usually looks like this:
#!/usr/bin/env python from mixpanel import Mixpanel
mp = Mixpanel(YOUR_TOKEN)
# tracks an event with certain properties mp.track(‘button clicked’, {‘color’ : ‘blue’, ‘size’: ‘large’})
# sends an update to a user profile mp.people_set(USER_ID, {‘$first_name’ : ‘Amy’, ‘favorite color’: ‘red’})
You can use an instance of the Mixpanel class for sending all of your events and people updates.
Additional Information
[Help Docs](https://www.mixpanel.com/help/reference/python)
[Full Documentation](http://mixpanel.github.io/mixpanel-python/)
[mixpanel-python-asyc](https://github.com/jessepollak/mixpanel-python-async) a third party tool for sending data asynchronously from the tracking python process.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mixpanel-py-3.1.1.tar.gz
.
File metadata
- Download URL: mixpanel-py-3.1.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6effea4fe780e346e755fd314c01ae399ce4b15d27dbeef0ff19e1b854518529 |
|
MD5 | fddaf513c641957f124891127af8ce6c |
|
BLAKE2b-256 | e154b0a87a344ff23a2d748c02ed73000393caaea0df741d4f7f911dd099f100 |