Preswald is an open-source framework for building data apps, dashboards, and internal tools with just Python. It gives you pre-built UI components like tables, charts, and forms, so you don’t have to write frontend code. Users can interact with your app, changing inputs, running queries, and updating visualizations, without you needing to manage the UI manually.

Preswald tracks state and dependencies, so computations update only when needed instead of re-running everything from scratch. It uses a workflow DAG to manage execution order, making apps more predictable and performant. Preswald lets you turn Python scripts into shareable, production-ready applications easily.

Key Features

  • Add UI components to python scripts – Drop in buttons, text inputs, tables, and charts that users can interact with.
  • Stateful execution – Automatically tracks dependencies and updates results when inputs change.
  • Structured computation – Uses a DAG-based execution model to prevent out-of-order runs.
  • Deploy with one command – Run preswald deploy and instantly share your app online.
  • Query and display data – Fetch live data from databases, or local files and display it in a UI.
  • Build interactive reports – Create dashboards where users can change filters and see results update.
  • Run locally or in the cloud – Start your app on your laptop or host it in Preswald Cloud for easy access.
  • Share with a link – No need to send scripts or install dependencies—just share a URL.

Setting Up

Get started with Preswald in just a few steps. Set up your environment and start building powerful, interactive data applications right away.