Skip to main content

The powerful data exploration & web app framework for Python.

Project description

Panel logo -- text is white in dark theme and black in light theme

Panel: The powerful data exploration & web app framework for Python

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.

Build Status Linux/MacOS Build Status
Coverage codecov
Latest dev release Github tag dev-site
Latest release Github release PyPI version panel version conda-forge version defaults version
Docs gh-pages site
Notebooks dev-site
Support Discourse Discord

Home | Installation instructions | Getting Started Guide | Reference Guides | Examples | License | Support

Panel works with the tools you know and love

Panel makes it easy to combine widgets, plots, tables and other viewable Python objects into custom analysis tools, applications, and dashboards.

Panel NYC Taxi Linked Brushing


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.

Pythons DataViz works with Panel

Panel provides bi-directional communication making it possible to react to clicks, selections, hover etc. events.

Vega Selections

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 HoloViz ecosystem

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!

Mini getting-started

Head over to the getting started guide for more!

Installation Instructions

Panel can be installed on Linux, Windows, or Mac with conda:

conda install -c pyviz panel

or with pip:

pip install panel

See the Environments section below for additional instructions for your environment.

Interactive data apps

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)

Panel Notebook Example

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

Panel Example App

Examples

Panel Gallery

Awesome Panel Gallery

Get started

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.

Support & Feedback

For more detail check out the HoloViz Community Guide.

Contributing ❤️

Check out the Contributing Guide.

License

Panel is completely free and open-source. It is licensed under the BSD 3-Clause License.

Sponsors

The Panel project is also very grateful for the sponsorship by the organizations and companies below:

Anaconda Logo Blackstone Logo NumFOCUS Logo Quansight Logo

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panel-1.2.0a2.tar.gz (25.7 MB view details)

Uploaded Source

Built Distribution

panel-1.2.0a2-py2.py3-none-any.whl (20.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file panel-1.2.0a2.tar.gz.

File metadata

  • Download URL: panel-1.2.0a2.tar.gz
  • Upload date:
  • Size: 25.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.15

File hashes

Hashes for panel-1.2.0a2.tar.gz
Algorithm Hash digest
SHA256 0651d0d3f06101499f3f002ecf59c21a64922b2d48032d1e7f2f9c0522c3c6a2
MD5 cc899c5b27a92f815397f4d2966f3ed1
BLAKE2b-256 2745a682437114b463b4ce798f12c57a27dc12f6cc954328964c28f27f180ca8

See more details on using hashes here.

File details

Details for the file panel-1.2.0a2-py2.py3-none-any.whl.

File metadata

  • Download URL: panel-1.2.0a2-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.31.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.15

File hashes

Hashes for panel-1.2.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d6f096f140c7b374ecb049c5dde3cb2d729bd32b91392c116fd8938d85f7738
MD5 1dab0e5935a39b0e65250961a699d7ba
BLAKE2b-256 55f8f575c9fc9ec38c668bd8f3ee2943198d09f3d34dc0137abcc0bdd0c95267

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page