Skip to main content

Official Python SDK for Spanda Control Center API v1

Project description

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.

Project details


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spanda_sdk-0.4.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 25f7cc438c341c049116793827daf79536df5b3fd4f98d6278111388df6d8d4d
MD5 5ac79d0c0306a2624699accb9530e40a
BLAKE2b-256 b24b4ee2e619a87fd858821bd1226cfd4faff51b36b3a2d32f97d231e60b0c33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spanda_sdk-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a1fb2b3b6534593cb0d0ccb99b8a4ccd290c845bd2f137bb8e726eed97d08b9
MD5 9e21a43422496216b36e5ec1ebb80ccf
BLAKE2b-256 964e954ca45aa1809f7487c5396677df766d00a5ed14d960b7eb0ce265997033

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