Skip to main content

runstate (Python SDK)

Resource handles and safe lifecycle helpers for the runstate coordination kernel.

from runstate import Runstate

bus = Runstate()  # reads RUNSTATE_API_KEY / RUNSTATE_SPACE_ID / RUNSTATE_BASE_URL
run = bus.scopes.create(name="research")
run.mailbox("research").send({"topic": "fusion energy"})
  • AsyncRunstate — primary async client (httpx).
  • Runstate — blocking facade running the async client on one dedicated event-loop thread; sync handlers are offloaded so renewal is never blocked.
  • Safe helpers: single-flight lease renewal, fail-closed lease loss, bounded retries, reconnectable events.watch, and run diagnostics.

Install

pip install runstate-sdk

Metadata

Release files for runstate-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for runstate-sdk 0.1.0
File Size Uploaded
runstate_sdk-0.1.0.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for runstate-sdk 0.1.0
File Interpreter ABI Platform
runstate_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.8 kB

Release files / runstate_sdk-0.1.0.tar.gz

Download URL runstate_sdk-0.1.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9d6c8243f2b960f24bcb727def7d87186d496d6ab767e34abc53b108f8f51e5f
BLAKE2b-256 checksum
How to use checksums
445b69a76909d71781efb024370d106ee3ddfc856c40ec487e53c095c9ab692c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / runstate_sdk-0.1.0-py3-none-any.whl

Download URL runstate_sdk-0.1.0-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fedcf9440ed7657c81b21b91dcd38ca43eefb72de70870d1e893292a8809351
BLAKE2b-256 checksum
How to use checksums
01b38a52e6bfd4f126605b9211edf5df0ffa487a7793fe1c0aaa23b518dfa3fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page