customerio
Customer.io Python bindings.
What it is and what it does
The customerio package is an official Python client for Customer.io, a customer data and engagement platform. It wraps Customer.io's REST API, letting you programmatically manage customer profiles, track behavioral events, and send transactional messages from within your Python application.
The library handles authentication via site ID and API key, supports US and EU region selection, and provides methods for core operations: identifying or updating customer profiles with custom attributes, tracking events with optional timestamps and deduplication IDs, backfilling historical events, managing devices, suppressing customers, and sending transactional emails. It depends only on requests and urllib3 for HTTP communication.
Use it for:
- Track user behavior events (purchases, sign-ups, feature usage) in real-time to feed Customer.io campaigns and journeys
- Identify and update customer profiles with custom attributes when users sign up or update their account information
- Send transactional emails (password resets, order confirmations) through Customer.io's Transactional API
- Backfill historical events for data migration or retroactive campaign targeting
- Manage customer suppression lists to honor opt-outs and privacy requests programmatically
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for the Customer.io API, enabling you to identify customers, track events, manage customer profiles, and send transactional messages programmatically.
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and is production-stable. Install it if you need to integrate Customer.io into a Python application for customer tracking, profile management, or transactional messaging.
Install
customerio on PyPI
pip
pip install customeriouv
uv add customeriopoetry
poetry add customerioInstalling customerio
Before you install
Low install friction with only two runtime dependencies (requests and urllib3). The package is actively maintained with a recent release and supports current Python versions (3.10 through 3.14).
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install customerio
from customerio import CustomerIO, Regions
cio = CustomerIO(site_id="your_site_id", api_key="your_api_key", region=Regions.US)
cio.identify(id="5", email="customer@example.com", name="Bob")
cio.track(customer_id="5", name="purchased", data={"price": 23.45})
Requires Python 3.10 or later; you must obtain a Customer.io site ID and API key from your account settings.
Verify before relying
- Whether the package handles automatic retries or rate-limiting for API calls
- Performance characteristics when tracking high-volume events
- Whether webhook or callback support is available for asynchronous operations
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, urllib3 |
| Maintenance | actively maintained — 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 845,120/month — #4,920 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: customerio-3.2.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
customerio-cdp-analyticsSends event and user data to Customer.io's Data…
permissive · top 15,000 on PyPI
delightedPython client for the Delighted API that…
permissive · top 15,000 on PyPI
stigg-sidecar-sdkPython SDK for interacting with Stigg Sidecar,…
unclear · top 15,000 on PyPI
WooCommerceA Python wrapper for the WooCommerce REST API…
permissive · top 15,000 on PyPI
klaviyoA deprecated client library for integrating…
permissive · top 15,000 on PyPI
segment-analytics-pythonA Python client for sending analytics events to…
permissive · top 5,000 on PyPI
openmeterOpenMeter Python SDK provides a client library…
permissive · top 15,000 on PyPI
pycdcSearches the web for gift ideas and client…
permissive · top 15,000 on PyPI
onesignal-python-apiA Python client library for the OneSignal API…
unclear · top 15,000 on PyPI
mailchimp-transactionalA Python client library for the Mailchimp…
unclear · top 15,000 on PyPI