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.3.tar.gz
(2.5 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.3.tar.gz.
File metadata
- Download URL: ledgerbill_sdk-0.1.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24d94b4cda5c19bc4775d5a180b5c9a1169e5777767faa9c8292d5bbae1d3aea
|
|
| MD5 |
8b59dfe9364c4e2d910c62ccf3c43ecb
|
|
| BLAKE2b-256 |
de0e0d2481063f32c4401d3d946dc9897b494fb8ba638b6c3a9fa09c49b19277
|
File details
Details for the file ledgerbill_sdk-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ledgerbill_sdk-0.1.3-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 |
3553ac59941a50cf8173a45eadd1df86c58ae2d6c1ada5d286180c0fc77bd40b
|
|
| MD5 |
0e8293f1e1b4fe48d122896827f03657
|
|
| BLAKE2b-256 |
8f88044ac67ef08015f9ee60bbf2d02e6cadca0a7d9bff91e21802d228536b3f
|