Official Python client for LedgerBill API
Project description
███╗ ██╗ ██████╗ ██╗██████╗ ███████╗████████╗ █████╗ ██████╗██╗ ██╗
████╗ ██║██╔═══██╗██║██╔══██╗ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
██╔██╗ ██║██║ ██║██║██████╔╝ ███████╗ ██║ ███████║██║ █████╔╝
██║╚██╗██║██║ ██║██║██╔══██╗ ╚════██║ ██║ ██╔══██║██║ ██╔═██╗
██║ ╚████║╚██████╔╝██║██║ ██║ ███████║ ██║ ██║ ██║╚██████╗██║ ██╗
╚═╝ ╚═══╝ ╚═════╝ ╚═╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
LedgerBill SDK | Python | BSL 1.1 | © Noir Stack LLC
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 & Discussion
- Issues: https://github.com/no1rstack/ledgerbill-sdk/issues
- Discussions: https://github.com/no1rstack/ledgerbill-sdk/discussions
- Wiki: https://github.com/no1rstack/ledgerbill-sdk/wiki
License
This project is licensed under the Business Source License 1.1 (BSL).
- Change Date: 2030-06-14 (4 years from initial release)
- Change License: Apache License 2.0
- Commercial Use: Restricted until Change Date
- After Change Date: Automatically converts to Apache 2.0
For more details, see LICENSE.
© 2026 Noir Stack LLC. All rights reserved.
For alternative licensing arrangements, contact: legal@noirstack.com
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
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.9.tar.gz.
File metadata
- Download URL: ledgerbill_sdk-0.1.9.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a789bbfb33284d40426a8931a59759833e16acc67ecf08b04779ab6d45a6148
|
|
| MD5 |
9ba888adbfd827b1826fc3f647290993
|
|
| BLAKE2b-256 |
81bbc7b344c4d8cb08073a02e86a7edbdb367830f3f8de35b757bb78f8edc129
|
File details
Details for the file ledgerbill_sdk-0.1.9-py3-none-any.whl.
File metadata
- Download URL: ledgerbill_sdk-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40668c3c8c90272f611da1996bab893ea7d0aab3c181fd4ff012e723e53d71fb
|
|
| MD5 |
289e4e98cf3f7df3186a6e9f50507c2a
|
|
| BLAKE2b-256 |
f1d4d543a80c5dc14d0547b069b3d356925155020cf1e879bdef2b1718e72698
|