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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| runstate_sdk-0.1.1.tar.gz | 24.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| runstate_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.5 kB
Release files / runstate_sdk-0.1.1.tar.gz
| Download URL | runstate_sdk-0.1.1.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a09081aa151ec23e1db6577dbbf90729ee1ea052c32dbb32f9740670777c221
|
|
BLAKE2b-256 checksum How to use checksums |
3fdc475194f6ef12b4b5ca9198fc94c54a729a77a51619af0afa68d2d04e55fc
|
| 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.1-py3-none-any.whl
| Download URL | runstate_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d36cd4cca1afcfb5fcff777310764b901b5826142a800f238c747cf88cfe457c
|
|
BLAKE2b-256 checksum How to use checksums |
9c906d67bcfb68ee99feb2680e8399e6534ba474226950d0d27107e8f682b09d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|