Metadata-Version: 2.1
Name: jupyter-panel-proxy
Version: 0.2.0a2
Summary: Jupyter Server Proxy for Panel applications
Home-page: https://github.com/holoviz/jupyter-panel-proxy
Author: Julia Signell
Author-email: developers@holoviz.org
Maintainer: HoloViz developers
Maintainer-email: developers@pyviz.org
License: BSD
Project-URL: Bug Tracker, http://github.com/holoviz/jupyter-panel-proxy/issues
Project-URL: Documentation, https://github.com/holoviz/jupyter-panel-proxy/blob/master/README.md
Project-URL: Source Code, https://github.com/holoviz/jupyter-panel-proxy
Platform: Windows
Platform: Mac OS X
Platform: Linux
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: jupyter-server-proxy
Requires-Dist: panel (>=0.11)
Provides-Extra: build
Requires-Dist: param (>=1.7.0) ; extra == 'build'
Requires-Dist: setuptools ; extra == 'build'
Provides-Extra: tests
Requires-Dist: flake8 ; extra == 'tests'
Requires-Dist: twine ; extra == 'tests'
Requires-Dist: rfc3986 ; extra == 'tests'
Requires-Dist: keyring ; extra == 'tests'

# 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 serve
- `launcher_entry` (`dict`): A [jupyter-server-proxy launcher entry specification](https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html#launcher-entry)
- `file_types` (`list(str)`): A list of file types to serve if no explicit apps list is provided
- `exclude_patterns` (`list(str)`): A list of glob/(fnmatch) patterns to exclude specific applications
- `index` (`str`): The path to a Bokeh index template
- `autoreload` (`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 served 
- `warm` (`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 use
- `oauth-secret` (`str`): The OAuth2 secret to use
- `oauth-redirect-uri` (`str`): The OAuth2 redirect URI
- `oauth_extra_params` (`dict`): Additional parameters to the OAuth provider.
- `oauth_jwt_user` (`str`): The key in the ID JWT token to consider the user.


