Preswald builds interactive data dashboards and reports in Python, packaged as static HTML that runs offline in the browser via Pyodide and DuckDB.
Overview
Preswald is a static-site generator oriented toward analyst-style applications: charts, tables, forms, and logic written in Python rather than a JavaScript UI framework. Built output bundles computation, data access, and interface into portable apps stakeholders can open without installing Python locally.
Runtime execution uses a WebAssembly stack with Pyodide and in-browser DuckDB, so queries and visualizations stay on the client. A reactive dependency graph re-runs only affected parts when inputs change. Export produces a dist folder suitable for offline sharing or static hosting.
Development mode runs a local server while you edit project files configured through preswald.toml. It targets a lighter option than heavier web stacks when you need shareable, file-first deliverables, including sensitive or air-gapped scenarios.
Documented use patterns include analyst dashboards, interactive reports, inspection utilities, field offline kits, and experiment comparison panels. Apps are inspectable and modifiable by automated agents.
Key features
- Python-authored interactive UI
- Pyodide and DuckDB in-browser runtime
- Static HTML export bundle
- Reactive dependency recomputation
- Plotly and Matplotlib integration
- preswald.toml project configuration
- Offline execution without backend server
- Composable tables, charts, and forms
Use cases
- Shareable analyst dashboards
- Interactive stakeholder reports
- Air-gapped data inspection tools
- Portable experiment metric panels