Skip to main content

jupyterlab_nb_venv_kernels_ui_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

Context menu extension for kernel launcher cards. Right-click on any kernel to navigate to its project directory, open a terminal, or manage the virtual environment. Intended to complement nb_venv_kernels for workspace management.

Features

Context Menu (right-click on kernel launcher card):

  • Show in File Browser - Navigate to the kernel's project root
  • Open Terminal at Location - Open terminal at the kernel's project directory
  • Unregister Kernel - Remove kernel from registry (requires nb_venv_kernels)
  • Remove Environment (dangerous) - Permanently delete local .venv environments with confirmation (requires nb_venv_kernels)

Kernel Menu (provided by nb_venv_kernels):

  • Scan for Virtual Environments - Discover and register new virtual environments in your workspace

General:

  • Project-aware navigation - For .venv environments, navigates to project root (one level up from .venv)
  • Dynamic kernel support - Works with nb_conda_kernels and nb_venv_kernels providers
  • Kernel details on hover - The card's tooltip shows kernel name, kind, executable, resource directory and environment path
  • Shared display names refused - When kernels in different directories share one display name, every menu action refuses and names the colliding kernels

Requirements

  • JupyterLab >= 4.0.0

Install

pip install jupyterlab-nb-venv-kernels-ui-extension

Agent Skill

.agents/skills/jupyterlab-nb-venv-kernels-ui-extension/SKILL.md tells an AI coding assistant how to manage these kernels from the shell with the nb_venv_kernels CLI. pip install puts a copy in share/jupyter/agents/skills/ under the Python environment. No agent reads that directory, so link it into the agent skills directory. Run this where python is the Python that runs the lab, not an activated project venv:

d="$(python -c 'import sysconfig; print(sysconfig.get_paths()["data"])')/share/jupyter/agents/skills/jupyterlab-nb-venv-kernels-ui-extension"
ls "$d/SKILL.md" >/dev/null &&
  mkdir -p ~/.agents/skills &&
  ln -sfn "$d" ~/.agents/skills/jupyterlab-nb-venv-kernels-ui-extension

When there is no copy under that Python's data directory, ls prints the missing path, the command stops with a non-zero exit, and any existing link stays. That happens in a project venv, and after pip install --user; for that install, put python -m site --user-base in place of the python -c '...' call in the first line. Claude Code reads ~/.claude/skills, not ~/.agents/skills; for Claude Code, put ~/.claude/skills in place of ~/.agents/skills in the last two lines.

Agents that read .agents/skills also find the skill in a clone of this repository. To make it available to Claude Code everywhere, link it from the root of a clone:

mkdir -p ~/.claude/skills &&
  ln -sfn "$PWD/.agents/skills/jupyterlab-nb-venv-kernels-ui-extension" ~/.claude/skills/jupyterlab-nb-venv-kernels-ui-extension

When a copied directory, not a link, already sits at the link path of either command, ln puts the new link inside it and the agent keeps reading the copy; move that directory out of the skills directory, then run the command again.

Uninstall

pip uninstall jupyterlab_nb_venv_kernels_ui_extension

Metadata

Release files for jupyterlab-nb-venv-kernels-ui-extension 1.2.34

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-nb-venv-kernels-ui-extension 1.2.34
File Size Uploaded
jupyterlab_nb_venv_kernels_ui_extension-1.2.34.tar.gz 623.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-nb-venv-kernels-ui-extension 1.2.34
File Interpreter ABI Platform
jupyterlab_nb_venv_kernels_ui_extension-1.2.34-py3-none-any.whl Python 3 none any Details

Total release size: 673.8 kB

Release files / jupyterlab_nb_venv_kernels_ui_extension-1.2.34.tar.gz

Download URL jupyterlab_nb_venv_kernels_ui_extension-1.2.34.tar.gz
Size 623.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1dc02f2e154bc8cadc882cd3f7b90aadc8862e964ca5f34b027d80f940bfe7f3
BLAKE2b-256 checksum
How to use checksums
31b594c85ae12aa55c402756e137a33819a44e327d94bd890b73473c8ad8c100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / jupyterlab_nb_venv_kernels_ui_extension-1.2.34-py3-none-any.whl

Download URL jupyterlab_nb_venv_kernels_ui_extension-1.2.34-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
099c0cdaa68f356bb61e9a1296120f739f583771eb70222557e6a760d3d39973
BLAKE2b-256 checksum
How to use checksums
7c766a9ff1b234da072bc0fb1d9470c4af0d249af354c0d5e9616f2917e8884d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

1.2.34 This release

2 release files

1.2.32

2 release files

1.2.31

2 release files

1.2.28

2 release files

1.2.27

2 release files

1.2.26

2 release files

1.2.24

2 release files

1.2.22

2 release files

1.2.21

2 release files

1.2.19

2 release files

1.2.17

2 release files

1.2.14

2 release files

1.2.13

2 release files

1.2.11

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