Altertable Python SDK
Official Python SDK for Altertable Product Analytics.
Installation
You can install the package via pip:
pip install altertable
Or using poetry:
poetry add altertable
Usage
Initialization
from altertable import Altertable
client = Altertable("your_api_key")
Tracking Events
client.track(
event="button_clicked",
distinct_id="user_123",
options={
"properties": {
"button_id": "signup_btn",
"page": "home"
}
}
)
Identifying Users
client.identify(
distinct_id="user_123",
options={
"traits": {
"email": "user@example.com",
"name": "John Doe"
},
"anonymous_id": "previous_anon_id"
}
)
Alias
client.alias(
distinct_id="previous_anonymous_id",
new_user_id="new_user_id"
)
License
The package is available as open source under the terms of the MIT License.
Metadata
Release files for altertable 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| altertable-0.2.0.tar.gz | 3.0 kB | With provenance | Details for altertable-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| altertable-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for altertable-0.2.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / altertable-0.2.0.tar.gz
| Download URL | altertable-0.2.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6c52ee195152ae8a5355599eef9cdf5381260abdc3854e3fc87232579340943
|
|
BLAKE2b-256 checksum How to use checksums |
f0fd3ea7f6839c09609d00d1e09f90d8154cfe3c8c05c1c7b75c202df6522aa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 9, 2026.
Transparency logRelease files / altertable-0.2.0-py3-none-any.whl
| Download URL | altertable-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff6a8d2ce662f5994f8c4120635a3b20787d43973af95345d9a27f0df06b1234
|
|
BLAKE2b-256 checksum How to use checksums |
504e5ab9a6897f97d21f671c5174a429000c8df753235f2fe30a093b440cf05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 9, 2026.
Transparency logSecurity for altertable 0.2.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for altertable-0.2.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 Mar 9, 2026.
Transparency logA 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.