posthoganalytics
Integrate PostHog into any python application.
Decision gist · record as of 2026-08-14
No. The package's own documentation explicitly states 'Do not use this package' and directs users to the primary package instead. It is a repository-internal mirror with no general-purpose value. Install the primary package unless you are contributing directly to the PostHog main repository.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with four lightweight runtime dependencies.
- Active maintenance with a release on 2026-08-14 and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 60 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,126,499 downloads/mo, #3,272 on PyPI
Alternatives
Verify before relying
pip install posthoganalytics
from posthoganalytics import Posthog
posthog = Posthog(api_key='your-key', host='https://app.posthog.com')
posthog.capture('user-id', 'event-name', {'property': 'value'})- Whether this package's API surface and behavior remain synchronized with the primary posthog package.
- Whether the automatic mirroring process introduces any latency or version skew between releases.
- What specific import conflicts the internal repository mirroring is designed to resolve.
What it is and what it does
posthoganalytics is an automatically generated mirror of the posthog SDK, published under a separate name to avoid import conflicts within the PostHog repository itself. It provides event capture and user property tracking functionality using requests, backoff, distro, and typing-extensions as its runtime dependencies.
The package is explicitly not intended for general use—the description states 'Do not use this package' and directs users to the primary posthog package instead. It exists solely to support internal development in the posthog/posthog repository. Unless you are actively contributing to PostHog's main codebase, you should use the primary package rather than this one.
Use it for
- Internal development in the PostHog main repository where a local posthog module creates import conflicts.
- Supporting PostHog's own test suite and internal CI/CD pipelines that require a separately named package.
- Avoiding namespace collisions when working on PostHog's codebase alongside the analytics SDK.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package's own documentation explicitly states 'Do not use this package' and directs users to the primary package instead. It is a repository-internal mirror with no general-purpose value. Install the primary package unless you are contributing directly to the PostHog main repository.
Install
posthoganalytics on PyPI
Before you install
Low install friction with four lightweight runtime dependencies. Active maintenance with a release on 2026-08-14 and no known vulnerabilities.
Requires Python 3.10 or later.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions.
Quickstart
pip install posthoganalytics
from posthoganalytics import Posthog
posthog = Posthog(api_key='your-key', host='https://app.posthog.com')
posthog.capture('user-id', 'event-name', {'property': 'value'})
Verify before relying
- Whether this package's API surface and behavior remain synchronized with the primary posthog package.
- Whether the automatic mirroring process introduces any latency or version skew between releases.
- What specific import conflicts the internal repository mirroring is designed to resolve.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesrequestsbackoffdistrotyping-extensions |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,126,499 / month, #3,272 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: posthoganalytics-7.39.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “posthog integration”
- posthoganalyticsSends event data and user properties to PostHog for product…
- posthogPostHog Python SDK integrates product analytics and feature flagging…
- hogql-parser-rsParses HogQL query expressions into JSON AST format via a hand-rolled…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also kanaries-track · posthog · scarf-sdk · analytics-python · amplitude-analytics · snowplow-tracker · openvino-telemetry · customerio-cdp-analytics · kedro-telemetry · minimal-snowplow-tracker