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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spanda_sdk-0.5.8.tar.gz
  • Upload date:
  • Size: 8.6 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.8.tar.gz
Algorithm Hash digest
SHA256 fcb800ad57610fdaf37167e51db1c33265dee62e1f1888dbda3490eb3f40151e
MD5 89bb5587d1f58e8a1cdf0b4d62ff5546
BLAKE2b-256 0bedc1122ef3b4ca397df372285fc8beec1898374c9c8a18bdf6aa0f5f1d2e55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spanda_sdk-0.5.8-py3-none-any.whl
  • Upload date:
  • Size: 9.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.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5a5177d5acd64a702c0d211e59664c3aca74069bf8c16629a72a98587473231a
MD5 abea46917a0ff97da0b61ffa059e1e6b
BLAKE2b-256 1381348d3482da17b5e0aa5a4dbd86844e8fab777cd8909760e7d0ca613e57b3

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