Streamlit Python framework for interactive data apps and dashboards.
Overview Streamlit is an open-source Python framework for building interactive data applications. Authors add displays and controls to Python scripts, and viewers use the resulting interface in a browser. The framework supports analytical tools and dashboards while leaving application logic, data access and deployment decisions to the developer.[2] [3]
Contents Script-based applications A normal development workflow starts a Streamlit server from a Python script. The script creates text, tables, charts and widgets, with widget values available to the application code. This can turn an analysis into an interface without separately constructing a full frontend, but the result is still an application that executes Python rather than a static document export.[3]
Reruns and partial updates The central execution model reruns the script from top to bottom when an interaction requires an update. Fragments provide a qualified exception: a widget within a fragment can rerun only that function while the rest of the displayed app remains unchanged. Developers therefore need to consider rerun boundaries before placing expensive operations or side effects in application code.[3] [4]
Session state Streamlit creates a session for each connected browser tab. Session State retains variables across reruns and can persist across pages of a multipage app. Ordinary local variables should not be assumed to survive a rerun. This state model matters when adapting a notebook that previously relied on a long-lived sequence of manually executed cells.[5]
Where computation runs The host runs the Python backend and supplies compute and storage for connected viewers. A visitor's browser does not automatically expose that visitor's local filesystem to the app; files can instead be provided through an upload widget. Sharing therefore changes where inputs are processed, and the host must have the application's dependencies and sufficient resources.[6]
Framework and services The framework is Apache-2.0 licensed. Streamlit's documentation separately describes Community Cloud, Snowflake and other deployment routes. Choosing the open-source library does not establish that every hosting option, enterprise feature or infrastructure resource has the same terms; the framework and its deployment service are distinct parts of the decision.[1] [2]
Substitution considerations Streamlit can replace Dash for Python-driven data interfaces when a script-oriented workflow fits the application. Both connect controls with analytical output, but their update models differ. Porting requires rewriting interface and state-management code, with special attention to repeated execution rather than assuming the original callback structure transfers unchanged.[3] [4] [7]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.