Skip to main content

build

jupyter-xprahtml5-proxy

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

Requirements

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

This package executes the xpra command. This command assumes the xpra command is available in the environment's $PATH.

Security

Xpra supports password and encryption.
Both are NOT required, if you can trust everyone, who can log in to the host where your JupyterLab is running. (incl. jupyter-server-proxy, jupyter-xprahtml5-proxy and Xpra-HTML5)

BUT (!!!)
if you are on a multiuser system, where you CANNOT trust everyone,
you must(!) ensure that your Xpra session is secured by at least a password.

Currently this requires

Xpra

Xpra is an open-source multi-platform persistent remote display solution for forwarding applications and desktop screens. It allows you to run X11 programs, usually on a remote host, and direct their display to your local machine.
Best of it. It is fast, fast, fast and comes with a build-in html5 client to allow remote.

Jupyter-Server-Proxy

Jupyter-Server-Proxy lets you run arbitrary external processes (such as Xpra-HTML5) alongside your notebook, and provide authenticated web access to them.

Install

Create and Activate Environment

virtualenv -p python3 venv
source venv/bin/activate

Install jupyter-xprahtml5-proxy

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

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

Configuration

This package calls xpra with a bunch of settings. Please read the Xpra manual if you want to know the details.
You have to modify setup_xprahtml5() in jupyter_xprahtml5_proxy/__init__.py for change.

Credits

  • Xpra
  • jupyter-server-proxy

License

BSD 3-Clause

Metadata

Release files for jupyter-xprahtml5-proxy 0.3.5

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-xprahtml5-proxy 0.3.5
File Size Uploaded Provenance Actions
jupyter-xprahtml5-proxy-0.3.5.tar.gz 17.7 kB Without provenance Details for jupyter-xprahtml5-proxy-0.3.5.tar.gz

Built distribution (wheel)

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

Total release size: 33.3 kB

Release files / jupyter-xprahtml5-proxy-0.3.5.tar.gz

Download URL jupyter-xprahtml5-proxy-0.3.5.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71343b98d06d8c36a74a9368c5919414cb77990f01b12c911217391b25935b2b
BLAKE2b-256 checksum
How to use checksums
c43106e5728fdc313b9447b995673db32c1d686c7265a21542a9941be96068d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Release files / jupyter_xprahtml5_proxy-0.3.5-py3-none-any.whl

Download URL jupyter_xprahtml5_proxy-0.3.5-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1938840ae56e41f65495920d82078fb0a031d8a67208ce6519222a5b066e61a
BLAKE2b-256 checksum
How to use checksums
d85499d1f319573692fa0e0a4d84a2bdcf383726ca98ff9838c9a7417c941b09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.6

Security for jupyter-xprahtml5-proxy 0.3.5

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