preswald
Preswald is a WASM packager for Python-based interactive data apps: bundle full complex data workflows, particularly visualizations, into single files, runnable
What is preswald?
Preswald is a WASM packager for Python-based interactive data apps: bundle full complex data workflows, particularly visualizations, into single files, runnable completely in-browser, using Pyodide, DuckDB, Pandas, and Plotly, Matplotlib, etc. Build dashboards, reports, and notebooks that run offline, load fast, and share like a document.
Overview of preswald
What it is
Preswald is a static-site generator for building interactive data apps in Python. It packages compute, data access, and UI into self-contained data apps that run locally in the browser, using WASM runtime with Pyodide and DuckDB. The goal is to create portable, file-based apps that are fast, reactive, and shareable as a single file. It can be used to build dashboards, reports, prototypes, workflows, and notebooks that are reactive, portable, and secure by default. It is especially useful when you want to bundle logic, UI, and data into a shareable file, ship a tool to a stakeholder who shouldn't need to install anything, work with sensitive data and want full local control, or give AI systems structured, modifiable tools.
Key features
- Code-based. Write apps in Python, not in notebooks or JS frameworks.
- File-first. One command creates a fully-packaged
.htmlapp. - Built for computation. Use Pyodide + DuckDB directly in-browser.
- Composable UI. Use prebuilt components like tables, charts, forms.
- Reactive engine. Only re-run what's needed, powered by a DAG of dependencies.
- Local execution. No server. Runs offline, even with large data.
- AI-ready. Apps are fully inspectable and modifiable by agents.
Use cases
- Analyst dashboards: Build data summaries and visualizations, share as static sites.
- Interactive reports: Deliver notebooks and reports that update live based on user input.
- Data inspection tools: Explore files, logs, or snapshots with quick, purpose-built UIs.
- Offline kits: Package apps for fieldwork or secure/airgap settings.
- Experiment panels: Compare runs, track metrics, and present results in standalone interactive apps.
Getting started
Install and run the app with the following commands:bashpip install preswaldpreswald init my_appcd my_apppreswald run
License and pricing
Preswald is licensed under the Apache 2.0 License. The pricing type is open source.
Based on the project's public README and repository metadata.