ledger-api-client
A standalone Python client for the FinOS Ledger API (import name
finos.ledger_api_client). Extracted from finos-automation-sdk (Spec 037 /
FINOS-246) so both the SDK and apps/platform-api can call the Ledger API without
pulling the whole automation SDK.
from finos.ledger_api_client import LedgerApiClient
async with LedgerApiClient(base_url, jwt) as client:
ledgers = await client.api.ledgers.list_ledgers()
one = await client.api.ledgers.get_ledger(ledger_id="led_1")
client.api.<tag>.<op>(...)— operations are reflected by tag from the OpenAPI-generated client under_generated/, so nothing is hand-written and nothing needs re-writing when the client is regenerated.- Each call returns the parsed 2xx body or raises a typed error
(
finos.ledger_api_client.errors): 401→AuthenticationError, 403→AuthorizationError, 404→NotFoundError, 409→ConflictError, 422→ValidationError, 5xx/other→ServerError. - Both
base_urlandjwtare always required (no env fallback). The client never mints and never talks to an auth provider.
Standalone by design: depends only on httpx + attrs + python-dateutil —
no finos.shared, no fastapi — so finos-automation-sdk stays
pip-installable on Windmill.
See AGENTS.md for the full package guide and regeneration steps.
Metadata
Release files for finos-ledger-api-client 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| finos_ledger_api_client-0.9.0.tar.gz | 114.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finos_ledger_api_client-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 433.2 kB
Release files / finos_ledger_api_client-0.9.0.tar.gz
| Download URL | finos_ledger_api_client-0.9.0.tar.gz |
|---|---|
| Size | 114.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbe356a32f3aa2df2b693bc918a13df6b997f328093b54ade94bb98841701202
|
|
BLAKE2b-256 checksum How to use checksums |
d605131ec5d58383efecd74ed4563b6cd0db9bf735156631f5e99f8638d40ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / finos_ledger_api_client-0.9.0-py3-none-any.whl
| Download URL | finos_ledger_api_client-0.9.0-py3-none-any.whl |
|---|---|
| Size | 318.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
395ff3b95b49e6e73cd5867b49566d9f4c00c1bc796efdeba3ee96c40bbee9f7
|
|
BLAKE2b-256 checksum How to use checksums |
cdb483963350ab2deb07a31d393028a19769ab446d633a508262386f5a241aa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|