mixpanel


Namemixpanel JSON
Version 4.11.0 PyPI version JSON
download
home_pageNone
SummaryOfficial Mixpanel library for Python
upload_time2025-08-25 17:27:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords mixpanel analytics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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": null,
    "name": "mixpanel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "mixpanel, analytics",
    "author": null,
    "author_email": "\"Mixpanel, Inc.\" <dev@mixpanel.com>",
    "download_url": "https://files.pythonhosted.org/packages/74/52/999b699421309dc9887f6894d0e35f33901bd47a674d7e60be44c9aaf55e/mixpanel-4.11.0.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": null,
    "summary": "Official Mixpanel library for Python",
    "version": "4.11.0",
    "project_urls": {
        "Homepage": "https://github.com/mixpanel/mixpanel-python"
    },
    "split_keywords": [
        "mixpanel",
        " analytics"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4e77858c4dddc7666d4047b3eac414cb768787b130addc9254ed5958f927fab6",
                "md5": "3f32c4ddcdb1918edda3f2d23ba5f939",
                "sha256": "fd82693dc01e02f30fced8f67e24d82445c02dce9693a2970fe5c803684074a5"
            },
            "downloads": -1,
            "filename": "mixpanel-4.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f32c4ddcdb1918edda3f2d23ba5f939",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10022,
            "upload_time": "2025-08-25T17:25:15",
            "upload_time_iso_8601": "2025-08-25T17:25:15.272205Z",
            "url": "https://files.pythonhosted.org/packages/4e/77/858c4dddc7666d4047b3eac414cb768787b130addc9254ed5958f927fab6/mixpanel-4.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7452999b699421309dc9887f6894d0e35f33901bd47a674d7e60be44c9aaf55e",
                "md5": "cc784ce57149a66c63d47b6644930dc1",
                "sha256": "ebfbad5732963d9844619e8d1e57b01f2b77f6e6b13cbe48d892479880665892"
            },
            "downloads": -1,
            "filename": "mixpanel-4.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cc784ce57149a66c63d47b6644930dc1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11953,
            "upload_time": "2025-08-25T17:27:36",
            "upload_time_iso_8601": "2025-08-25T17:27:36.189403Z",
            "url": "https://files.pythonhosted.org/packages/74/52/999b699421309dc9887f6894d0e35f33901bd47a674d7e60be44c9aaf55e/mixpanel-4.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-25 17:27:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mixpanel",
    "github_project": "mixpanel-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "mixpanel"
}
        
Elapsed time: 3.27393s