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.12.0.tar.gz (73.1 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.12.0-py3-none-any.whl (86.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dominus_sdk_python-2.12.0.tar.gz
  • Upload date:
  • Size: 73.1 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.12.0.tar.gz
Algorithm Hash digest
SHA256 d1f0bd54325ab9f4609cf38ccbbb6bbff3fdf19a8e573837ea0a848589e4b3a2
MD5 484d87d0d1c1973f37caac74ded864e0
BLAKE2b-256 2dd6a703cc65ef4c074b0a3afd21603e3610c75990299883c90cfe281f271dab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dominus_sdk_python-2.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a299bcd091e471707eac4435b0f860374c563350ed324cef24cc5eb2b0f84ba9
MD5 1c944614826367fa80bc4ed23c078972
BLAKE2b-256 a40955f529c307cddd495ba9ef71d2a467ab65c94aec5fde8695abe5b4c8960f

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