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.8.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.8.0.tar.gz | 143.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| finos_platform_api_client-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 526.6 kB
Release files / finos_platform_api_client-0.8.0.tar.gz
| Download URL | finos_platform_api_client-0.8.0.tar.gz |
|---|---|
| Size | 143.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc8d1f419f9df0959cdc50d92ea00b0e0b71c4e086df06ba444b1f3d13773655
|
|
BLAKE2b-256 checksum How to use checksums |
c8316078516f55ee8f5106713a2621f1781497ef268cd686851fc4f34b57793e
|
| 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.8.0-py3-none-any.whl
| Download URL | finos_platform_api_client-0.8.0-py3-none-any.whl |
|---|---|
| Size | 383.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6740221b07fa189b44d04303b5ddeeb83d79ed6e272e1334fb6c3a9fe2282053
|
|
BLAKE2b-256 checksum How to use checksums |
83281f8a7b81952efc7fb12332d01966194775729a8a4013cc34d933824348c3
|
| 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}
|