Skip to main content

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

customerio_cdp_analytics-1.0.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2Python 3

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

Hashes for customerio_cdp_analytics-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0f2bb7da459c8351e9aab5c8224a0c487cb877871e54254663161f9020e4997d
MD5 3f0a3476275e013bf651434d39d924c5
BLAKE2b-256 645f1b2ecec865b22cb0b0242ba394402bf23ba39cbf6f42e61a229e0fb85e1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for customerio_cdp_analytics-1.0.1.tar.gz:

Publisher: publish.yml on customerio/cdp-analytics-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for customerio_cdp_analytics-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 66b11a9c9dcf227a7c6f862d9ebd0d17428e1fad029a9733d6311c75af148fe5
MD5 75201d4854317432f891e68bfb77b892
BLAKE2b-256 e965a6fe30fc3d30f1f7d67e3fbd6e51bdfa3001e3bec6d03dcea2db7cbd7f7d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page