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.1

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.1
File Size Uploaded Provenance Actions
cairn_client-0.4.1.tar.gz 13.4 kB Without provenance Details for cairn_client-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 26.8 kB

Release files / cairn_client-0.4.1.tar.gz

Download URL cairn_client-0.4.1.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
afaafe00df308aec49b23055159578e7f3c64a67d722fff7bf8a0b1e6fd2e60b
BLAKE2b-256 checksum
How to use checksums
bfaba16718d7abab3d597a21b827a03c63685e22d76c64b2d3ddf98099fcdf24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.1-py3-none-any.whl

Download URL cairn_client-0.4.1-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
394dbf18121abbcd9eb850677161d030e77d7a74fd64b64daed688c8f95cc9f5
BLAKE2b-256 checksum
How to use checksums
c2d88c8ef85f78f2ec7cd13ea5b41c3348a675886212bac4cb5e21be5c245638
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.1

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