Skip to main content

Mixpanel library for Python3.3

Project description

This library allows for server-side integration of Mixpanel. This is an inofficial Mixpanel library for Python3.3. Its major version number reflects the Mixpanel API version.

Features over the official client

  • Support for Python3.3

  • Optional async consumer using tornado’s AsyncHTTPClient

Installation

This library can be installed via PyPI:

pip install mixpanel-py3

Getting Started

Typical usage usually looks like this:

from mixpanel import Mixpanel

mp = Mixpanel(YOUR_TOKEN)

# tracks an event with certain properties mp.track(‘button clicked’, {‘color’: ‘green’, ‘size’: ‘large’})

# sends an update to a user profile mp.people_set(USER_ID, {‘$first_name’: ‘Graham’, ‘favorite color’: ‘red’})

You can use an instance of the Mixpanel class for sending all of your events and people updates.

Issues

If you find any issues please file those on [GitHub](https://github.com/MyGGaN/mixpanel-python/issues) preferably with a pull request.

Contribute

If you have improved code, tests, documentation or added a feature feel free to open a pull request.

Additional Information

[mixpanel-py](https://github.com/mixpanel/mixpanel-python) Official client for python2.

[Tornado](http://www.tornadoweb.org/en/stable/) I/O-loop based web framework.

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-py3-3.0.0.tar.gz (5.4 kB view hashes)

Uploaded Source

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