mixpanel-python
==============================
.. image:: https://img.shields.io/pypi/v/mixpanel
:target: https://pypi.org/project/mixpanel
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/mixpanel
:target: https://pypi.org/project/mixpanel
:alt: PyPI - Python Version
.. image:: https://img.shields.io/pypi/dm/mixpanel
:target: https://pypi.org/project/mixpanel
:alt: PyPI - Downloads
.. image:: https://github.com/mixpanel/mixpanel-python/workflows/Tests/badge.svg
This is the official Mixpanel Python library. This library allows for
server-side integration of Mixpanel.
To import, export, transform, or delete your Mixpanel data, please see our
`mixpanel-utils package`_.
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
----------------------
* `Help Docs`_
* `Full Documentation`_
* mixpanel-python-async_; a third party tool for sending data asynchronously
from the tracking python process.
.. |travis-badge| image:: https://travis-ci.org/mixpanel/mixpanel-python.svg?branch=master
:target: https://travis-ci.org/mixpanel/mixpanel-python
.. _mixpanel-utils package: https://github.com/mixpanel/mixpanel-utils
.. _Help Docs: https://www.mixpanel.com/help/reference/python
.. _Full Documentation: http://mixpanel.github.io/mixpanel-python/
.. _mixpanel-python-async: https://github.com/jessepollak/mixpanel-python-async
Raw data
{
"_id": null,
"home_page": "https://github.com/mixpanel/mixpanel-python",
"name": "mixpanel",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.7, !=3.4.*",
"maintainer_email": "",
"keywords": "mixpanel analytics",
"author": "Mixpanel, Inc.",
"author_email": "dev@mixpanel.com",
"download_url": "https://files.pythonhosted.org/packages/bd/a3/9d71562db2107da31be6a988cac88cd1be11364d103b618a98ba92d2487b/mixpanel-4.10.1.tar.gz",
"platform": null,
"description": "mixpanel-python\n==============================\n\n.. image:: https://img.shields.io/pypi/v/mixpanel\n :target: https://pypi.org/project/mixpanel\n :alt: PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/mixpanel\n :target: https://pypi.org/project/mixpanel\n :alt: PyPI - Python Version\n\n.. image:: https://img.shields.io/pypi/dm/mixpanel\n :target: https://pypi.org/project/mixpanel\n :alt: PyPI - Downloads\n\n.. image:: https://github.com/mixpanel/mixpanel-python/workflows/Tests/badge.svg\n\nThis is the official Mixpanel Python library. This library allows for\nserver-side integration of Mixpanel.\n\nTo import, export, transform, or delete your Mixpanel data, please see our\n`mixpanel-utils package`_.\n\n\nInstallation\n------------\n\nThe library can be installed using pip::\n\n pip install mixpanel\n\n\nGetting Started\n---------------\n\nTypical usage usually looks like this::\n\n from mixpanel import Mixpanel\n\n mp = Mixpanel(YOUR_TOKEN)\n\n # tracks an event with certain properties\n mp.track(DISTINCT_ID, 'button clicked', {'color' : 'blue', 'size': 'large'})\n\n # sends an update to a user profile\n mp.people_set(DISTINCT_ID, {'$first_name' : 'Ilya', 'favorite pizza': 'margherita'})\n\nYou can use an instance of the Mixpanel class for sending all of your events\nand people updates.\n\n\nAdditional Information\n----------------------\n\n* `Help Docs`_\n* `Full Documentation`_\n* mixpanel-python-async_; a third party tool for sending data asynchronously\n from the tracking python process.\n\n\n.. |travis-badge| image:: https://travis-ci.org/mixpanel/mixpanel-python.svg?branch=master\n :target: https://travis-ci.org/mixpanel/mixpanel-python\n.. _mixpanel-utils package: https://github.com/mixpanel/mixpanel-utils\n.. _Help Docs: https://www.mixpanel.com/help/reference/python\n.. _Full Documentation: http://mixpanel.github.io/mixpanel-python/\n.. _mixpanel-python-async: https://github.com/jessepollak/mixpanel-python-async\n",
"bugtrack_url": null,
"license": "Apache",
"summary": "Official Mixpanel library for Python",
"version": "4.10.1",
"project_urls": {
"Homepage": "https://github.com/mixpanel/mixpanel-python"
},
"split_keywords": [
"mixpanel",
"analytics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "725a8048544f73e22ebd27bdeca64ce51578578873e5da9ba3d3f99d692f9034",
"md5": "a079d002be3d73d99169b9cba8db1e58",
"sha256": "a7a338b7197327e36356dbc1903086e7626db6d88367ccdd732b3f3c60d3b3ed"
},
"downloads": -1,
"filename": "mixpanel-4.10.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a079d002be3d73d99169b9cba8db1e58",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.4.*",
"size": 8954,
"upload_time": "2024-03-08T22:51:32",
"upload_time_iso_8601": "2024-03-08T22:51:32.309154Z",
"url": "https://files.pythonhosted.org/packages/72/5a/8048544f73e22ebd27bdeca64ce51578578873e5da9ba3d3f99d692f9034/mixpanel-4.10.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bda39d71562db2107da31be6a988cac88cd1be11364d103b618a98ba92d2487b",
"md5": "e97bb8e4d6fcad06fddc02e511c5031e",
"sha256": "29a6b5773dd34f05cf8e249f4e1d16e7b6280d6b58894551ce9a5aad7700a115"
},
"downloads": -1,
"filename": "mixpanel-4.10.1.tar.gz",
"has_sig": false,
"md5_digest": "e97bb8e4d6fcad06fddc02e511c5031e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.4.*",
"size": 9831,
"upload_time": "2024-03-08T22:51:33",
"upload_time_iso_8601": "2024-03-08T22:51:33.637179Z",
"url": "https://files.pythonhosted.org/packages/bd/a3/9d71562db2107da31be6a988cac88cd1be11364d103b618a98ba92d2487b/mixpanel-4.10.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-08 22:51:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mixpanel",
"github_project": "mixpanel-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "mixpanel"
}