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.1

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.1
File Size Uploaded Provenance Actions
spaday-0.14.1.tar.gz 3.6 MB Without provenance Details for spaday-0.14.1.tar.gz

Built distributions (wheels)

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

Total release size: 25.2 MB

Release files / spaday-0.14.1.tar.gz

Download URL spaday-0.14.1.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
b03a8ff53d72f97dbceb1e1043d9d33a7a4623dd2808ca477d53ec9639696ff9
BLAKE2b-256 checksum
How to use checksums
d2aead21cbb9d386c9f004683afab6df2a035e4570c0c8f7ea876198484b65ae
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.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL spaday-0.14.1-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
c8aa86024c4b4e410922bec64fad267e78caac2741e6eb9ad9c6eb4260864c5c
BLAKE2b-256 checksum
How to use checksums
cb72ca1b0b60467886b7d5b17b429e9f529ee8ea6f82078cb042cc2a38a8794c
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.1-cp311-abi3-win_amd64.whl

Download URL spaday-0.14.1-cp311-abi3-win_amd64.whl
Size 5.9 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b29b714de6ca7fb48203e03d0064f1e825c004581e00e05ffbef79b98704fa1e
BLAKE2b-256 checksum
How to use checksums
bbfca0cf26070ea62881f9a9b0cf89bb265af4a92767c5d73775c3070e2db400
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.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL spaday-0.14.1-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
d11bf044fbbdf208cae7a9e4c73e148fb05267fc1168b95b07e4cfebad12ed0c
BLAKE2b-256 checksum
How to use checksums
4afe13b789321e33761813906fe6676bf8d7f1dce4b37a433e92a379f085e2e8
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.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL spaday-0.14.1-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
467a7560754b543b9af274df463bc972ba388ab93477aa2ee4e662f6b3b5ada1
BLAKE2b-256 checksum
How to use checksums
2479d97a26e82662f8994b825649211c8deff147028e7535cf30c670dc1eb070
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.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL spaday-0.14.1-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
340bbbecd92e3b436e78edffda7c66aaf92b51c60e51d69071417e03da2be625
BLAKE2b-256 checksum
How to use checksums
2dae0f74d9d1ba7e469cfab052f61206dd4116890c8c88f4b284e3ee19dd236f
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.1

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.1 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