Skip to main content

Workspace panel for JupyterLab

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

This extension replaces the built-in Running Terminals and Kernels sidebar with a panel organised by workspace: a WORKSPACES section with one card per workspace, then KERNELS, TERMINALS and LANGUAGE SERVERS sections listing everything that runs. One section at a time is open: the three lab sections stand at the bottom of the panel only while WORKSPACES is open and fills the height above them, and otherwise they follow WORKSPACES from the top.

The workspace panel

Fig 1 - The workspace panel beside a notebook of the workspace this window shows

Why a workspace panel

Developers and data scientists now run several projects at once: they start an agent on one project and work on another while it runs. Each project holds its own tabs, terminals and kernels in a JupyterLab workspace, and the built-in Running panel lists all of them in one flat list, so a terminal from one project sits beside a kernel from another with nothing to tell them apart.

The panel groups them by workspace: what each project holds, what is running in it, and how long ago it was used, with one click to switch to it.

Features

  • Workspace section - an edge tab at the panel's left edge with the colour strip, the name and its row count in brackets, the age and, while the card is open, the purpose; the header and the rows carry the workspace colour, and this window's card has an outline
  • Triangle - opens or closes a section
  • Several cards - any number of workspace cards stay open at once, and closing one leaves the others open
  • Tab rows - an open card lists its tabs in one list, each marked by its icon; a document with a running kernel shows the kernel icon beside its own icon and the kernel's state, and a right-click offers Close tab, Detach from workspace, Move to workspace, and Stop terminal or Shut down kernel; Detach from workspace takes the tab out and leaves its terminal or kernel running, and Move to workspace sends the tab to another workspace; the row of this window's current tab carries a pale tint
  • Header - a click on the name of another workspace switches this window to it, a click on this window's workspace opens its card or closes it, and a header carries the eye that hides the workspace
  • Menu - a right-click on the header, or the context-menu key on the focused header, opens it: open, open in a new browser tab, clear workspace, set description, colour, hide, move up, move down, delete
  • Card order - the cards keep one fixed order that switching workspaces does not change, a drag or Move up and Move down moves a card, and a new workspace goes last
  • Hide - a hidden workspace leaves the panel, and the number of hidden workspaces sits under the last card of WORKSPACES
  • Kernels, terminals and language servers - three sections docked below the workspaces, always in view, for every running kernel and terminal, in a workspace or not, and the running language servers, each section with its count; the KERNELS and TERMINALS bands carry a shut down menu with Shut down all and Shut down detached, detached meaning no workspace holds the item, and the LANGUAGE SERVERS band a single shut down all, so a background terminal or a headless kernel with no tab stays listed; the WORKSPACES band carries a clean up button that removes the other workspaces after a confirmation
  • One section at a time - opening a section closes the others, an open WORKSPACES takes the height above the three lab bands, any other open section is as tall as its rows, every open section scrolls when its rows exceed the height, and a reload keeps the same section open
  • Kernel rows - a KERNELS row shows the status dot, the name, the memory and the time; select it for the kernel type, the document and the CPU use
  • Terminal rows - a TERMINALS row of a numbered terminal shows its number in a small rectangle badge, in the colour of the first workspace that holds the terminal, or in an empty box when no workspace does, and a named terminal its name; a card row drops that label and shows the name of its tab, or the process running in it while the tab has no name of its own; the path of that process stands in the free width with its end in view, and the time since its last activity follows, all without selection
  • Tooltips - hover a tab, terminal, kernel or language server for its details on several lines; a terminal's shows its number, tab, process, command, path, memory, last activity with the exact time, and a Workspaces line naming every workspace that holds it or none; a kernel's adds a memory line
  • Filter - shows the workspaces whose name, purpose or rows match, and opens each of them
  • New workspace - the + button on the WORKSPACES band, left of the clean up button, creates a workspace and asks for its name and an optional description
  • Command line - the jupyterlab-workspace tool drives the same workspaces, terminals and kernels from a shell, switches a window to a workspace and activates a tab
  • Lab pages - the workspace-page:open command takes the arguments of server-proxy:open, {url, title?, id?, newBrowserTab?}, beside icon? and policy?, and shows a locally served page in a main-area tab; a page under the lab's /proxy/<port>/ gets the sandbox server-proxy:open gives, so it keeps the lab session, storage, cookies and POSTs, and any other URL is sandboxed to allow-scripts, so its scripts run but it has no lab session, storage or cookies; policy.sandbox replaces either sandbox, null removes it, and allow, referrerPolicy and csp set their iframe attributes; newBrowserTab: true opens the URL in a new browser tab instead, and id becomes the id of the tab's content; opening a page on the port of an open page tab, or with its id, reuses that tab and loads the URL again; a page document on the lab's origin is fetched past the browser cache first, so a page the server rewrote shows its new content, while the scripts, styles and data the page loads follow their server's caching headers, so a page with separate files needs a server that sends Cache-Control: no-store; the tab takes the given title, or the page's own while it keeps the lab origin, and icon sets its icon from an image URL (svg or png), while without it the tab shows the standard page icon (a comment bubble); a malformed argument is refused before any tab opens

Requirements

The extension needs JupyterLab 4.6 or later.

Install

Install the package from PyPI.

pip install jupyterlab-workspace-manager-extension

Command line

jupyterlab-workspace manages a running lab from a shell: workspaces list, add, open, describe, remove, clean and switch, tabs list and tabs activate, windows list, and terminals and kernels, each with list and kill.

Run jupyterlab-workspace --help for the commands, the environment variables that name the lab, and the exit codes.

Agent skill

The jupyterlab-workspace command ships an agent skill at .agents/skills/jupyterlab-workspace-manager-extension/SKILL.md. Link it where your agents read skills.

After pip install, with the Python that runs the lab:

mkdir -p ~/.agents/skills && ln -s "$(python -c 'import sys; print(sys.prefix)')/share/jupyter/agents/skills/jupyterlab-workspace-manager-extension" ~/.agents/skills/jupyterlab-workspace-manager-extension

From a clone:

ln -s "$PWD/.agents/skills/jupyterlab-workspace-manager-extension" ~/.claude/skills/jupyterlab-workspace-manager-extension

Uninstall

Remove the package.

pip uninstall jupyterlab-workspace-manager-extension

Metadata

Release files for jupyterlab-workspace-manager-extension 0.8.39

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-workspace-manager-extension 0.8.39
File Size Uploaded Provenance Actions
jupyterlab_workspace_manager_extension-0.8.39.tar.gz 965.9 kB Without provenance Details for jupyterlab_workspace_manager_extension-0.8.39.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-workspace-manager-extension 0.8.39
File Interpreter ABI Platform Actions
jupyterlab_workspace_manager_extension-0.8.39-py3-none-any.whl Python 3 none any Details for jupyterlab_workspace_manager_extension-0.8.39-py3-none-any.whl

Total release size: 1.1 MB

Release files / jupyterlab_workspace_manager_extension-0.8.39.tar.gz

Download URL jupyterlab_workspace_manager_extension-0.8.39.tar.gz
Size 965.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1542a84c1cb8b4aa3f2960e9c7be2c0bac63f3d3904d2f010bceba270a5e84f2
BLAKE2b-256 checksum
How to use checksums
32058edc39985cc86ca7227fd23f77eb957d07da68279f7b28f68e4796481818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_workspace_manager_extension-0.8.39-py3-none-any.whl

Download URL jupyterlab_workspace_manager_extension-0.8.39-py3-none-any.whl
Size 136.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b649b1c36b095e98ebebbeb16876b1c7e1dc7b795c9da0076c8f801a975ec542
BLAKE2b-256 checksum
How to use checksums
2647ffb83f4dee4ff5c99c24c429681fa30893906339d7978ecff9618fcd0203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-workspace-manager-extension 0.8.39

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