{"repo":"mixpanel/mixpanel-python","free":true,"listed":false,"github":"https://github.com/mixpanel/mixpanel-python","clone":"git clone https://github.com/mixpanel/mixpanel-python.git","description":"Official Mixpanel Python library.","language":"Python","stars":108,"topics":["sdk"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"mixpanel-python July 24, 2026 - v5.3.0 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: Getting Started Typical usage usually looks like this: You can use an instance of the Mixpanel class for sending all of your events and people updates. Service Account Authentication For enhanced security in server-to-server integrations, you can use service account credentials for authentication instead of API secrets: Service account credentials can also be used with custom consumers like BufferedConsumer : Service account credentials are only used for the /import endpoint and feature flags. Regular event tracking operations ( track , people set , group set ) use the token provided in the constructor, which is sent in the event payload. Service Accounts with Feature Flags Service account credentials are automatically used for feature flag operations when configured: Note : When using service account credentials, the token parameter in the Mixpanel constructor is still required for event tracking operations ( track , people set , etc.) since the token is included in the event data payload. However, feature flag operations use the project id from credentials instead of the token for authentication. Additional Information Help Docs Full Documentation mixpanel-python-async; a third par","default_branch":null,"files":null,"tree":[],"storefront":"/r/mixpanel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mixpanel/mixpanel-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}