Skip to main content

cairn-client

The typed Python client for the cairn control-plane API (#1194, ADR-0085 D7).

Every method maps 1:1 onto a route in the committed contract (console/openapi.json) — a test fails if the client and the spec drift. It imports nothing from cairn.core (CI-enforced): this package is the boundary that lets the CLI's user commands (#1195) and the ask agent (#1196) work against a cairn deployment without engine internals.

from cairn_client import CairnClient

c = CairnClient("http://localhost:8000")
c.login("dev", "dev")                       # cairn dev's seeded login
c.healthz()
c.launch_pipeline("training/e2e-finetune", {"dataset": "…"})
c.advance_step(pid, "promote-model", approver="me")

Auth: pass token= directly, call login(), or neither (an auth-disabled dev engine accepts bare requests). The generic request() door covers any route a typed method doesn't wrap yet.

Metadata

Release files for cairn-client 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cairn-client 0.4.0
File Size Uploaded Provenance Actions
cairn_client-0.4.0.tar.gz 13.4 kB Without provenance Details for cairn_client-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cairn-client 0.4.0
File Interpreter ABI Platform Actions
cairn_client-0.4.0-py3-none-any.whl Python 3 none any Details for cairn_client-0.4.0-py3-none-any.whl

Total release size: 26.8 kB

Release files / cairn_client-0.4.0.tar.gz

Download URL cairn_client-0.4.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ac01a6a19febf3486b88f150f942c3f42afb49c208f83b179aa84d23fcfd1c5b
BLAKE2b-256 checksum
How to use checksums
4e78784443ecab4a684fed8d343e353ad988aaa6ea948101784b9f6d3c39ca2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cairn_client-0.4.0-py3-none-any.whl

Download URL cairn_client-0.4.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7818710b083cb8020f788a6946591df1ddd59d257d10f86aaeb85c74cef1c9c0
BLAKE2b-256 checksum
How to use checksums
49ebc71a5d37e8f795efabc85f67c5ce7ae71b064afadfec08ec55f53cd00a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cairn-client 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page