GithubHelp home page GithubHelp logo

akhilputhiry / jupyter-server-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jupyterhub/jupyter-server-proxy

1.0 1.0 0.0 1.01 MB

Jupyter notebook server extension to proxy web services.

Home Page: https://jupyter-server-proxy.readthedocs.io

License: BSD 3-Clause "New" or "Revised" License

JavaScript 2.19% Python 90.68% TypeScript 4.13% RobotFramework 2.87% HTML 0.13%

jupyter-server-proxy's Introduction

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.

jupyter-server-proxy's People

Contributors

athornton avatar betatim avatar bollwyvl avatar cmd-ntrf avatar consideratio avatar dependabot[bot] avatar derekheldtwerle avatar dipanjank avatar gbrault avatar heatwole avatar iagomez avatar ian-r-rose avatar jacobtomlinson avatar janjagusch avatar janjaguschqc avatar jtpio avatar lsetiawan avatar ltalirz avatar mahnerak avatar manics avatar maresb avatar minrk avatar oeway avatar rcthomas avatar rmorshea avatar rschroll avatar ryanlovett avatar willingc avatar xhochy avatar yuvipanda avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.