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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spanda_sdk-0.5.5.tar.gz
  • Upload date:
  • Size: 7.3 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.5.5.tar.gz
Algorithm Hash digest
SHA256 e0921320c86d9e1df78b1473eacd1ebe880a672ae157c02c33a80ba5eb4349d5
MD5 578283eb7329a5378a801fa46368b759
BLAKE2b-256 7fbc42b27b5f953d6b115dd9245fdc70abcaa41ab453948323f5a05582a32421

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spanda_sdk-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 96171c9099aaeb24c08f29c39b3a404ecffe9d11366aecba76dd4590d5081ff7
MD5 d2b7d575ff16b687f47106c599c7bd8c
BLAKE2b-256 46f37f06fb1bdb447e02be7bdb4469cc72c81a7f9e88c69b7c1e8a842ffb2c1a

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