Skip to main content

build

jupyter-codeserver-proxy

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

ATTENTION:
code-server has no official support for passing the password/token via url-parameters. Sad thing, a pull request was not merged [more]. Hence, we need to disable authentication at the moment completly with --auth=none [more]. This allows any user who can access localhost:port of the machine running the code-server to use it - even if he is not authorized to do so. An alternative solution to close this security hole might be to use unix sockets instead of ports. As soon as this is fully supported by jupyter-server-proxy we will switch [more].

Requirements

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

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

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

Install

Create and Activate Environment

virtualenv -p python3 venv
source venv/bin/activate

Install jupyter-codeserver-proxy

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

Enable jupyter-codeserver-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 code-server icon from the Jupyter Lab Launcher or the code-server item from the New dropdown in Jupyter Classic.
Connect to your database as instructed in the Quickstart section.

Configuration

This package calls code-server with a bunch of settings.
You have to modify setup_codeserver() in jupyter_codeserver_proxy/__init__.py for change.

Credits

License

BSD 3-Clause

Metadata

Release files for jupyter-codeserver-proxy 0.1.0

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-codeserver-proxy 0.1.0
File Size Uploaded Provenance Actions
jupyter-codeserver-proxy-0.1.0.tar.gz 6.9 kB Without provenance Details for jupyter-codeserver-proxy-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.0 kB

Release files / jupyter-codeserver-proxy-0.1.0.tar.gz

Download URL jupyter-codeserver-proxy-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1550a52bc821ef55f305bfd3766f92b18b1a19417940e555b26fa5fb90f47f27
BLAKE2b-256 checksum
How to use checksums
2015d51640d6dd17acb12dbaf59e677ebf34fbf9f04f27d44f6460c807f7d96c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Release files / jupyter_codeserver_proxy-0.1.0-py3-none-any.whl

Download URL jupyter_codeserver_proxy-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1907413aed24af11e883c0aee2e9fff8fe3cdca9ce9814674fcb510a26fb3ba8
BLAKE2b-256 checksum
How to use checksums
3cc72ca178ace4c776bb730b5c91502f62d545447853c7c086488f945054a582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Security for jupyter-codeserver-proxy 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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