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
Getting Started
Typical usage usually looks like this:
from mixpanel import Mixpanel mp = Mixpanel(YOUR_TOKEN) # tracks an event with certain properties mp.track(USER_ID, '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
mixpanel-python-async; a third party tool for sending data asynchronously from the tracking python process.
mixpanel-py3; a Python 3-only fork of this library that includes some additional features, maintained by Fredrik Svensson.
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
Built Distribution
File details
Details for the file mixpanel-4.2.0.tar.gz
.
File metadata
- Download URL: mixpanel-4.2.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32af890e2505c2bf69d8c233721bcdbebf8b34855656bff686cf080d2aa8a70 |
|
MD5 | aecbc460efa818f4d8c2a8ae1b754c37 |
|
BLAKE2b-256 | 6c06bea589d89bf64e7e4c1e5258976ea3fee6bccd39351f85ed82ced51f5fc6 |
File details
Details for the file mixpanel-4.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mixpanel-4.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da67eaa9f4b6bbe9cc6dff1e9fc3c0bcd653b1b39545edddb22a27c3986400a2 |
|
MD5 | 317aba170e9ce623407f9191991cc5e1 |
|
BLAKE2b-256 | d489667048ef0b1c2e29087022e7ffb59e694b27f900cd5ccae3b853259e1766 |