Is it possible to deploy and run Panel apps via Jupyter Hub?

Is it possible to deploy and run Panel apps via Jupyter Hub?

I’m thinking that it is a major advantage of Voila that they have the Jupyter Hub. If Panel could run there as well then there would be more freedom to choose one or the other depending on use case and preferences.

I know there are attempts for Streamlit. See https://discuss.streamlit.io/t/jupyterhub-streamlit/1238/5

@philippjfr provided this link check out https://github.com/holoviz/jupyter-panel-proxy

I believe but do not know that this is something to install on a Jupyter Server and then it works.

Hi @Marc, here is an example of a PR that switches to using jupyter-panel-proxy: https://github.com/pyviz-demos/glaciers/pull/11. Basically if you include jupyter-panel-proxy in your environment.yaml or requirements.txt, then you should be able to access any panel app at the endpoint <jupyter_url>/panel/<filename>.

1 Like