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.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.3.0
File Size Uploaded Provenance Actions
cairn_client-0.3.0.tar.gz 13.0 kB Without provenance Details for cairn_client-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 26.1 kB

Release files / cairn_client-0.3.0.tar.gz

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

Download URL cairn_client-0.3.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4f0e071dd422961f57226a87b8fce7c64368035ad49ac61ee8d0d9470705e1f
BLAKE2b-256 checksum
How to use checksums
56d029c3f0528732e4d76b3800a258f433bbe9023db3d3e1fd0cbd738fc4885e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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.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