customerio-cdp-analytics
Customer.io Data Pipelines (CDP) Python bindings.
What it is and what it does
This is a Python client library for Customer.io's Data Pipelines platform, designed to send event tracking and user data from your application to Customer.io for analytics and customer engagement workflows. It wraps HTTP requests to Customer.io's CDP endpoints, handling authentication via a write key and supporting configuration of alternate data centers (e.g., EU regions). The library depends on requests for HTTP transport, backoff for retry logic, monotonic for timing, and python-dateutil for date handling.
You initialize it with a write key, then call methods like track() to log user events. The library is actively maintained, supports Python 3.9 through 3.14, and carries no known security vulnerabilities. It's a thin integration layer rather than a full analytics platform—its role is to reliably forward events to Customer.io's backend.
Use it for:
- Log user actions (purchases, sign-ups, feature usage) to Customer.io for segmentation and campaign targeting.
- Integrate event tracking into a Python web application or backend service.
- Send user profile updates to Customer.io for real-time personalization.
- Route events to Customer.io's EU data center when compliance requires regional data residency.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Sends event and user data to Customer.io's Data Pipelines platform for analytics and customer engagement tracking.
Yes, if you are already using Customer.io and need a Python client to send events to their platform. The package is actively maintained, has low install friction, carries an MIT license, and supports current Python versions. No known vulnerabilities. Install it as part of your Customer.io integration; do not install it if you are not using Customer.io's CDP.
Install
customerio-cdp-analytics on PyPI
pip
pip install customerio-cdp-analyticsuv
uv add customerio-cdp-analyticspoetry
poetry add customerio-cdp-analyticsInstalling customerio-cdp-analytics
Before you install
Low friction installation with four lightweight runtime dependencies. Active maintenance as of June 2026, with recent release activity.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install customerio-cdp-analytics
from customerio import analytics
analytics.write_key = 'YOUR_WRITE_KEY'
analytics.track(user_id=4, event='order_complete')
Requires a valid Customer.io write key and network connectivity to Customer.io's CDP endpoint.
Verify before relying
- Whether the package handles offline queueing or requires synchronous network calls.
- Rate limiting and retry behavior beyond what backoff dependency provides.
- Support for batch operations or only single-event tracking.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — requests, monotonic, backoff, python-dateutil |
| Maintenance | actively maintained — 45 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 112,695/month — #12,360 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: customerio_cdp_analytics-1.0.2-py2.py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
customerioPython client library for the Customer.io API,…
permissive · top 5,000 on PyPI
segment-analytics-pythonA Python client for sending analytics events to…
permissive · top 5,000 on PyPI
apache-airflow-providers-segmentIntegrates Apache Airflow with Segment for…
permissive · top 15,000 on PyPI
cdp-sdkPython client library for the Coinbase…
permissive · top 15,000 on PyPI
salesforce-cdp-connectorConnects Python to Salesforce Data Cloud to…
permissive · top 15,000 on PyPI
posthoganalyticsSends event data and user properties to PostHog…
permissive · top 5,000 on PyPI
analytics-pythonA Python client library that sends analytics…
permissive · top 5,000 on PyPI
onesignal-python-apiA Python client library for the OneSignal API…
unclear · top 15,000 on PyPI
universal-analytics-python3Sends event and pageview data to Google…
permissive · top 15,000 on PyPI
matrice-analyticsProvides post-processing and analytics for…
unclear · top 5,000 on PyPI