Skip to main content

Python client for the Ciaren visual data and ML workflow server

Project description

ciaren-client

ciaren-client is the lightweight Python SDK for Ciaren. It talks to the Ciaren REST API without installing the full application.

Status: alpha (pre-1.0), 0.1.0. Breaking changes are expected before 1.0.0.

Install

python -m pip install ciaren-client

For local development from this repository:

pip install -e path/to/Ciaren/client

Quick Start

from ciaren_client import Ciaren

with Ciaren("http://localhost:8055", webhook_secret="my-secret") as client:
    run = client.trigger("flow-id", parameters={"date": "2026-07-01"})
    print(run["status"])

Async usage is available through AsyncCiaren:

from ciaren_client import AsyncCiaren

async with AsyncCiaren("http://localhost:8055", webhook_secret="my-secret") as client:
    run = await client.trigger("flow-id")

What It Covers

The client includes typed sync and async methods for projects, datasets, flows, runs, schedules, connections (including OS-keychain secrets), catalog metadata, transformations, runtime app settings, ML helpers, plugins, marketplace endpoints, webhook triggers, and SSE run logs.

Use api_token when the server is configured with CIAREN_API_TOKEN. Use webhook_secret only for trigger(), which calls the webhook endpoint.

License: Apache-2.0.

See the SDK documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ciaren_client-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ciaren_client-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ciaren_client-0.1.0.tar.gz.

File metadata

  • Download URL: ciaren_client-0.1.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ciaren_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 392aee08fde3ada9f2bf0d3e44a9eeb03369e77feacba88350c4e9f2356b68b8
MD5 7bf12c1980e61ed30771598643dd76ba
BLAKE2b-256 c665ccd1191cfe255366de12e2a16a959badf38e28819688e5aead68b9d53785

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.1.0.tar.gz:

Publisher: package.yml on ciaren-labs/Ciaren

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ciaren_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ciaren_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ciaren_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22a25086c437db5b1956b1daec0c72ee5c48ea45b9ac90449eb2e62b994bd7fc
MD5 d409bdb0772740a4175a86841cce698d
BLAKE2b-256 0cd29c3eaa25f36490b6233ed28c1064270e50bbc0e84ac7b86a979c4f7e5b9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.1.0-py3-none-any.whl:

Publisher: package.yml on ciaren-labs/Ciaren

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page