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

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.3.2
File Size Uploaded Provenance Actions
cairn_client-0.3.2.tar.gz 13.2 kB Without provenance Details for cairn_client-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 26.5 kB

Release files / cairn_client-0.3.2.tar.gz

Download URL cairn_client-0.3.2.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b7c12151ee49937a9851c2ee03ed6593ace9d18d16ac84feb5efec2b8266e932
BLAKE2b-256 checksum
How to use checksums
7301b74cf5ce90d71f8ccf8c68b8ea255b8eaf31a19e9fb386cbe4f9e9ee89f1
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.3.2-py3-none-any.whl

Download URL cairn_client-0.3.2-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf8553cf8d957f1ab97238f0000a2cc937717e3d02d45790b0808249329289f9
BLAKE2b-256 checksum
How to use checksums
ba1d3bc2b743a94bc94cd6c31ffcc58677a7f967ac10837b7aee504479d5f8bd
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.3.2

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