Skip to main content
spaday logo, a face with a facemask and lemon slices bounded by a browser window

Build Status codecov License PyPI

Reactive web-component UIs configured in Python, executed in the browser.

Browse the standalone examples or open the interactive notebook. Python runs in Pyodide, so nothing needs to be installed locally.

Overview

Construct a UI as a tree of typed Python components from opt-in packages or any library that ships a Custom Elements Manifest. Attach behavior as declarative data: an action DSL (toggle a prop, send a model edit, call an endpoint) and reactive bindings (a control two-way-bound to a state field, or a prop computed from others). spaday's JavaScript runtime renders the tree to real web components and interprets that behavior client-side — so a toggle or a derived value updates with no round-trip to Python.

That UI state is a transports model, so it syncs over any connection (WebSocket, SSE, Jupyter comm) and any codec; the same tree drops into a web app or a Jupyter notebook unchanged.

Like transports, spaday is a Rust core with thin bindings: the component tree, the diff engine, the CEM parser, the action interpreter, and the reactive engine live in Rust and compile to PyO3 (Python authors the tree) and wasm (the browser runs it). One core, two bindings.

from spaday import Widget, element

# a checkbox two-way-bound to a state field, rendered in a Jupyter cell
ui = element("input", type="checkbox").bind("checked", "on", mode="two-way")
w = Widget(ui, state={"on": True})
w  # flip the switch → w.state["on"] flips in Python; set w.state → the switch follows

Install

pip install spaday            # core: author + serialize component trees
pip install "spaday[widget]"  # + the Jupyter / anywidget host

Component ecosystem

Install only the integrations an application uses. Each package provides typed Python components and registers its browser assets with spaday:

Design Systems

Individual Components

The spaday-shoelace compatibility package installs spaday-webawesome.

Select an installed integration by its entry-point name, for example serve(page, packages=["trees"]).

Documentation

Metadata

Release files for spaday 0.14.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 spaday 0.14.0
File Size Uploaded Provenance Actions
spaday-0.14.0.tar.gz 3.6 MB Without provenance Details for spaday-0.14.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for spaday 0.14.0
File Actions
spaday-0.14.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details for spaday-0.14.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl
spaday-0.14.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for spaday-0.14.0-cp311-abi3-win_amd64.whl
spaday-0.14.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for spaday-0.14.0-cp311-abi3-manylinux_2_28_x86_64.whl
spaday-0.14.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for spaday-0.14.0-cp311-abi3-manylinux_2_28_aarch64.whl
spaday-0.14.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for spaday-0.14.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 25.1 MB

Release files / spaday-0.14.0.tar.gz

Download URL spaday-0.14.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
5f1188a06639a0c142e0737d5e05bbaa2f388ebb84b2e515049314f2d31d3528
BLAKE2b-256 checksum
How to use checksums
2fb271a825b0fcedb18c2a9f2faf014c9557253136da939172693269523a0245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / spaday-0.14.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL spaday-0.14.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 3.7 MB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
70fa1871c9f378dffbe55822452390195ba1eba6fe92ba75170356d6447e340e
BLAKE2b-256 checksum
How to use checksums
8084f1958350a5ac4aa95f6377f0a7f384cd539d075200b7bfbe766786c21b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / spaday-0.14.0-cp311-abi3-win_amd64.whl

Download URL spaday-0.14.0-cp311-abi3-win_amd64.whl
Size 5.9 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
75ea0851406de874e4308fa51c07003b4a1e3f518e58a3108377b8300223637d
BLAKE2b-256 checksum
How to use checksums
8b01c529be5a7ae48f5c1456e7b9164cc5e5513addc13859a6804061dd46c596
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / spaday-0.14.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL spaday-0.14.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 4.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9ff3f59017e192369a6871a15a1c8b4ec20875fcc4e35344eb6ba9fbd3b6f3da
BLAKE2b-256 checksum
How to use checksums
3503aadf57b1190621c742845fc7a73f5e7650e8cbda6fdc8042adf782d30c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / spaday-0.14.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL spaday-0.14.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
daeb1a9acc0e53c2eee5ffa9b834e95daf5fbad8be18ed5de0437d4433129854
BLAKE2b-256 checksum
How to use checksums
fdbf369403d778c42ebe5b837b07fb3ca0a16207db8b42e992c38d095aaca85e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / spaday-0.14.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL spaday-0.14.0-cp311-abi3-macosx_11_0_arm64.whl
Size 3.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d61db3e7289e6e023cd2b8449d7de8207572726bcfa3e06b7aaee2c5fac28c4
BLAKE2b-256 checksum
How to use checksums
dc76dc66db89d3e770a31d648bf2b2cf435fff635bf5441b38eba0424d035087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for spaday 0.14.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.14.0 This release

6 release files No provenance

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