Panel lets Python developers wire widgets, plots and layouts to data and models as normal objects. The same code can run in a notebook or be served as a web app.
Overview
Panel is an open-source Python framework for building interactive dashboards and data-focused web applications. Widgets, plots and layouts are ordinary Python objects that you connect to datasets and models, pass between functions and classes, and test like other code, without matching string IDs or rerunning a whole script on every click.
When a user changes a control, Panel runs only the code linked to that control. On apps that load large data, fit models and keep user state, that selective execution affects responsiveness and how much caching you need compared with rerunning everything on each interaction.
You can explore in Jupyter, JupyterLab, VS Code, Colab or marimo, then deploy the same layout with panel serve from a Python file marked servable. Production setups can run on your own infrastructure with authentication, integrate with FastAPI or Django, or package some apps to run in the browser via WebAssembly.
Panel integrates Matplotlib, Plotly, Bokeh, HoloViews, Altair, ECharts and many other plotting tools, and ships a large set of UI components including tables, chat interfaces and editors. You can organize small apps with pn.bind or grow multi-page platforms with reusable Param-based components. OAuth, streaming updates, async callbacks and custom React or Vue components extend what you can build.
Key features
- Selective reruns tied to widget changes
- Notebook and panel serve deployment
- pn.bind and Param-based components
- Many plotting library integrations
- 130+ interface components
- FastAPI and Django embedding
- OAuth and admin performance tools
- WebAssembly browser packaging option
Use cases
- Internal multi-page analytics platforms
- Science and finance exploration apps
- Model monitoring dashboards
- Linked crossfilter visualizations
- Notebook prototypes turned into shared apps