Python dashboard libraries

Updated Nov 2026

Python dashboard libraries build interactive web apps with charts, tables, and input widgets from Python code. The library serves a browser front end and runs Python code again when a user changes an input. These libraries let data teams share models and analyses as web apps without writing JavaScript.

Popularity

Streamlit has the most monthly downloads in this comparison, at 23.9M.

LibraryMonthly downloadsStarsLast releaseLicense
Streamlit
23.9M
46.4KNov 2026Apache-2.0
Dash
8.2M
24.5KOct 2026MIT
Bokeh
6.5M
20.5KNov 2026BSD-3-Clause
Gradio
6.3M
44.1KNov 2026Apache-2.0
NiceGUI
1.3M
16.3KNov 2026MIT
Panel
1.2M
5.8KOct 2026BSD-3-Clause
Shiny for Python
314.0K
1.8KOct 2026MIT
Reflex
287.7K
29.0KNov 2026Apache-2.0
Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Builds interactive data applications from Python scripts.

Downloads / mo
23.9M
Stars
46.4K
Last release
1.67.0
License
Apache-2.0

Strengths

  • Builds interfaces from Python scripts. Add interactive data tables, charts, and controls to a Python script.
  • Caches reusable data and resources. Keep expensive results or shared resource objects across script reruns.
  • Includes dataframe CSV downloads. Let users export the displayed data table as CSV.

Limitations

  • Interactions can rerun the script. Cache expensive work when default full-script reruns repeat too much computation.
  • Shared resources need thread safety. Keep globally cached clients and models thread safe across concurrent user sessions.

Quickstart

From README.md
$ pip install streamlit
import streamlit as st

x = st.slider("Select a value")
st.write(x, "squared is", x * x)

Streamlit examples

From open-source projects on GitHub

Builds reactive Python web applications with explicit component callbacks.

Downloads / mo
8.2M
Stars
24.5K
Last release
4.5.0
License
MIT

Strengths

  • Connects controls with explicit callbacks. Map component inputs to the outputs a Python function should update.
  • Includes Plotly graph components. Display Plotly-powered charts through the bundled Graph component.

Limitations

  • Legacy DataTable is deprecated. Use Dash AG Grid for new editable table interfaces.
  • Worker memory stays separate. Store shared callback state outside mutable process-local global variables.

Quickstart

From minimal-app.md
$ pip install dash
from dash import Dash, html
app = Dash()
app.layout = html.Div('Hello, Dash!')
app.run()

Dash examples

From open-source projects on GitHub

Builds interactive plots and applications in the browser from Python.

Downloads / mo
6.5M
Stars
20.5K
Last release
3.10.2
License
BSD-3-Clause

Quickstart

From README.md
$ pip install bokeh
from bokeh.plotting import figure, show
p = figure()
p.line([1, 2, 3], [1, 4, 9])
show(p)

Bokeh examples

From open-source projects on GitHub
def autoload_js_script(doc, resources, token, element_id, app_path, absolute_url, absolute=False):
    resources = Resources.from_bokeh(resources, absolute=absolute)
    bundle = bundle_resources(doc.roots, resources)

    render_items = [RenderItem(token=token, elementid=element_id, use_for_title=False)]
    bundle.add(Script(script_for_render_items({}, render_items, app_path=app_path, absolute_url=absolute_url)))

    return AUTOLOAD_JS.render(bundle=bundle, elementid=element_id)

Builds interfaces for interacting with trained machine learning models.

Downloads / mo
6.3M
Stars
44.1K
Last release
6.32.0
License
Apache-2.0

Quickstart

From README.md
$ pip install gradio
import gradio as gr

def greet(name, intensity):
 return "Hello, " + name + "!" * int(intensity)

demo = gr.Interface(
 fn=greet,
 inputs=["text", "slider"],
 outputs=["text"],
 api_name="predict"
)

demo.launch()

Gradio examples

From open-source projects on GitHub

Creates web-based user interfaces with Python.

Downloads / mo
1.3M
Stars
16.3K
Last release
4.0.0
License
MIT

Quickstart

From README.md
$ pip install nicegui
from nicegui import ui

ui.label('Hello NiceGUI!')
ui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))

ui.run()

NiceGUI examples

From open-source projects on GitHub

Builds interactive dashboards from Python widgets, plots, and layouts.

Downloads / mo
1.2M
Stars
5.8K
Last release
1.10.0
License
BSD-3-Clause

Strengths

  • Binds widgets to Python functions. Update a displayed function result when its bound widget values change.
  • Saves standalone HTML snapshots. Export an application snapshot without requiring an active application server.

Limitations

  • Static interaction needs bounded state. Embed predefined widget states when the exported page must work without Python.
  • PNG export needs browser dependencies. Install the required browser export dependencies before saving a PNG snapshot.

Quickstart

From build_app.html
$ pip install panel
import panel as pn
pn.extension()
pn.pane.Markdown('Hello, Panel!').servable()

Panel examples

From open-source projects on GitHub

Shiny for Python

Provides a web development framework for Python.

Downloads / mo
314.0K
Stars
1.8K
Last release
1.9.0
License
MIT

Quickstart

From App.html
$ pip install shiny
from shiny import  App, Inputs, Outputs, Session, ui
app_ui = ui.page_fluid("Hello Shiny!")
def server(input: Inputs, output: Outputs, session: Session):
    pass
app = App(app_ui, server)

Shiny for Python examples

From open-source projects on GitHub

Builds web apps in pure Python.

Downloads / mo
287.7K
Stars
29.0K
Last release
0.11.0
License
Apache-2.0

Quickstart

From README.md
$ pip install reflex
import reflex as rx

def index():
    return rx.heading('Hello, Reflex!')

app = rx.App()
app.add_page(index)

Reflex examples

From open-source projects on GitHub

FAQ

Streamlit suits quick data apps written as one script. Dash suits apps that need explicit callbacks between components. Gradio suits demos of trained machine learning models.

Streamlit builds data apps from a Python script. It reruns the script after each user interaction.

Bokeh builds interactive plots and applications in the browser from Python. Its Python models serialize to BokehJS for drawing in the browser.

Dash is the Plotly framework for reactive web apps in Python. Declared input and output callbacks update chart and component properties.

NiceGUI creates browser user interfaces from Python with a backend-first model. It serves the interface through FastAPI.

Gradio builds interfaces for trained machine learning models, plus custom Blocks apps. Streamlit builds general data apps from a script that reruns on each interaction.

For coding agents

Found your dashboard library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official