posthog


توضیحات

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