Skip to main content

streamboard (Python)

Push live data to a streamboard — keep KPI tiles, charts, and tables fresh from a cron, agent, or any process, without re-asking an LLM. Mirrors the TypeScript @streamboard/sdk.

uv add streamboard          # or: pip install streamboard
import os
from streamboard import Streamboard

board = Streamboard(token=os.environ["STREAMBOARD_TOKEN"])

board.push({"kpis": {"mrr": {"value": "$48.2k", "delta": "+4%", "trend": "up"}}})

snap = board.pull()
print(snap.version, snap.updated_at, snap.state)

Auth is a per-streamboard bearer token (sb_d_<id>_<secret>) minted at /app/s/:id/tokens. Each token belongs to one board, so the server resolves the target board from the token — you pass nothing but the bearer. (Set streamboard_id= only to address a board explicitly.) push() is last-write-wins — send the full envelope the spec expects. 429 / 5xx / network failures retry with jittered backoff honouring Retry-After.

Typed state

Generate TypedDicts for a board's state envelope from its live schema:

streamboard-codegen --token "$STREAMBOARD_TOKEN" -o state_types.py
from state_types import StreamboardState
state: StreamboardState = {"kpis": {"mrr": {"value": "$48.2k"}}}
board.push(state)

Develop

uv sync
uv run ruff check . && uv run ruff format --check .
uv run ty check
uv run pytest

Will move into the public streamboard-sdks monorepo (ts / go / python / cli) — tracked separately; built in-tree here first.

Metadata

Release files for streamboard 0.3.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 streamboard 0.3.0
File Size Uploaded Provenance Actions
streamboard-0.3.0.tar.gz 18.5 kB With provenance Details for streamboard-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamboard 0.3.0
File Interpreter ABI Platform Actions
streamboard-0.3.0-py3-none-any.whl Python 3 none any Details for streamboard-0.3.0-py3-none-any.whl

Total release size: 28.6 kB

Release files / streamboard-0.3.0.tar.gz

Download URL streamboard-0.3.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
08a7fe4577bff7df3f6a193293f5feccfbc6ac50b4d75130f0c0a3e7970a0ae1
BLAKE2b-256 checksum
How to use checksums
5229197ca70e5ec9544a2d1187136828944697ec1917817f6986eec62be0d23e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Release files / streamboard-0.3.0-py3-none-any.whl

Download URL streamboard-0.3.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
035ea8dd3ccbfef8fa655f8fcbf1de0655e033e3f066220c168ee70b51680d65
BLAKE2b-256 checksum
How to use checksums
dd272bc0eadea99aaac45aad48a083dc8a3fcc23767f381acd89df99ebc82736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

Security for streamboard 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for streamboard-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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