platform-api-client
A standalone Python client for the FinOS Platform API (import name
finos.platform_api_client, distribution finos-platform-api-client). Extracted
from finos-automation-sdk (FINOS-246) so the SDK — and any other consumer — can
call the Platform API without pulling the whole automation SDK. Mirrors
finos-ledger-api-client in shape.
from finos.platform_api_client import PlatformApiClient
async with PlatformApiClient(base_url, jwt) as client:
users = await client.api.users.list_users()
one = await client.api.users.get_user(user_id="usr_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.platform_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-platform-api-client 0.6.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_platform_api_client-0.6.0.tar.gz | 94.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finos_platform_api_client-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 329.9 kB
Release files / finos_platform_api_client-0.6.0.tar.gz
| Download URL | finos_platform_api_client-0.6.0.tar.gz |
|---|---|
| Size | 94.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b12112ded3f50d20434ae8e1be50dcc19fd83f48f401ad553c0313104b2d011e
|
|
BLAKE2b-256 checksum How to use checksums |
9eeb428e7cca065f8cb13dbc4b2e5797916d861a4758865326602affdb76a4fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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_platform_api_client-0.6.0-py3-none-any.whl
| Download URL | finos_platform_api_client-0.6.0-py3-none-any.whl |
|---|---|
| Size | 235.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a88c61b858d40e8553e726879338bb6a701e1f2cf05a47880fcadb98d63010e
|
|
BLAKE2b-256 checksum How to use checksums |
48e5014c016fc2c8459f37788f12d706d09564206fff8a041942376bf0974c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|