Panel is an open-source Python library that lets you easily build powerful tools, dashboards and complex applications entirely in Python. It has a batteries-included philosophy, putting the PyData ecosystem, powerful data tables and much more at your fingertips. High-level reactive APIs and lower-level callback based APIs ensure you can quickly build exploratory applications, but you aren't limited if you build complex, multi-page apps with rich interactivity. Panel is a member of the HoloViz ecosystem, your gateway into a connected ecosystem of data exploration tools.
Enjoying Panel? Show your support with a Github star — it’s a simple click that means the world to us and helps others discover it too! ⭐️
Downloads | |
Build Status | |
Coverage | |
Latest dev release | |
Latest release | |
Docs | |
Notebooks | |
Support |
Home | Installation instructions | Getting Started Guide | Reference Guides | Examples | License | Support
Panel makes it easy to combine widgets, plots, tables and other viewable Python objects into custom analysis tools, applications, and dashboards.
Panel works really well with the visualization tools you already know and love like Altair/ Vega, Bokeh, Datashader, Deck.gl/ pydeck, Echarts/ pyecharts, Folium, HoloViews, hvPlot, plotnine, Matplotlib, Plotly, PyVista/ VTK, Seaborn and more. Panel also works with the ipywidgets ecosystem.
Panel provides bi-directional communication making it possible to react to clicks, selections, hover etc. events.
You can develop in Jupyter Notebooks as well as editors like VS Code, PyCharm or Spyder.
Panel provides a unique combination of deployment options. You can share your data and models as
- a web application running on the Tornado (default), Flask, Django or Fast API web server.
- a stand alone client side application powered by Pyodide or PyScript via
panel convert
. - an interactive Jupyter notebook component.
- a static
.html
web page, a.gif
video, a.png
image and more.
Panel has something to offer for every one from beginner to data pro.
Panel is a member of the ambitious HoloViz dataviz ecosystem and has first class support for the other members like hvPlot (simple .hvplot plotting api), HoloViews (powerful plotting api), and Datashader (big data viz).
Panel is built on top of Param. Param enables you to annotate your code with parameter ranges, documentation, and dependencies between parameters and code. With this approach,
- you don't ever have to commit to whether your code will be used in a notebook, a data app, in batch processing, or reports.
- you will write less code and be able to develop large, maintainable code bases!
Head over to the getting started guide for more!
Panel can be installed on Linux, Windows, or Mac with conda
:
conda install panel
or with pip
:
pip install panel
See the Environments section below for additional instructions for your environment.
Bring your data or model
def model(n=5):
return "⭐"*n
Bind it to a Panel widget and lay it out.
import panel as pn
pn.extension()
slider = pn.widgets.IntSlider(value=5, start=1, end=5)
interactive_model = pn.bind(model, n=slider)
layout = pn.Column(slider, interactive_model)
For deployment on a web server wrap it in a nice template.
pn.template.FastListTemplate(
site="Panel", title="Example", main=[layout],
).servable()
Start the server with
panel serve name_of_script.py --show
or
panel serve name_of_notebook.ipynb --show
Develop applications in your favorite notebook or editor environment, including Jupyter(Lab) notebooks, VSCode, Google Colab and many more, see our getting started guide for more details.
- Usage questions and showcases -> HoloViz Community
- Bug reports and feature requests -> Github
- Developer discussions -> Discord
For more detail check out the HoloViz Community Guide.
Check out the Contributing Guide.
Panel is completely free and open-source. It is licensed under the BSD 3-Clause License.
The Panel project is also very grateful for the sponsorship by the organizations and companies below: