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.1.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.1.tar.gz.
File metadata
- Download URL: ledgerbill_sdk-0.1.1.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 |
b123e9c48614968aa8c19a34b99ed9ed3922ff96ddd5f3bbd70782723ce5d35f
|
|
| MD5 |
a8be877e6d04d994e14b49d81a97807f
|
|
| BLAKE2b-256 |
280313e4807da912e27cfeef40475c94d5cb1d6dabd07760cce320c18eb6ea38
|
File details
Details for the file ledgerbill_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ledgerbill_sdk-0.1.1-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 |
8e6b7a2e3b932ef55e0b02807a3edd6f831029c2d07d95a8954944cbe869eac8
|
|
| MD5 |
9fb0af95f10383ced684b0dc3fe7f7de
|
|
| BLAKE2b-256 |
ebf16a1241b38e0326c821047445cff65b14423c22b237de30537f80fcff1be7
|