posthog
7.9.9
7.9.8
7.9.7
7.9.6
7.9.5
7.9.4
7.9.3
7.9.2
7.9.12
7.9.11
7.9.10
7.9.1
7.9.0
7.82.0
7.81.2
7.81.1
7.81.0
7.80.3
7.80.2
7.80.1
7.80.0
7.8.6
7.8.5
7.8.4
7.8.3
7.8.2
7.8.1
7.8.0
7.79.0
7.78.0
7.77.0
7.76.1
7.76.0
7.75.9
7.75.8
7.75.7
7.75.6
7.75.5
7.75.4
7.75.3
7.75.2
7.75.11
7.75.10
7.75.1
7.75.0
7.74.0
7.73.3
7.73.2
7.73.1
7.73.0
7.72.0
7.71.0
7.70.2
7.70.1
7.70.0
7.7.0
7.69.0
7.68.0
7.67.1
7.67.0
7.66.0
7.65.0
7.64.1
7.64.0
7.63.0
7.62.1
7.62.0
7.61.1
7.61.0
7.60.2
7.60.1
7.60.0
7.6.0
7.59.2
7.59.1
7.59.0
7.58.0
7.57.0
7.56.0
7.55.0
7.54.2
7.54.1
7.54.0
7.53.0
7.52.1
7.52.0
7.51.2
7.51.1
7.51.0
7.50.0
7.5.1
7.5.0
7.49.0
7.48.0
7.47.3
7.47.2
7.47.1
7.47.0
7.46.0
7.45.4
7.45.3
7.45.2
7.45.1
7.45.0
7.44.2
7.44.1
7.44.0
7.43.1
7.43.0
7.42.1
7.42.0
7.41.0
7.40.0
7.4.3
7.4.2
7.4.1
7.4.0
7.39.2
7.39.1
7.39.0
7.38.6
7.38.5
7.38.4
7.38.3
7.38.2
7.38.1
7.38.0
7.37.6
7.37.5
7.37.4
7.37.3
7.37.2
7.37.1
7.37.0
7.36.0
7.35.5
7.35.4
7.35.3
7.35.2
7.35.1
7.35.0
7.34.0
7.33.0
7.32.0
7.31.1
7.31.0
7.30.1
7.30.0
7.3.1
7.29.0
7.28.0
7.27.1
7.27.0
7.26.0
7.25.0
7.24.0
7.23.0
7.22.4
7.22.3
7.22.2
7.22.1
7.22.0
7.21.3
7.21.2
7.21.1
7.21.0
7.20.5
7.20.4
7.20.3
7.20.2
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5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.2.1
1.2.0
1.1.3
1.1.1
1.0.9
1.0.8
1.0.7
1.0.6
1.0.11
1.0.10
1.0.0
7.9.9
7.9.8
7.9.7
7.9.6
7.9.5
7.9.4
7.9.3
7.9.2
7.9.12
7.9.11
7.9.10
7.9.1
7.9.0
7.82.0
7.81.2
7.81.1
7.81.0
7.80.3
7.80.2
7.80.1
7.80.0
7.8.6
7.8.5
7.8.4
7.8.3
7.8.2
7.8.1
7.8.0
7.79.0
7.78.0
7.77.0
7.76.1
7.76.0
7.75.9
7.75.8
7.75.7
7.75.6
7.75.5
7.75.4
7.75.3
7.75.2
7.75.11
7.75.10
7.75.1
7.75.0
7.74.0
7.73.3
7.73.2
7.73.1
7.73.0
7.72.0
7.71.0
7.70.2
7.70.1
7.70.0
7.7.0
7.69.0
7.68.0
7.67.1
7.67.0
7.66.0
7.65.0
7.64.1
7.64.0
7.63.0
7.62.1
7.62.0
7.61.1
7.61.0
7.60.2
7.60.1
7.60.0
7.6.0
7.59.2
7.59.1
7.59.0
7.58.0
7.57.0
7.56.0
7.55.0
7.54.2
7.54.1
7.54.0
7.53.0
7.52.1
7.52.0
7.51.2
7.51.1
7.51.0
7.50.0
7.5.1
7.5.0
7.49.0
7.48.0
7.47.3
7.47.2
7.47.1
7.47.0
7.46.0
7.45.4
7.45.3
7.45.2
7.45.1
7.45.0
7.44.2
7.44.1
7.44.0
7.43.1
7.43.0
7.42.1
7.42.0
7.41.0
7.40.0
7.4.3
7.4.2
7.4.1
7.4.0
7.39.2
7.39.1
7.39.0
7.38.6
7.38.5
7.38.4
7.38.3
7.38.2
7.38.1
7.38.0
7.37.6
7.37.5
7.37.4
7.37.3
7.37.2
7.37.1
7.37.0
7.36.0
7.35.5
7.35.4
7.35.3
7.35.2
7.35.1
7.35.0
7.34.0
7.33.0
7.32.0
7.31.1
7.31.0
7.30.1
7.30.0
7.3.1
7.29.0
7.28.0
7.27.1
7.27.0
7.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3.0.0
2.5.0
2.4.2
2.4.0
2.3.1
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.2.1
1.2.0
1.1.3
1.1.1
1.0.9
1.0.8
1.0.7
1.0.6
1.0.11
1.0.10
1.0.0
توضیحات
Integrate PostHog into any python application.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | posthog-7.9.9 |
| نام | posthog |
| نسخه کتابخانه | 7.9.9 |
| نگهدارنده | ['PostHog'] |
| ایمیل نگهدارنده | ['PostHog <engineering@posthog.com>'] |
| نویسنده | Posthog |
| ایمیل نویسنده | PostHog <engineering@posthog.com> |
| آدرس صفحه اصلی | https://github.com/posthog/posthog-python |
| آدرس اینترنتی | https://pypi.org/project/posthog/ |
| مجوز | - |
# PostHog Python
<p align="center">
<img alt="posthoglogo" src="https://user-images.githubusercontent.com/65415371/205059737-c8a4f836-4889-4654-902e-f302b187b6a0.png">
</p>
<p align="center">
<a href="https://pypi.org/project/posthog/"><img alt="pypi installs" src="https://img.shields.io/pypi/v/posthog"/></a>
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/posthog/posthog-python">
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/posthog/posthog-python"/>
<img alt="GitHub closed issues" src="https://img.shields.io/github/issues-closed/posthog/posthog-python"/>
</p>
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, 3.13 | Python 3.9+ required |
## Documentation
- [Python library docs](https://posthog.com/docs/libraries/python)
- [Django framework docs](https://posthog.com/docs/libraries/django)
- [Flask framework docs](https://posthog.com/docs/libraries/flask)
- [Request integration configuration](references/middleware_configuration.md) — shared middleware options and compatibility notes
- [OpenFeature provider docs](https://posthog.com/docs/feature-flags/installation/openfeature) — use PostHog flags through the [OpenFeature](https://openfeature.dev) Python SDK
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for local setup and test instructions.
## Releasing
See [RELEASING.md](RELEASING.md).
نیازمندی
| مقدار | نام |
|---|---|
| - | requests<3.0,>=2.7 |
| - | backoff>=1.10.0 |
| - | distro>=1.5.0 |
| - | typing-extensions>=4.2.0 |
| xtr | langchain>=1.3.9; |
| xtr | httpx<1.0,>=0.27.0; |
| xtr | zstandard>=0.23.0; |
| xtr | opentelemetry-sdk>=1.20.0; |
| xtr | opentelemetry-exporter-otlp-proto-http>=1.20.0; |
| xtr | opentelemetry-sdk>=1.39.0; |
| xtr | opentelemetry-exporter-otlp-proto-http>=1.39.0; |
| xtr | opentelemetry-instrumentation>=0.60b0; |
| xtr | opentelemetry-instrumentation-system-metrics>=0.60b0; |
| xtr | django-stubs; |
| xtr | griffe; |
| xtr | lxml; |
| xtr | mypy; |
| xtr | mypy-baseline; |
| xtr | types-requests; |
| xtr | types-setuptools; |
| xtr | pre-commit; |
| xtr | pydantic>=2.12.0; |
| xtr | ruff; |
| xtr | setuptools; |
| xtr | packaging; |
| xtr | wheel; |
| xtr | twine; |
| xtr | tomli; |
| xtr | tomli_w; |
| xtr | freezegun==1.5.1; |
| xtr | flask>=2.2; |
| xtr | celery<6,>=5.3; |
| xtr | opentelemetry-instrumentation-celery>=0.41b0; |
| xtr | fastapi<1,>=0.115; |
| xtr | python-dateutil>=2.9.0.post0; |
| xtr | tzdata; |
| xtr | coverage; |
| xtr | pytest; |
| xtr | pytest-timeout; |
| xtr | pytest-asyncio; |
| xtr | jsonschema>=4.0; |
| xtr | django<6.0,>=5.2.15; |
| xtr | djangorestframework<4,>=3.15; |
| xtr | openai-agents>=0.18; |
| xtr | anthropic>=0.72; |
| xtr | langgraph>=1.0; |
| xtr | langgraph-checkpoint>=4.1.1; |
| xtr | tiktoken>=0.12.0; |
| xtr | langchain-core>=1.0; |
| xtr | langchain>=1.3.9; |
| xtr | langchain-community>=0.4; |
| xtr | langchain-openai>=1.1.14; |
| xtr | langchain-anthropic>=1.0; |
| xtr | google-genai; |
| xtr | pydantic>=2.12.0; |
| xtr | parameterized>=0.8.1; |
| xtr | claude-agent-sdk; |
| xtr | mcp<2,>=1.28.1; |
| xtr | fastmcp>=2.0; |
| xtr | opentelemetry-sdk>=1.20.0; |
| xtr | opentelemetry-exporter-otlp-proto-http>=1.20.0; |
| xtr | opentelemetry-instrumentation>=0.60b0; |
| xtr | opentelemetry-instrumentation-system-metrics>=0.60b0; |
| xtr | opentelemetry-instrumentation-requests>=0.60b0; |
| xtr | opentelemetry-instrumentation-sqlite3>=0.60b0; |
| xtr | opentelemetry-instrumentation-wsgi>=0.60b0; |
| xtr | opentelemetry-instrumentation-flask>=0.60b0; |
| xtr | opentelemetry-instrumentation-httpx>=0.60b0; |
| xtr | opentelemetry-instrumentation-aiohttp-client>=0.60b0; |
| xtr | opentelemetry-instrumentation-django>=0.60b0; |
| xtr | pytest-bdd>=8.1.0; |
| xtr | zstandard>=0.23.0; |
| mplementation_nam | gevent>=25.4.1; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl posthog-7.9.9:
pip install posthog.whl
نصب پکیج tar.gz posthog-7.9.9:
pip install posthog.tar.gz