Panel: Data Exploration & Web App Framework

1.8.10 · active · verified Fri Apr 10

Panel is an open-source Python library that allows you to easily create interactive web-based dashboards and applications directly from Python code. It integrates seamlessly with the PyData ecosystem, offering powerful, interactive data tables, visualizations, and more. It supports rapid development of exploratory applications and building complex, multi-page apps with rich interactivity. [2, 3]

Warnings

Install

Imports

Quickstart

This quickstart creates a simple 'Hello, Panel!' Markdown pane and makes it servable. When run in a Jupyter notebook, it will display directly. When saved as a Python file (e.g., `app.py`) and executed with `panel serve app.py --dev` from the terminal, it launches a web server displaying the app. [6]

import panel as pn

pn.extension()

# Create a simple Panel component
hello_world_pane = pn.pane.Markdown("## Hello, Panel!")

# Display the component in a server app
# In a Jupyter/IPython notebook, this will display the app inline.
# To serve as a standalone app, save as `app.py` and run `panel serve app.py --dev`
hello_world_pane.servable()

view raw JSON →