orb-billing
The official Python library for the orb API
What it is and what it does
orb-billing is the official Python client for the Orb billing platform API. It wraps Orb's REST endpoints with type-safe request and response objects, offering both synchronous and asynchronous clients powered by httpx. The library includes full type hints for IDE autocomplete, Pydantic models for responses with serialization helpers, and built-in pagination support for list operations.
Developers use it to integrate Orb's subscription billing, metering, and invoicing into Python applications. The library handles authentication via API keys, automatic retries on transient failures, webhook signature verification, and detailed error types for different HTTP status codes. It supports modern Python versions (3.9 through 3.14) and runs on all major operating systems.
Use it for:
- Create and manage customer accounts and billing addresses in Orb from a Python backend.
- Fetch paginated lists of coupons, subscriptions, or invoices with automatic page handling.
- Handle incoming Orb webhooks with built-in signature verification to ensure authenticity.
- Build async billing workflows using the AsyncOrb client with optional aiohttp backend for concurrency.
- Catch and handle specific API errors (rate limits, auth failures, validation errors) with typed exception classes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for the Orb billing REST API, providing typed request and response objects with both synchronous and asynchronous interfaces.
Yes. The library is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building a Python application that integrates with Orb's billing platform and want type-safe, well-documented API access.
Install
orb-billing on PyPI
pip
pip install orb-billinguv
uv add orb-billingpoetry
poetry add orb-billingInstalling orb-billing
Before you install
Low install friction with a pure-Python wheel and six common runtime dependencies. Actively maintained with a release within the past week and recent commits.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install orb-billing
import os
from orb import Orb
client = Orb(api_key=os.environ.get("ORB_API_KEY"))
customer = client.customers.create(
email="example@withorb.com",
name="My Customer"
)
print(customer.id)
Requires Python 3.9 or later; API key must be provided via environment variable or constructor argument.
Verify before relying
- Whether the library's auto-retry behavior (2 times by default) is configurable for production use cases.
- Performance characteristics and latency overhead of the typed Pydantic response layer under high throughput.
- Whether webhook verification helpers work with all common Python web frameworks beyond FastAPI.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — anyio, distro, httpx, pydantic, sniffio, typing-extensions |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 874,424/month — #4,835 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: orb_billing-4.68.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
opencode-aiProvides a Python client library for the…
permissive · top 15,000 on PyPI
agentex-clientProvides a typed Python REST client for the…
permissive · top 15,000 on PyPI
arcadepyProvides a typed Python client library for the…
permissive · top 15,000 on PyPI
chargebeeOfficial Python client library for integrating…
unclear · top 5,000 on PyPI
supermemoryProvides a Python client library for the…
permissive · top 15,000 on PyPI
rwslibrwslib provides a Python client library for…
permissive · top 15,000 on PyPI
composio-clientA Python client library for the Composio REST…
permissive · top 5,000 on PyPI
lithicProvides a typed Python client for the Lithic…
permissive · top 15,000 on PyPI
modern-treasuryProvides a typed Python client library for the…
permissive · top 15,000 on PyPI
cloudflareProvides a Python client library for the…
permissive · top 5,000 on PyPI