Events SDK Python
Installation
Install events-sdk-python using pip:
python -m pip install events-sdk-python
Usage
By default, you do not need to manually instantiate the client. Simply set your key and start calling methods.
import hightouch.htevents as htevents
htevents.write_key = 'YOUR_WRITE_KEY'
htevents.identify('userId1', {
'email': 'bat@example.com',
'name': 'Person People',
})
htevents.track('userId1', 'Order Completed', {})
Note If you need to send data to multiple Hightouch sources, you can initialize one new Client per write_key.
from hightouch.htevents.client import Client
htevents.write_key = 'YOUR_WRITE_KEY'
other_htevents = Client('<OTHER_WRITE_KEY>')
htevents.identify('userId1', {
'email': 'bat@example.com',
'name': 'Person People',
})
other_htevents.identify('userId1', {
'email': 'bat@example.com',
'name': 'Person People',
})
htevents.track('userId1', 'Order Completed', {})
other_htevents.track('userId1', 'Order Completed', {})
Note Only instantiate Client class once per write key, per application.
from flask import Flask
from hightouch.htevents.client import Client
app = Flask(__name__)
// For example, in flask, instantiate the client outside of the request handlers
htevents = Client('<WRITE_KEY>')
@app.route('/')
def hello_world():
htevents.track('userId1', 'hello', {})
return 'Hello World'
Release files for events-sdk-python 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| events_sdk_python-0.0.4.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| events_sdk_python-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 46.5 kB
Release files / events_sdk_python-0.0.4.tar.gz
| Download URL | events_sdk_python-0.0.4.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7885baebf15a14654cf0e58069c64c53aba6d4ab8eaff2a658bba840642b1a07
|
|
BLAKE2b-256 checksum How to use checksums |
415ba140bd613540725a600c32b541c43669efc2b0bcf5c337177e32a0e93eee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 16, 2026.
Transparency logRelease files / events_sdk_python-0.0.4-py2.py3-none-any.whl
| Download URL | events_sdk_python-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6ee8aed52ff9c11dc3b89100d11ae4eb3362d231742283c8e6a849342ac383bf
|
|
BLAKE2b-256 checksum How to use checksums |
d254e0585630c43131efe0ece021fa099732180fed0f0c7cf3a56248d34ccd38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 16, 2026.
Transparency log