Skip to main content
spaday-webawesome logo, round rocks aligned vertically

Typed WebAwesome components and self-contained browser assets for spaday

Build Status codecov License PyPI

Preview of the spaday-webawesome example

Documentation

Quick example

from spaday import serve
from spaday_webawesome import WaButton, WaCard

page = WaCard(WaButton().text("Run"))
serve(page, packages=["webawesome"])

The package also exports Tabs, plus form() and FormField for generating bound WebAwesome controls from pydantic models or JSON Schema.

Installing the package does not inject assets. Select it explicitly with packages=["webawesome"] or pass the exported package descriptor.

Generic controls

All 13 generic controls in spaday.ui render as Web Awesome elements when a page selects this package. The mapping is exported as DESIGN; for_design("webawesome", pill=True) sets a Web Awesome prop on one control. The shared conformance page checks value updates, options, validation state, and dialog behavior in a browser. Web Awesome progress bars use percentages, so their generic value is normalized against the generic max.

Browser examples

Both run Python locally through Pyodide; no install or server is required.

Run examples locally

python -m pip install -e ".[examples]"
python -m spaday_webawesome.example
python -m spaday_webawesome.gallery

Open http://127.0.0.1:8012 for the standard operations-console app or http://127.0.0.1:8013 for the component gallery. The standard app includes server-updated metrics and an order preview that round-trips to Python. The gallery includes every generated Web Awesome component and a highlighted Python snippet for each component family.

Both pass the local package descriptor directly, so they do not install or resolve the integration from GitHub.

Metadata

Release files for spaday-webawesome 0.6.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-webawesome 0.6.0
File Size Uploaded
spaday_webawesome-0.6.0.tar.gz 727.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spaday-webawesome 0.6.0
File Interpreter ABI Platform
spaday_webawesome-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.7 MB

Release files / spaday_webawesome-0.6.0.tar.gz

Download URL spaday_webawesome-0.6.0.tar.gz
Size 727.9 kB
Tags Source
SHA-256 checksum
How to use checksums
17e221e58cb93fbddcf84caa2c303cff10bd52a7debf4202f8cd832f2c1a6645
BLAKE2b-256 checksum
How to use checksums
6fd83459122e13fdc1c932c5ee3c58c46f8b76cfd01028e21448ad3459fb9f2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / spaday_webawesome-0.6.0-py3-none-any.whl

Download URL spaday_webawesome-0.6.0-py3-none-any.whl
Size 983.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18abb16fb52cac79946d46b9592f027132960eb2fdaa2e87b47f0c4a204730d2
BLAKE2b-256 checksum
How to use checksums
41c510c9e2134c7f737338e10e6ef3007dc4e8ac9b992e4e41262a320c487c8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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