skillfed

jupyter-http-over-ws

Jupyter support for HTTP-over-ws

jupyter-http-over-ws v0.0.8 290.7K downloads/30d#7,982 on PyPI267
Permissive license Apache 2.0 Abandoned released

What it is and what it does

jupyter-http-over-ws is a Jupyter server extension that works around browser same-origin policy restrictions by proxying HTTP traffic through WebSocket connections. Browsers block cross-domain HTTP requests to localhost but permit WebSocket communication to the same origin, making this extension useful for scenarios like Google Colab where a frontend needs to communicate with a local Jupyter server.

The extension adds a /http_over_websocket endpoint to the Tornado-based notebook server and requires explicit trust configuration via the allow_origin flag. It depends on notebook, tornado, six, and enum34, and operates as a pure Python wheel with low installation friction. However, the project is archived and abandoned since late 2022, with the last release in March 2020, meaning it receives no maintenance or updates.

Use it for:

  • Enable Google Colab or other hosted Jupyter frontends to communicate with a local Jupyter notebook server via WebSocket tunneling.
  • Proxy HTTP requests from a browser-based notebook interface to localhost when cross-origin policies would normally block direct HTTP.
  • Set up development environments where a remote or sandboxed notebook UI needs controlled access to a local kernel.
  • Work around browser security restrictions in custom Jupyter deployments that require cross-domain communication.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds a WebSocket-based HTTP proxy endpoint to Jupyter notebook servers, enabling cross-domain HTTP communication from browsers to localhost that would otherwise be blocked.

No. The package is abandoned (archived repository, no commits since 2022-11-09, last release March 2020) and its dependencies (six, enum34, tornado, notebook) have evolved significantly since then. Unless you are maintaining legacy code that already uses it, the lack of maintenance creates compatibility and security risks with modern Jupyter and Python versions. Consider alternatives or evaluate whether the underlying use case still applies to current Jupyter architecture.

Install

jupyter-http-over-ws on PyPI

pip

pip install jupyter-http-over-ws

uv

uv add jupyter-http-over-ws

poetry

poetry add jupyter-http-over-ws

Installing jupyter-http-over-ws

Before you install

Installation is straightforward with low friction, but the package is abandoned as of 2022-11-09 with no maintenance since the latest release on 2020-03-12. The repository is archived and no updates are planned.

License in practice

Licensed under Apache 2.0 (permissive), which allows commercial and private use with minimal restrictions, though you assume responsibility for any issues since the project is no longer maintained.

Quickstart

pip install jupyter_http_over_ws
jupyter serverextension enable --py jupyter_http_over_ws
jupyter notebook --NotebookApp.allow_origin='https://www.example.com' --port=8081

Requires an active browser session with a valid auth cookie before WebSocket connections will be accepted; see documentation on security setup.

Verify before relying

  • Compatibility with current Jupyter and notebook versions (last release was 2020-03-12)
  • Whether enum34 dependency is still necessary for modern Python versions
  • Current state of tornado and six compatibility with modern releases

Package facts

License Apache 2.0 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 4 — notebook, six, tornado, enum34
Maintenance abandoned — 2,346 days since the last release
Last repo commit (repository archived)
First released
Downloads 290,738/month — #7,982 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: jupyter_http_over_ws-0.0.8-py2.py3-none-any.whl

Keywords: google, colab, ipython, jupyter, http_over_ws

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Topic :: Internet :: WWW/HTTP

Tags

jupyter websocket http proxycross-domain jupyter notebookhttp over websocketjupyter server extensionlocalhost http from browserjupyter colab integrationwebsocket jupyter tunnel
jupyter-extensionabandoned

More WWW/HTTP packages