Customer.io Data Pipelines (CDP) Python bindings.
Project description
Customer.io Data Pipelines analytics client for Python.
Installation
Using pip:
pip3 install customerio-cdp-analytics
or you can install directly from this repo:
pip3 install git+http://github.com/customerio/cdp-analytics-python
Usage
from customerio import analytics
analytics.write_key = 'YOUR_WRITE_KEY'
analytics.track(user_id=4, event='order_complete')
Other Regions
If you're using a different data center such as our EU region, you can specify an alternate endpoint:
from customerio import analytics
analytics.write_key = 'YOUR_WRITE_KEY'
analytics.host = 'https://cdp-eu.customer.io'
analytics.track(user_id=4, event='order_complete')
Documentation
The links below contain more detailed documentation on how to use this library:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file customerio_cdp_analytics-1.0.1.tar.gz.
File metadata
- Download URL: customerio_cdp_analytics-1.0.1.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f2bb7da459c8351e9aab5c8224a0c487cb877871e54254663161f9020e4997d
|
|
| MD5 |
3f0a3476275e013bf651434d39d924c5
|
|
| BLAKE2b-256 |
645f1b2ecec865b22cb0b0242ba394402bf23ba39cbf6f42e61a229e0fb85e1c
|
Provenance
The following attestation bundles were made for customerio_cdp_analytics-1.0.1.tar.gz:
Publisher:
publish.yml on customerio/cdp-analytics-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
customerio_cdp_analytics-1.0.1.tar.gz -
Subject digest:
0f2bb7da459c8351e9aab5c8224a0c487cb877871e54254663161f9020e4997d - Sigstore transparency entry: 1968584774
- Sigstore integration time:
-
Permalink:
customerio/cdp-analytics-python@e84a8e6478049c66b12db63d8dd36b3ce9a25559 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/customerio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e84a8e6478049c66b12db63d8dd36b3ce9a25559 -
Trigger Event:
release
-
Statement type:
File details
Details for the file customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66b11a9c9dcf227a7c6f862d9ebd0d17428e1fad029a9733d6311c75af148fe5
|
|
| MD5 |
75201d4854317432f891e68bfb77b892
|
|
| BLAKE2b-256 |
e965a6fe30fc3d30f1f7d67e3fbd6e51bdfa3001e3bec6d03dcea2db7cbd7f7d
|
Provenance
The following attestation bundles were made for customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl:
Publisher:
publish.yml on customerio/cdp-analytics-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl -
Subject digest:
66b11a9c9dcf227a7c6f862d9ebd0d17428e1fad029a9733d6311c75af148fe5 - Sigstore transparency entry: 1968584843
- Sigstore integration time:
-
Permalink:
customerio/cdp-analytics-python@e84a8e6478049c66b12db63d8dd36b3ce9a25559 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/customerio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e84a8e6478049c66b12db63d8dd36b3ce9a25559 -
Trigger Event:
release
-
Statement type: