Official Mixpanel library for Python
Project description
This is the official Mixpanel Python library. This library allows for server-side integration of Mixpanel.
To import, export, transform, or delete your Mixpanel data, please see our mixpanel-utils package.
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(DISTINCT_ID, 'button clicked', {'color' : 'blue', 'size': 'large'}) # sends an update to a user profile mp.people_set(DISTINCT_ID, {'$first_name' : 'Ilya', 'favorite pizza': 'margherita'})
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.
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
mixpanel-4.10.0.tar.gz
(9.8 kB
view details)
Built Distribution
File details
Details for the file mixpanel-4.10.0.tar.gz
.
File metadata
- Download URL: mixpanel-4.10.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87733b1fa966bb4edc265a97d10ee71e22174e7a17a9ed6c739468b0eba88d3b |
|
MD5 | 4509aa088addf22a3f34496afaaf46f7 |
|
BLAKE2b-256 | 8e07419b8fa71e43149b02142dc665071ac884c8f5dfae171595feee8e82f7a0 |
File details
Details for the file mixpanel-4.10.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mixpanel-4.10.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf6ebe5b79556931e1c6b67b4b9e0a1fab60f81638a35c167fca62e7c05398d |
|
MD5 | e347dcef6e684120793d7bc78893364a |
|
BLAKE2b-256 | 3d13da8f3969c32cccf021fdaa9e635fd0221d920d00e3fe24dfdab94bf7c9b3 |