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(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

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for mixpanel-4.3.1.tar.gz
Algorithm Hash digest
SHA256 5647dc18ef2a34daae56bc8838bf1f72d0be184fc4bdc0dba6e4c8d00519aa22
MD5 4d7c62ba5491a67f164b2434345a89ad
BLAKE2b-256 3b32ab8eae3015cb3cb1285d128854357c579e4f6c6e5df174704f750f258e7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mixpanel-4.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5bc972465b33d6128b4819db0b283e68e59d827c4bdcc0ccd797a22f929e8ed1
MD5 06019bf6cff8ea7c539d152fe1484120
BLAKE2b-256 967b55391fc814b5e4b02d03fe1412d1c8309da6efa93fdd475789eff337181e

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