Skip to main content

Spanda Python SDK

Official Python client for Spanda Control Center API v1.

Install

From PyPI:

pip install spanda-sdk
pip install "spanda-sdk[stream]"   # WebSocket telemetry

From this monorepo:

pip install -e sdk/python
# WebSocket telemetry
pip install -e "sdk/python[stream]"

Quick start

from spanda import SpandaClient

client = SpandaClient.local()
report = client.readiness("rover.sd")
print(report["report"])

Requires Control Center running:

spanda control-center serve --program examples/robotics/rover.sd

Environment

Variable Purpose
SPANDA_CONTROL_CENTER_URL API base URL (default http://127.0.0.1:8080)
SPANDA_API_KEY Bearer token for authenticated endpoints

Documentation

Legacy client

Enterprise ops helpers (ControlCenterClient for drift, OTA, SRE) remain in packages/sdk-python.

Download files

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

Source Distribution

spanda_sdk-0.4.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

spanda_sdk-0.4.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file spanda_sdk-0.4.2.tar.gz.

File metadata

  • Download URL: spanda_sdk-0.4.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spanda_sdk-0.4.2.tar.gz
Algorithm Hash digest
SHA256 ac2b61b930ac2d755cc4f836295371a4aa9f0875d76cc809007760912e841ebd
MD5 b7cb51f79fb439e7e6dc83250d4b1323
BLAKE2b-256 e0098a261dd18937d914852b676839668e594e2a51b5851aaf0b722ef833d762

See more details on using hashes here.

File details

Details for the file spanda_sdk-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: spanda_sdk-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spanda_sdk-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 615b96db011c33b01dbd7c1a5aea211be3be7c6ec8ed82980cd6f786f94ffe3c
MD5 d83687d5c2f60541b045aaf819b5dd97
BLAKE2b-256 22eabdf77aebc41e934d96bee329e7d74ae0c0342976556df176733976374023

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 Sentry Error logging StatusPage Status page