Examples¶
These are real PyWeft apps, running in your browser: Python runs on the page itself, with no server behind it. Each opens in a new tab, and starts in a few seconds the first time while the browser downloads Python, faster after that. The todo and shop apps are styled with Tailwind CSS, in light and dark.
Todos¶
The todo app from the tutorial: it remembers your list
between visits with pyweft.storage, uses a package from PyPI
(humanize, which spells out "three left"), and keeps the browser tab's
title up to date with an effect.
Shop orders¶
A small back office: a dashboard, an orders table with filters, and a page
per order. It shows a pages/ folder for the screens, links and the Back
button, typed values from the address (#/orders/1047), a Store for
pinned orders shared between pages, a shared Python module for the data, a
component used by several pages, and exporting to a CSV file.
Controls gallery¶
Every control in pyweft-ui, with light and dark themes, and the code that
produced each one.
Run them yourself¶
Clone the repository and run any of them with hot reload, so you can change the code and watch: