# Streamlit

Python framework for interactive data apps and dashboards\.

ID: Q892 · Revision: 940

Type: software · License: Apache\-2\.0[^st-license] · Status: active

Website: https://streamlit.io/



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\.[^st][^st-flow]

## 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\.[^st-flow]

## 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\.[^st-flow][^st-frag]

## 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\.[^st-state]

## 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\.[^st-arch]

## 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\.[^st-license][^st]

## Substitution considerations

Streamlit can replace [Dash](/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\.[^st-flow][^st-frag][^dash-callback]

## Capabilities and substitutions

### Script\-defined data UI — supported

Creates browser controls and displays from Python\.[^st-flow]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

### Partial updates — supported

Fragments permit selected functions to rerun independently\.[^st-frag]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

### [Substitute for Dash](/dash) — limited

A script\-oriented alternative for data interfaces; callback and state logic need adaptation\.[^st-flow][^dash-callback]

Use case: Interactive data applications · Platforms: Web browser · Region: Runtime, dependencies and hosting requirements apply

## References

[^st-license]: [Streamlit license](<https://github.com/streamlit/streamlit/blob/develop/LICENSE>) — Apache License 2\.0 (vendor; retrieved 2026-10-07T04:27:08Z)

[^st]: [Streamlit documentation](<https://docs.streamlit.io/>) — Python framework; deployment products (vendor; retrieved 2026-10-07T04:26:50Z)

[^st-flow]: [Streamlit basic concepts](<https://docs.streamlit.io/get-started/fundamentals/main-concepts>) — Script model; data flow; widgets and charts (vendor; retrieved 2026-10-07T04:26:59Z)

[^st-frag]: [Streamlit fragments](<https://docs.streamlit.io/develop/concepts/architecture/fragments>) — Partial reruns and widgets (vendor; retrieved 2026-10-07T04:27:55Z)

[^st-state]: [Streamlit session state](<https://docs.streamlit.io/develop/concepts/architecture/session-state>) — Separate browser sessions; variables between reruns (vendor; retrieved 2026-10-07T04:28:07Z)

[^st-arch]: [Streamlit architecture](<https://docs.streamlit.io/develop/concepts/architecture/architecture>) — Client/server; host computation; file uploads (vendor; retrieved 2026-10-07T04:27:08Z)

[^dash-callback]: [Dash callbacks](<https://dash.plotly.com/basic-callbacks>) — Layout tree; component properties and callbacks (vendor; retrieved 2026-10-07T04:27:08Z)

Source revision: https://substitutefor.net/entities/Q892?revision=940
