Official Python client for LedgerBill API
Project description
ledgerbill-sdk
Official Python SDK scaffold for LedgerBill.
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,
)
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.0.tar.gz
(2.1 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.0.tar.gz.
File metadata
- Download URL: ledgerbill_sdk-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ffcd82eea58a06b2ae6474d1aa0c8dd99140bc29d085c99ec34642db0efbedf
|
|
| MD5 |
e84331f2db9c1d5162088e92404eea27
|
|
| BLAKE2b-256 |
830a7e407b332ff5fe1051d5ad7f426d434f7f36fcc8d26a60093e01c6af95ad
|
File details
Details for the file ledgerbill_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ledgerbill_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 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 |
b2260a5875a738c319e18dcedbdfea5648202e26a861c2a04e49089139fcecb4
|
|
| MD5 |
0bad3a2fc341f953a360c963e20ea65a
|
|
| BLAKE2b-256 |
05ab2d7c653d8c78029b4d7957a53b94cac2561e778d5a0ca524ec055cbca7fd
|