gituser/production/: mixpanel-4.1.0 metadata and description

Homepage Simple index

Official Mixpanel library for Python

author Mixpanel, Inc.
author_email dev@mixpanel.com
classifiers
  • License :: OSI Approved :: Apache Software License
  • Operating System :: OS Independent
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 3
keywords mixpanel analytics
license Apache
requires_dist
  • six
File Tox results History
mixpanel-4.1.0-py2.py3-none-any.whl
Size
8 KB
Type
Python Wheel
Python
2.7
mixpanel-4.1.0.tar.gz
Size
6 KB
Type
Source

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