Skip to main content

PostHog Python

posthoglogo

pypi installs GitHub contributors GitHub commit activity GitHub closed issues

Please see the main PostHog 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
8.0.0+ 3.10, 3.11, 3.12, 3.13, 3.14 Capture v1 only
7.3.1 - 7.x.x 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.x 3.9, 3.10, 3.11, 3.12, 3.13 Python 3.9+ required

To upgrade from posthog-python 7.x.x to 8.0.0, see the migration guide.

Documentation

Contributing

See CONTRIBUTING.md for local setup and test instructions.

Releasing

See RELEASING.md.

Metadata

Release files for posthog 8.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for posthog 8.9.0
File Size Uploaded Provenance Actions
posthog-8.9.0.tar.gz 568.7 kB With provenance Details for posthog-8.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for posthog 8.9.0
File Interpreter ABI Platform Actions
posthog-8.9.0-py3-none-any.whl Python 3 none any Details for posthog-8.9.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / posthog-8.9.0.tar.gz

Download URL posthog-8.9.0.tar.gz
Size 568.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c1a9582a1e8b7605464d3b3d16aed1d8d6570fc12c6e204768d4dd6552f4497c
BLAKE2b-256 checksum
How to use checksums
9a4a4704b374fee70f8e51d852ceac6cdeb4659100f2159440c9f164757b0c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / posthog-8.9.0-py3-none-any.whl

Download URL posthog-8.9.0-py3-none-any.whl
Size 650.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ceb8549e730e6c8355a21a45d688c982a71d17cfacd8716abb8d17f01ad62f5
BLAKE2b-256 checksum
How to use checksums
0b6b30cc7c3306652baed10e42b46eeee4c5cac922a9ccf9160ec0ae05902f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for posthog 8.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for posthog-8.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

8.9.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page