Jupyter Server Proxy for Panel applications
Project description
Jupyter Server Proxy for Panel
When jupyter-panel-proxy is installed and you launch a Jupyter server (Notebook, JupyterLab or JupyterHub), a Panel server will be launched when you visit the /panel
endpoint of the server. This will show an index of all applications being served, to launch a particular application visit the corresponding endpoint /panel/<name_of_file>
.
Installation
The jupyter-panel-proxy
is available from pip
:
pip install jupyter-panel-proxy
and conda:
conda install -c pyviz jupyter-panel-proxy
Configuration
The jupyter-panel-proxy provides the ability to configure the proxy server by declaring a jupyter-panel-proxy.yml
in the directory the Jupyter server is being launched from. The yaml
file may declare the following keys:
apps
(list
): A list of applications or glob patterns to servelauncher_entry
(dict
): A jupyter-server-proxy launcher entry specificationfile_types
(list(str)
): A list of file types to serve if no explicit apps list is providedexclude_patterns
(list(str)
): A list of glob/(fnmatch) patterns to exclude specific applicationsindex
(str
): The path to a Bokeh index templateautoreload
(bool
): Whether to automatically reload user sessions when the application or any of its imports change.static_dirs
(list
): A list of dicts mapping from server route to the static directory to be servedwarm
(bool
): Whether to execute scripts on startup to warm up the server.num_procs
(int
): Number of worker processes for an app. Using 0 will autodetect number of cores (defaults to 1)oauth_provider
(str
): The OAuth2 provider to use.oauth-key
(str
): The OAuth2 key to useoauth-secret
(str
): The OAuth2 secret to useoauth-redirect-uri
(str
): The OAuth2 redirect URIoauth_extra_params
(dict
): Additional parameters to the OAuth provider.oauth_jwt_user
(str
): The key in the ID JWT token to consider the user.
Project details
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
Built Distribution
Hashes for jupyter-panel-proxy-0.2.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38816d8ac2b6043e16295d420990d0ef9634eaf7cb57ee9b33f8a845dacb0ad2 |
|
MD5 | 6ef40bda36ad4f4a57f9020367ce2c54 |
|
BLAKE2b-256 | 4894992b0f91388bf98f96399f15e85855009d8cdba2d9ca91a9eddad79e9741 |
Hashes for jupyter_panel_proxy-0.2.0a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | befe328a0fce31c0dc19fafe4e556afdc9b56106d33deaa87c663a1b2c84adf6 |
|
MD5 | 3a15c92fed79bcaeb32cbe652a0f005a |
|
BLAKE2b-256 | 98b5b3d09083895ee00e20e1437c1d6049353bfd75fc460f87171c8d690e6a6a |