Skip to main content

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

Project details


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.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

mixpanel-4.2.0-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

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

Hashes for mixpanel-4.2.0.tar.gz
Algorithm Hash digest
SHA256 c32af890e2505c2bf69d8c233721bcdbebf8b34855656bff686cf080d2aa8a70
MD5 aecbc460efa818f4d8c2a8ae1b754c37
BLAKE2b-256 6c06bea589d89bf64e7e4c1e5258976ea3fee6bccd39351f85ed82ced51f5fc6

See more details on using hashes here.

File details

Details for the file mixpanel-4.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mixpanel-4.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da67eaa9f4b6bbe9cc6dff1e9fc3c0bcd653b1b39545edddb22a27c3986400a2
MD5 317aba170e9ce623407f9191991cc5e1
BLAKE2b-256 d489667048ef0b1c2e29087022e7ffb59e694b27f900cd5ccae3b853259e1766

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page