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.

Metadata

Release files for jupyter-superkernel 0.9.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-superkernel 0.9.0
File Size Uploaded
jupyter_superkernel-0.9.0.tar.gz 33.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-superkernel 0.9.0
File Interpreter ABI Platform
jupyter_superkernel-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.3 kB

Release files / jupyter_superkernel-0.9.0.tar.gz

Download URL jupyter_superkernel-0.9.0.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2575629b02bf0c1229b0a9deedde73867381643a24e696a7c2d9c4c4e4285d6d
BLAKE2b-256 checksum
How to use checksums
901da1461336672e596806bf2f06d746bac4c41a6709d9edffded73d00d1527d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / jupyter_superkernel-0.9.0-py3-none-any.whl

Download URL jupyter_superkernel-0.9.0-py3-none-any.whl
Size 52.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
251268dbd44903e42cef526ec61b5077a0c3b97eb828a9dc8324dfeebe471d86
BLAKE2b-256 checksum
How to use checksums
1daf358585e96e85d1dde95e59f2c25a6c2c9c99031ff45e9b9265ada21425d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release 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