chargebee
Python wrapper for the Chargebee Subscription Billing API
Decision gist · record as of 2026-08-14
Yes. The library is actively maintained, has low install friction, requires only httpx as a dependency, and is the official client for Chargebee's API. It supports modern Python (3.11+) and offers both sync and async patterns. No known vulnerabilities. License treatment is unclear, so verify licensing terms with your legal team before use in commercial projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; API key and site name from Chargebee account required to initialize client.
- Low install friction with a single runtime dependency (httpx).
- Actively maintained with a release 15 days ago.
License · maintenance · safety
(unclear)
last release 2026-07-30 (15 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,065,312 downloads/mo, #4,416 on PyPI
Alternatives
Verify before relying
pip install chargebee
from chargebee import Chargebee
cb_client = Chargebee(api_key="your_api_key", site="your_site")
response = cb_client.Customer.create(
cb_client.Customer.CreateParams(first_name="John", email="john@test.com")
)
print(response.customer)- Whether the library's async support is production-ready or still experimental beyond version 3.9.0
- Scope and stability of custom field support across different Chargebee account configurations
- Rate limiting behavior and retry defaults when retry logic is disabled
What it is and what it does
Chargebee is the official Python client for Chargebee's subscription billing platform. It wraps the Chargebee REST API, allowing developers to manage customers, subscriptions, invoices, and other billing entities directly from Python code. The library supports both synchronous and asynchronous HTTP operations via httpx, with configurable timeouts, retry logic, and idempotency keys for safe request retries.
The SDK provides typed request and response objects, resource-specific and global enums, custom field support, and filtering for list operations. It includes built-in retry handling for transient errors (5xx status codes) with exponential backoff, rate-limit awareness via Retry-After headers, and methods to wait for long-running operations like exports and time-travel requests to complete.
Use it for
- Build a SaaS platform that manages customer subscriptions, billing cycles, and payment methods through Chargebee.
- Automate customer creation, plan changes, and invoice management in a subscription-based business.
- Integrate Chargebee billing data into internal dashboards or reporting systems via async API calls.
- Handle idempotent payment operations safely by using idempotency keys to prevent duplicate charges.
- Export large customer or transaction datasets and wait for completion before processing results.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is actively maintained, has low install friction, requires only httpx as a dependency, and is the official client for Chargebee's API. It supports modern Python (3.11+) and offers both sync and async patterns. No known vulnerabilities. License treatment is unclear, so verify licensing terms with your legal team before use in commercial projects.
Install
chargebee on PyPI
Before you install
Low install friction with a single runtime dependency (httpx). Actively maintained with a release 15 days ago. Requires Python 3.11 or later.
Requires Python 3.11 or later; API key and site name from Chargebee account required to initialize client.
Quickstart
pip install chargebee
from chargebee import Chargebee
cb_client = Chargebee(api_key="your_api_key", site="your_site")
response = cb_client.Customer.create(
cb_client.Customer.CreateParams(first_name="John", email="john@test.com")
)
print(response.customer)
Verify before relying
- Whether the library's async support is production-ready or still experimental beyond version 3.9.0
- Scope and stability of custom field support across different Chargebee account configurations
- Rate limiting behavior and retry defaults when retry logic is disabled
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagehttpx |
| Maintenance | Actively maintained 15 days since the last release |
| First released | |
| Downloads | 1,065,312 / month, #4,416 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: chargebee-3.27.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “chargebee api client”
- chargebeeOfficial Python client library for integrating with the Chargebee…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also beanstream · orb-billing · mixpanel · recurly · minfraud · stripe · looker-sdk · taxjar · stigg-sidecar-sdk · razorpay