Skip to main content

build

jupyter-openvscodeserver-proxy

Integrate OpenVSCode-Server in your Jupyter environment for an fast, feature-rich and easy to use remote desktop in the browser.


Jupyter-openvscodeserver-proxy example

Requirements

  • Python 3.6+
  • Jupyter Notebook 6.0+
  • JupyterLab >= 3.x
  • jupyter-server-proxy >= 3.2.3
  • OpenVSCode-server >= 1.97.0

Configuration

This package executes the openvscode-server command.
It tries to find the openvscode-server executable checking the following:

    1. environment variable $OPENVSCODESERVER_BIN
    1. <dir-of-__init__.py>/bin/openvscode-server
    1. which openvscode-server (searching standard $PATH)
    1. special locations:
      • /opt/openvscode-server/bin/openvscode-server

The jupyter-openvscodeserver-proxy can be configures via the following environment variables

  • JUPYTER_OPENVSCODE_PROXY_TIMEOUT = <int> , default = 60

    • Specifies how long jupyter-openvscodeserver-proxy shall wait for the OpenVSCode-Server to startup until it gives up.
  • JUPYTER_OPENVSCODE_PROXY_USE_SOCKET = 'FALSE' | 'TRUE' , default = FALSE

    • Use unix sockets for highest security standards.
  • JUPYTER_OPENVSCODE_PROXY_DEBUG = 'FALSE' | 'TRUE' , default = FALSE

    • Enable to print some log messages to stderr.
  • JUPYTER_OPENVSCODE_PROXY_DEFAULT_FOLDER = <path>, default = None

    • Specifies the directory that OpenVSCode will use as default folder.
  • JUPYTER_OPENVSCODE_PROXY_SERVER_DATA_DIR = <path>

    • Specifies the directory that server data is kept in. If not set the default is used.
  • JUPYTER_OPENVSCODE_PROXY_USER_DATA_DIR = <path>

    • Specifies the directory that user data is kept in. If not set the default is used.
  • JUPYTER_OPENVSCODE_PROXY_EXTENSIONS_DIR = <path>

    • Specifies the directory that extensions are kept in. If not set the default is used.

Install

Create and Activate Environment

virtualenv -p python3 venv
source venv/bin/activate

Install jupyter-openvscodeserver-proxy

pip install git+https://github.com/FZJ-JSC/jupyter-openvscodeserver-proxy.git

Enable jupyter-openvscodeserver-proxy extensions

For Jupyter Classic, activate the jupyter-server-proxy extension:

jupyter serverextension enable --sys-prefix jupyter_server_proxy

For Jupyter Lab, install the @jupyterlab/server-proxy extension:

jupyter labextension install @jupyterlab/server-proxy
jupyter lab build

Start Jupyter Classic or Jupyter Lab

Click on the openvscode-server icon from the Jupyter Lab Launcher or the openvscode-server item from the New dropdown in Jupyter Classic.
Connect to your database as instructed in the Quickstart section.

This package calls openvscode-server with a bunch of settings.

Credits

License

BSD 3-Clause

Metadata

Release files for jupyter-openvscodeserver-proxy 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyter-openvscodeserver-proxy 0.9.3
File Size Uploaded Provenance Actions
jupyter_openvscodeserver_proxy-0.9.3.tar.gz 9.1 kB Without provenance Details for jupyter_openvscodeserver_proxy-0.9.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-openvscodeserver-proxy 0.9.3
File Interpreter ABI Platform Actions
jupyter_openvscodeserver_proxy-0.9.3-py3-none-any.whl Python 3 none any Details for jupyter_openvscodeserver_proxy-0.9.3-py3-none-any.whl

Total release size: 18.1 kB

Release files / jupyter_openvscodeserver_proxy-0.9.3.tar.gz

Download URL jupyter_openvscodeserver_proxy-0.9.3.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
72cbd1d86af403b441b42e7f568feda910fc8d978611840ecd228f7c090d9255
BLAKE2b-256 checksum
How to use checksums
23098769e6fa349484bff61f120c1eeec00200bb7484cbd9bf7ea6f7dd16d148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Release files / jupyter_openvscodeserver_proxy-0.9.3-py3-none-any.whl

Download URL jupyter_openvscodeserver_proxy-0.9.3-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1fb03f9f599266e77e06110323a0f91ba582a820caa3f9490605a3bcd80ca85
BLAKE2b-256 checksum
How to use checksums
11226f9d6e3338e866e1895a548ae675b0f92687a59593024354e5df026d1552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.18

Security for jupyter-openvscodeserver-proxy 0.9.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page