Skip to main content

Jupyter SuperKernel

Bring remote Python, MPI, and PyTorch compute into JupyterLab with the Super Kernels sidebar.

jupyter-superkernel adds the JupyterLab interface for signing in to a SuperKernel Gateway, creating remote kernels, selecting them from the normal Jupyter kernel picker, and managing their lifecycle. Notebook execution is provided by the companion superkernel runtime, which is installed automatically.

Features

  • Add and manage multiple SuperKernel Gateways.
  • Create Base Python, MPI, and PyTorch kernels from available runtime images.
  • Choose node, CPU, and memory settings from a compact native JupyterLab UI.
  • See preparing, ready, busy, idle, paused, and error states.
  • Pause, resume, restart, or delete remote kernels.
  • Inspect and clean up local notebook runtime sessions.
  • Use standard Jupyter notebook execution, interruption, and restart actions.
  • Share the same local Gateway and kernel configuration with the SuperKernel VS Code extension.

Requirements

  • Python 3.10 or newer
  • JupyterLab 4
  • Access to a SuperKernel Gateway and a valid API key

Installation

Install the package into the same Python environment that runs JupyterLab:

uv pip install jupyter-superkernel

For a JupyterHub installation, select its Python environment explicitly:

uv pip install --python /path/to/jupyterhub/bin/python jupyter-superkernel

Restart JupyterLab or JupyterHub after installation. The Python server extension and prebuilt JupyterLab extension are included in the wheel; no Node.js build is required.

Getting started

  1. Open JupyterLab and select the Super Kernels icon in the left sidebar.
  2. Under Gateways, choose Add Gateway and enter the Gateway URL and API key supplied by your administrator.
  3. Under Kernels, choose Add Kernel.
  4. Select a logged-in Gateway, runtime image, and compute configuration.
  5. Create or open a notebook and select the new kernel from Jupyter's standard kernel picker.

Kernel cards show their current configuration and status. Lifecycle controls on each card let you pause or resume compute when it is not needed, restart a kernel, or delete it. Local runtime rows identify notebook sessions currently using that remote kernel and provide a targeted cleanup action.

Cells run in submission order. Normal Python cells keep a persistent namespace for that notebook session. Cells beginning with ! or % run as shell commands in the selected remote runtime.

Security

The API key is used only during Gateway login and is not stored. The resulting session is saved in a private local authentication file and never embedded in notebooks or Jupyter kernelspecs. Installed kernelspecs contain only the Gateway address, remote kernel identifier, and a reference to that private authentication file.

Local SuperKernel state is stored under ~/.superkernel with restrictive file permissions so the JupyterLab and VS Code integrations can safely share the same Gateway logins and kernel registrations.

Troubleshooting

If the sidebar does not appear after installation, restart Jupyter and verify that both extensions are enabled:

jupyter server extension list
jupyter labextension list

Both lists should show jupyter_superkernel or jupyter-superkernel as enabled and valid.

Project status

Version 0.9.0 is the first public alpha release. It is intended for evaluation, and its integration contract may still evolve before 1.0.

Learn more at superkernel.leoustc.com.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_superkernel-0.9.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_superkernel-0.9.0-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_superkernel-0.9.0.tar.gz.

File metadata

  • Download URL: jupyter_superkernel-0.9.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for jupyter_superkernel-0.9.0.tar.gz
Algorithm Hash digest
SHA256 2575629b02bf0c1229b0a9deedde73867381643a24e696a7c2d9c4c4e4285d6d
MD5 1f16b399b45abab10bc041a106330e82
BLAKE2b-256 901da1461336672e596806bf2f06d746bac4c41a6709d9edffded73d00d1527d

See more details on using hashes here.

File details

Details for the file jupyter_superkernel-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_superkernel-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 251268dbd44903e42cef526ec61b5077a0c3b97eb828a9dc8324dfeebe471d86
MD5 aa8f40f6d33f01a8bf2e8907dc6021c5
BLAKE2b-256 1daf358585e96e85d1dde95e59f2c25a6c2c9c99031ff45e9b9265ada21425d6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 files

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