Skip to main content

Python SDK for the Dominus Orchestrator Platform

Project description

Dominus SDK for Python

Async Python SDK for CareBridge Dominus services. It routes service calls to the Dominus Orchestrator and handles gateway-based JWT minting, base64 encoding, retries, and circuit breaking.

What This Is

  • Server-side, asyncio-first Python SDK (3.9+)
  • Namespace API plus ultra-flat root shortcuts for common operations
  • Defaults to production orchestrator + gateway endpoints (configurable)

Quick Start

import os
from dominus import dominus

os.environ["DOMINUS_TOKEN"] = "your-psk-token"

users = await dominus.db.query("users", filters={"status": "active"})
await dominus.redis.set("session:123", {"user": "john"}, ttl=3600)
file = await dominus.files.upload(data=buf, filename="report.pdf", category="reports")

Architecture (SDK View)

  • DOMINUS_TOKEN (PSK) -> Gateway /jwt/mint -> JWT cached in dominus_cache
  • JSON requests/responses are base64-encoded for auth-required routes
  • GET requests send no body; parameters are in path or POST body
  • Gateway routing is optional per-request; AI namespace always uses gateway

Namespaces

  • secrets, db, secure, redis, files, auth, ddl, logs, portal, courier, open, health
  • admin (reseed/reset admin category)
  • ai (agent-runtime: LLM, RAG, artifacts, results, orchestration, speech)
  • workflow (workflow-manager CRUD and execution)
  • oracle / stt (streaming speech-to-text sessions)

Configuration

Required:

  • DOMINUS_TOKEN

Optional:

  • DOMINUS_GATEWAY_URL (default production gateway)
  • DOMINUS_BASE_URL (default production orchestrator)
  • DOMINUS_HTTP_PROXY / DOMINUS_HTTPS_PROXY (httpx proxies)

Documentation

  • docs/architecture.md
  • docs/namespaces.md
  • docs/development.md

License

Proprietary - CareBridge Systems

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dominus_sdk_python-2.10.1.tar.gz (71.2 kB view details)

Uploaded Source

Built Distribution

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

dominus_sdk_python-2.10.1-py3-none-any.whl (84.2 kB view details)

Uploaded Python 3

File details

Details for the file dominus_sdk_python-2.10.1.tar.gz.

File metadata

  • Download URL: dominus_sdk_python-2.10.1.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dominus_sdk_python-2.10.1.tar.gz
Algorithm Hash digest
SHA256 10e61e09c8a0f37b2ec290c651f45fe9234e1c3b433054d431bd0e3a6e1962c1
MD5 2d856764cdd866a699566ee22e55a0ec
BLAKE2b-256 ec123929522280a593ab6315a84ffcde2055b327bcf937825762c0eb24007e85

See more details on using hashes here.

File details

Details for the file dominus_sdk_python-2.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dominus_sdk_python-2.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5f80f36dc73e7e04ae6ee74d7c6b951b71bce86e1384bae463c8b4945dd0920
MD5 c75e77067b4c28751b9ab08d661cc89a
BLAKE2b-256 5840877aeb9b20d50a0c34a1e2727f38e5e01fb4a650878bc9eb34f594250c8c

See more details on using hashes here.

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