Official Python client for LedgerBill API
Project description
ledgerbill-sdk
Official Python SDK scaffold for LedgerBill.
The SDK aligns to the canonical OpenAPI source (src/openapi.ts) served at /api/openapi.json.
Package listings
- npm: https://www.npmjs.com/package/@noirstack/ledgerbill-sdk
- PyPI: https://pypi.org/project/ledgerbill-sdk/
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=LedgerBill.ledgerbill
- Website: https://ledgerbill.app
Install (local)
pip install -e sdk/python
Usage
from ledgerbill_sdk import LedgerBillClient
client = LedgerBillClient(
base_url="http://localhost:3107",
tenant_id="tenant_123",
api_key="lb_your_api_key"
)
plans = client.get_pricing_plans()
preview = client.preview_usage(
customer_id="cus_123",
feature_key="events_processed",
amount=1000,
)
Contract governance
The public API taxonomy expected in /api/openapi.json is:
Tenant AdministrationBilling OperationsDeveloper APIsStripe IntegrationPolicy AdministrationAudit & GovernanceReplay Operations
Support
- Issues and support: https://noirstack.com/support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ledgerbill_sdk-0.1.4.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ledgerbill_sdk-0.1.4.tar.gz.
File metadata
- Download URL: ledgerbill_sdk-0.1.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
910790f27a29d64ba64d2692af9454228f1a4bc47615b0669035e2a53e412057
|
|
| MD5 |
80ceeed885615a9604ba9423296a43c0
|
|
| BLAKE2b-256 |
8f8009b575d2f18cb00b0e5e3b0db11a3fee24b306b23704a38f4fc8ad19197c
|
File details
Details for the file ledgerbill_sdk-0.1.4-py3-none-any.whl.
File metadata
- Download URL: ledgerbill_sdk-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4c4272cca1723761b5cb570e24a36da1deb3ca2420ad58f2bcf40b9af66cb20
|
|
| MD5 |
83d99db44300eb2ff7494e6510e3d9f7
|
|
| BLAKE2b-256 |
c67a0f685098fe897e3775ee3e8610cb3159a490fc7f6704440cd46508889930
|