--- id: posthog version: "7.39.0" license: MIT license_treatment: permissive maintenance: active --- # posthog — Integrate PostHog into any python application. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install posthog uv add posthog poetry add posthog ## Description # PostHog Python

posthoglogo

pypi installs GitHub contributors GitHub commit activity GitHub closed issues

Please see the main [PostHog docs](https://posthog.com/docs). SDK usage examples and code snippets live in the official documentation so they stay up to date. ## Python Version Support | SDK Version | Python Versions Supported | Notes | | ------------- | ---------------------------- | -------------------------- | | 7.3.1+ | 3.10, 3.11, 3.12, 3.13, 3.14 | Added Python 3.14 support | | 7.0.0 - 7.0.1 | 3.10, 3.11, 3.12, 3.13 | Dropped Python 3.9 support | | 4.0.1 - 6.x | 3.9, 3.10, 3.11, 3.12,... ## AI interpretation — verify before relying PostHog Python SDK integrates product analytics and feature flagging into Python applications, sending events and flag evaluations to a PostHog instance for user behavior tracking and experimentation. Verdict: Production-ready analytics SDK with active maintenance, permissive MIT licensing, and low install friction. No known vulnerabilities and broad Python version support (3.10–3.14) make it a reliable choice for integrating PostHog into Python applications. [View on SkillFed](https://skillfed.io/packages/posthog) · [View on PyPI](https://pypi.org/project/posthog/)