Skip to main content

Jupyter server extension to supervise and proxy web services

Project description

Jupyter Server Proxy

ReadTheDocs badge GitHub Workflow Status PyPI badge Conda badge NPM badge

Jupyter Server Proxy lets you run arbitrary external processes (such as RStudio, Shiny Server, Syncthing, PostgreSQL, Code Server, etc) alongside your notebook server and provide authenticated web access to them using a path like /rstudio next to others like /lab. Alongside the python package that provides the main functionality, the JupyterLab extension (@jupyterlab/server-proxy) provides buttons in the JupyterLab launcher window to get to RStudio for example.

Note: This project used to be called nbserverproxy. As nbserverproxy is an older version of jupyter-server-proxy, uninstall nbserverproxy before installing jupyter-server-proxy to avoid conflicts.

The primary use cases are:

  1. Use with JupyterHub / Binder to allow launching users into web interfaces that have nothing to do with Jupyter - such as RStudio, Shiny, or OpenRefine.
  2. Allow access from frontend javascript (in classic notebook or JupyterLab extensions) to access web APIs of other processes running locally in a safe manner. This is used by the JupyterLab extension for dask.

The documentation contains information on installation & usage.

Install

Requirements

  • jupyterlab>=2 or notebook

Python package

pip

pip install jupyter-server-proxy

conda

conda install jupyter-server-proxy -c conda-forge

JupyterLab extension

Note that as the JupyterLab extension only is a graphical interface to launch registered applications in the python package, the extension requires the python package to be installed.

As of version 3.0.0 the Python package ships with a JupyterLab 3 compatible extension, making this step only needed for JupyterLab 2.

jupyter labextension install @jupyterlab/server-proxy

Disable

Server extension

jupyter serverextension disable jupyter_server_proxy

Notebook classic extension

jupyter nbextension disable --py jupyter_server_proxy

JupyterLab extension

Note that the extension name provided to the command (jupyterlab-server-proxy) does not correspond to the extension package name (@jupyterlab/server-proxy). The jupyter labextension list will incorrectly report the extension as still being enabled after executing the disable command. This will be fixed in the next major release of jupyter-server-proxy.

jupyter labextension disable jupyterlab-server-proxy

Local development

See CONTRIBUTING.md.

Project details


Download files

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

Source Distribution

jupyter-server-proxy-3.2.2.tar.gz (121.4 kB view details)

Uploaded Source

Built Distribution

jupyter_server_proxy-3.2.2-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file jupyter-server-proxy-3.2.2.tar.gz.

File metadata

  • Download URL: jupyter-server-proxy-3.2.2.tar.gz
  • Upload date:
  • Size: 121.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for jupyter-server-proxy-3.2.2.tar.gz
Algorithm Hash digest
SHA256 54690ea9467035d187c930c599e76065017baf16e118e6eebae0d3a008c4d946
MD5 fa893af0b9868540db8de3b91cb0908f
BLAKE2b-256 bc72c3eefe70c8fe9fec67114076822f7a80478fbe8322801b0367b17a40b26b

See more details on using hashes here.

File details

Details for the file jupyter_server_proxy-3.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_server_proxy-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9420814a2f0ef629bd343b4f4e971d6a5ebceb56eabefd6ba03f590fe698cb82
MD5 97e9eb4459df8ef5a05b1132322bc4e0
BLAKE2b-256 53e635f9cf3fea354aa2befae9f34534e3312f0d719361585a5ada3ced3f73f8

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page