Panel

Panel is an open-source Python library that lets you create custom interactive web apps and dashboards by connecting user-defined widgets to plots, images, tables, or text. Panel is built on Bokeh and provides a higher-level, more convenient interface for building interactive applications.

Deploying

Panel apps can be deployed with the rsconnect-python package.

For Panel apps, the entrypoint is the name of the Python file containing your app. For example, if your app’s source file is named app.py, use:

rsconnect deploy panel -n <saved server name> --entrypoint app.py ...

Please note that while Panel can be used within Jupyter notebooks, you must export your notebook to a standalone Python script to deploy it on Connect.

Example apps

Panel provides numerous examples in their gallery. You can also find example apps in the Panel GitHub repository. The examples in the gallery were created within Python Jupyter notebooks, so they must be adapted slightly to run as standalone apps. Please export them to a Python app.py file before deploying to Connect.

To run a Panel app locally:

panel serve app.py --show

Then deploy to Connect:

rsconnect deploy panel -n <saved server name> --entrypoint app.py .