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.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_platform_api_client-0.9.0.tar.gz | 144.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finos_platform_api_client-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 527.8 kB
Release files / finos_platform_api_client-0.9.0.tar.gz
| Download URL | finos_platform_api_client-0.9.0.tar.gz |
|---|---|
| Size | 144.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbfcbcb869297d6182378b7313ef3b1a3e6109fb8b10a37199fa73af777f5bc6
|
|
BLAKE2b-256 checksum How to use checksums |
082423e42bed092b2b133afeb82e6e1cf488e784c9c548e7a2fba5ab4b2cfe9f
|
| 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_platform_api_client-0.9.0-py3-none-any.whl
| Download URL | finos_platform_api_client-0.9.0-py3-none-any.whl |
|---|---|
| Size | 383.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ddeb0255c3af7936c208d30f54b5e28d1ae538efdb33c7c81f035290d940dae
|
|
BLAKE2b-256 checksum How to use checksums |
6217aca1473b24a1004b7d51873d880906c524d97291deea8ac207b973282c09
|
| 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}
|