Preswald is an open source Python-based framework and static-site generator designed for building interactive data applications that run entirely in the browser. It packages application logic, data processing, and user interface components into a single self-contained output, enabling easy sharing and deployment without requiring local dependencies. Preswald leverages a WebAssembly runtime along with technologies like Pyodide and DuckDB to execute Python code directly in the browser environment. This approach allows developers to create dashboards, reports, notebooks, and data tools that are portable, fast, and capable of running offline. Preswald emphasizes a code-first workflow where users define applications entirely in Python while using built-in UI components such as tables, charts, and forms. It also includes a reactive execution model that only recomputes necessary parts of the app, improving performance and responsiveness.
Features
- Packages full data apps into a single shareable file
- Runs Python applications directly in the browser via WebAssembly
- Built-in UI components like charts, tables, and forms
- Reactive execution model that updates only necessary computations
- Works offline with no server or local dependencies required
- Integrates with data tools like DuckDB, Pandas, and visualization libraries