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.10.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 | Provenance | Actions |
|---|---|---|---|---|
| finos_ledger_api_client-0.10.0.tar.gz | 117.0 kB | Without provenance | Details for finos_ledger_api_client-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finos_ledger_api_client-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for finos_ledger_api_client-0.10.0-py3-none-any.whl |
Total release size: 441.3 kB
Release files / finos_ledger_api_client-0.10.0.tar.gz
| Download URL | finos_ledger_api_client-0.10.0.tar.gz |
|---|---|
| Size | 117.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
924aa95e59d471c7d8bd44da314c4e2274c5671309361975fb43818c7a27c7e2
|
|
BLAKE2b-256 checksum How to use checksums |
4ff6323c0d902c277f783b2961ae6ef27340311feaf1e5fd8587daf456c39461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.10.0-py3-none-any.whl
| Download URL | finos_ledger_api_client-0.10.0-py3-none-any.whl |
|---|---|
| Size | 324.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8499ccdfa93748477694316891ed271f50e1ded7be3a1c72d99b9d2a80eb290
|
|
BLAKE2b-256 checksum How to use checksums |
c87a7c23ac20dfdf52a4ef0fa07adeeed5355c6c8cf0ae34347ab46e6c18a7b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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}
|
Security for finos-ledger-api-client 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.