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

Uploaded Source

Built Distribution

mixpanel-4.1.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mixpanel-4.1.0.tar.gz.

File metadata

  • Download URL: mixpanel-4.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mixpanel-4.1.0.tar.gz
Algorithm Hash digest
SHA256 becee0b932e764be40fe629aea48445ca51dab1292422ebaaeb78ddf8261d8f8
MD5 7c34382867f442f2709a06f0725eb2a7
BLAKE2b-256 64d2ae957e0fcd2032830f29760dc58b35e9120808463a6a41333df681e6a503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mixpanel-4.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 809c7d5ca207db4de7f816ffbb45beaf5e64033d769dcebbed6c186c724e46c0
MD5 0166c6308c5fcbf4794ced7e4bec0cd1
BLAKE2b-256 a694efb923a38960937441feb37007e6297e67458f6ef108c2c0a42db37ab551

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