Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jupyter notebook server extension to proxy web services.

License

NotificationsYou must be signed in to change notification settings

jupyterhub/jupyter-server-proxy

ReadTheDocs badgeGitHub Workflow StatusPyPI badgeConda badgeNPM badge

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

Note: This project used to be callednbserverproxy. Asnbserverproxy is an older version of jupyter-server-proxy, uninstallnbserverproxy before installing jupyter-server-proxy to avoid conflicts.

The primary use cases are:

  1. Use with JupyterHub / Binder to allow launching users into webinterfaces that have nothing to do with Jupyter - such as RStudio,Shiny, or OpenRefine.
  2. Allow access from frontend javascript (in classic notebook orJupyterLab extensions) to access web APIs of other processes runninglocally in a safe manner. This is used by theJupyterLabextension fordask.

The documentationcontains information on installation & usage.

Security warning

Jupyter Server Proxy is often used to start a user defined process listening tosome network port (e.g.http://localhost:4567) for a user starting a Jupyter Serverthat only that user has permission to access. The user can then access thestarted process proxied through the Jupyter Server.

For safe use of Jupyter Server Proxy, you should ensure that the process startedby Jupyter Server proxy can't be accessed directly by another user and bypassthe Jupyter Server's authorization!

A common strategy to enforce access proxied via Jupyter Server is to startJupyter Server within a container and only allow network access to the JupyterServer via the container.

For more insights, seeRyan Lovett's comment aboutit.

Install

Python package

pip

pip install jupyter-server-proxy

conda

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

Jupyter Client Extensions

A JupyterLab and Notebook extension is bundled with the Python package toprovide:

  • servers in theNew dropwdown of the Notebook Tree view
  • launch buttons in JupyterLab's Launcher panel for registered server processes.
    • a screenshot of the JupyterLab Launcher

Client compatibility

For historical compatibility ranges, see the table below:

jupyter-server-proxynotebookjupyterlab
4.1.x>=6,<8>=3,<5
4.0.x>=6,<7>=3,<4
3.x>=6,<7>=2,<4

Disable

Server extension

jupyter serverextension disable --sys-prefix jupyter_server_proxyjupyter server extension disable --sys-prefix jupyter_server_proxy

Notebook Classic extension

jupyter nbextension disable --sys-prefix --py jupyter_server_proxy

JupyterLab extension

jupyter labextension disable @jupyterhub/jupyter-server-proxy

Local development

To setup a local development environment, see thecontributing guide.

About

Jupyter notebook server extension to proxy web services.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors72


[8]ページ先頭

©2009-2025 Movatter.jp