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.2.tar.gz (23.5 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.2-py2.py3-none-any.whl (18.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file customerio_cdp_analytics-1.0.2.tar.gz.

File metadata

  • Download URL: customerio_cdp_analytics-1.0.2.tar.gz
  • Upload date:
  • Size: 23.5 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.2.tar.gz
Algorithm Hash digest
SHA256 ec6c022374abe12d067b3ede92cc28f4c21828f23aa181dfef4c3d5e92f62895
MD5 7466dfc58fa1e6d2364814271b5f142a
BLAKE2b-256 ac7e42aa2de1e4234ad11a356b0397948950f0ac1959bf942498644910940198

See more details on using hashes here.

Provenance

The following attestation bundles were made for customerio_cdp_analytics-1.0.2.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.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for customerio_cdp_analytics-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 12e2ff95fa73761f09e375ae3a2b27106e863b0bf0c156552e3f5306be5b5a29
MD5 4f8a9289eb0b464c4288bfef12a33edb
BLAKE2b-256 638331736a83d6e0ef9ae2e47c767c370a1fee4045261c994394462612ea95db

See more details on using hashes here.

Provenance

The following attestation bundles were made for customerio_cdp_analytics-1.0.2-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