Skip to main content

jupyterlab_bookmarks_manager_extension

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

Bookmarks for JupyterLab in one side panel. Web pages, files and terminal sessions each have their own section of folders and bookmarks, a fourth section lists the pages recently opened through the lab's server proxy and opens new ones, and a main-area tab whose page, file or terminal is bookmarked carries a ribbon. The context menu of a tab adds it to the bookmarks or removes it, a drag of the tab onto the panel adds it, and a click on a bookmark opens it again.

Bookmarks panel

Features

  • Side panel - A Bookmarks panel in the left side bar; Switch Sidebar Side in the context menu of its side-bar tab moves it to the right
  • Refresh - The Refresh icon button in the panel top bar checks every file bookmark for a missing file and reads the running terminals again, then redraws the sections; the icon spins while it works
  • Filter - The Filter icon button in the panel top bar shows and hides a filter box; typed text narrows the four sections to the bookmarks whose name, URL, path or command contains it and to the Proxy section pages whose title or URL contains it, case ignored; a folder holding a match stays open, and an empty or hidden box shows every row with the fold state unchanged
  • Four sections - Links, Files, Sessions and Proxy, each header showing how many bookmarks or pages the section holds; an empty Links, Files or Sessions section names Add Tab to Bookmarks as the way to fill it, and an empty Proxy section reads No proxy pages
  • Tab menu - Add Tab to Bookmarks in the context menu of a web page, file or terminal tab; on a tab already bookmarked the item reads Remove Tab from Bookmarks, and other tabs, such as the Launcher, show no item
  • Drag a tab - A main-area tab dragged onto the panel is added as a bookmark of the section its kind matches; dropped on a folder row of that section it goes into the folder, and the target section or folder shows a drop mark
  • Folders - New Folder in the + menu of a section header adds a folder at the section root; the folder's context menu renames it, or deletes it and its bookmarks after a confirmation that names how many bookmarks it holds
  • Clear a section - The eraser in a section header removes every bookmark and folder of that section, or every page of the Proxy list, after a confirmation that names the section and its contents; Cancel changes nothing, a filter showing part of the section does not narrow the clear, and the eraser is disabled while the section is empty
  • New Bookmark - New Bookmark... in the + menu of a section header opens the section's edit dialog with empty fields; Save adds the bookmark at the section root, or in the folder chosen in the dialog, and runs the checks of an edit: a link gets its favicon, a missing file is marked, and an environment line with a secret name disables Save
  • Folding - The tree starts expanded; while the filter box is empty, a click on a folder folds and unfolds it; the toggle in a section header folds and unfolds the section, and a folded folder stays folded after a reload
  • Edit and remove - Edit Bookmark... in a bookmark's context menu changes its name and moves it into a folder or back to the section root; Remove Bookmark deletes it
  • Keyboard - The rows of a section are one Tab stop; Up and Down move between rows, and Enter opens a bookmark, reopens a Proxy section page or, while the filter box is empty, folds and unfolds a folder
  • Links - A web tab is saved with its title and the address it shows, and the name and the URL can be edited; a click opens a page on the lab's origin in a lab tab, reusing that tab while it is open, and a page on another origin in a new browser tab
  • Relative lab links - A link to a page of the lab is stored relative to the lab's base URL, so it also opens when the lab is reached under another host name
  • Favicons - Each link shows its page's favicon, stored in the bookmark so a reload shows it without a request; the server fetches the icon of a page on another origin, a URL change fetches the new page's icon, and a page without an icon takes the icon of its tab when the tab has one and shows the generic link icon otherwise
  • Files - A document tab is saved with its file name and its path relative to the Jupyter server root, and its row shows its file-type icon; a click opens the file or activates its open tab, and Reset Name in the edit dialog sets the name back to the file name
  • Missing files - A bookmark whose file does not exist is marked File not found in the panel and in the edit dialog, and a click on it opens no tab; once the file exists again, the next click on the row, a page reload or Refresh clears the mark
  • Sessions - A terminal tab is saved as a recipe: the working directory, the foreground command with its parameters, and the environment variables that differ from the shell's own, read from /proc on a Linux server; a program that runs as the terminal's own process, with no shell above it, such as Claude Code, is saved with its command line and the variables that a new terminal of the lab does not start with; the bookmark is named with the tab title after a leading run of characters that are neither letters nor digits is removed. A terminal whose process cannot be read, such as one under sudo, is not saved, and a message says so; on a system without /proc, such as Windows, the server extension loads and no terminal process can be read
  • Secret variables left out - A variable whose name contains TOKEN, SECRET, PASSWORD, PASSWD, API_KEY or CREDENTIAL, in any case, is never recorded, and the session edit dialog disables Save for one
  • Environment filter - A captured session also leaves out every variable whose name matches an expression of the Session environment filter setting: * matches any run of characters, ? one character and [...] one of a set, case kept; a changed list applies to the next capture without a page reload
  • Environment by hand - A variable name typed into the environment field of the session edit dialog is kept and exported on the next start even when it matches the filter list; the dialog refuses only the names the recording always leaves out
  • Opening a session - A click activates the tab of a terminal that runs the same command in the same directory, where a bookmark with no command matches only a terminal whose own process is a shell that /etc/shells lists, or opens a tab on it when its tab was closed; otherwise it starts a terminal in the stored directory that exports the variables and types the command, and a second click while it starts opens no second terminal
  • Editing a session - The edit dialog changes the name, the command, the working directory and the environment for the next start, and leaves a running terminal and its process alone
  • Proxy - The section below Sessions lists the pages opened through the lab's server proxy by any route - a launcher button or tile, a notification, a typed URL, also while no lab page is open - except the lab itself, newest first, each with its name and age. A notebook output frame of a proxied page and a PDF, image, JSON or CSV opened directly are listed too. A page gets its title as its name, or Proxy :port/path, a query parameter whose name holds token, auth, key, code, state or xsrf is left out of its URL, and a list on the server holds the pages seen until a restart of the server. A click reopens the page the way it was first opened and moves its row to the top, the row's menu adds it to Links or removes it from the list until the page is opened again, the list survives a page reload, and an entry not opened for longer than Proxy days (default 3) leaves it. Each lab page keeps its own list, so a removal or a typed name stays in that page
  • Open Proxy Page - The + button of the Proxy section header, disabled with a tooltip while the lab's server proxy is not installed, opens a dialog with Port, Path, Name and New browser tab; Open opens the page through the proxy, as a lab tab or a browser tab, and lists it in the section. Name follows the service name, the title of the page at the entered port and path, or Proxy :port/path when the page has no title or does not answer; a typed name stays until Reset Name returns the field to the service name
  • Marks - A main-area tab whose page, file or terminal is bookmarked carries a ribbon at its top edge, and the bookmark's panel row a dot; a bookmark whose tab is closed shows the time since its tab was last present instead of the dot, and the row of the current tab is tinted; Marker colour picks the colour, brand by default or red; the marks follow tabs opening, closing and switching without a page reload
  • Storage - Bookmarks are kept in the JupyterLab setting bookmarks of @stellarshenson/jupyterlab-bookmarks-manager-extension:plugin and are the same after a page reload; those saved under the former npm name jupyterlab_bookmarks_manager_extension carry over at the first page load, and the old file is left as it is; a page whose server still runs the old code shows a warning to restart the server and reload the page; a save in one lab window keeps the bookmarks another window saved
  • Command line - jupyterlab-bookmarks add link, add file and add session add a bookmark through the running lab, or write the settings file when no lab is found, in a folder of its section when --folder names an existing one; a session takes a working directory and environment pairs, and the panel shows the bookmark at its next save or after a page reload

Requirements

  • JupyterLab >= 4.6

Install

To install the extension, execute:

pip install jupyterlab_bookmarks_manager_extension

Command line

jupyterlab-bookmarks adds a bookmark through the running lab, found from the environment a JupyterLab terminal sets; with no lab found it writes the settings file the panel reads, and on a platform with no file lock it refuses and says to start the lab. One example per kind:

jupyterlab-bookmarks add link https://docs.python.org/
jupyterlab-bookmarks add file notebooks/report.ipynb --folder Reports
jupyterlab-bookmarks add session "python train.py" --cwd ~/work --env CUDA_VISIBLE_DEVICES=0

Each command prints the new bookmark's id. jupyterlab-bookmarks --help carries every flag, the environment variables it reads, including JUPYTERLAB_SETTINGS_DIR, and the exit codes. A folder must exist in the panel before --folder names it, and the panel shows an added bookmark at its next save or after a page reload.

The agent skill that operates the command line is in the wheel at share/jupyter/agents/skills/jupyterlab-bookmarks-manager-extension and in the repository at .agents/skills/jupyterlab-bookmarks-manager-extension. Link it where an agent looks for skills:

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

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_bookmarks_manager_extension

Metadata

Release files for jupyterlab-bookmarks-manager-extension 0.7.112

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-bookmarks-manager-extension 0.7.112
File Size Uploaded Provenance Actions
jupyterlab_bookmarks_manager_extension-0.7.112.tar.gz 976.8 kB Without provenance Details for jupyterlab_bookmarks_manager_extension-0.7.112.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / jupyterlab_bookmarks_manager_extension-0.7.112.tar.gz

Download URL jupyterlab_bookmarks_manager_extension-0.7.112.tar.gz
Size 976.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4f20ddd5a10669b45196e4da15bdaa1c36a8f45ac2d0b786abe541167722c081
BLAKE2b-256 checksum
How to use checksums
a30ec7123d3fd66cc06075450abc2c8f64062eef14a47317c452ebbd3b46cd02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_bookmarks_manager_extension-0.7.112-py3-none-any.whl

Download URL jupyterlab_bookmarks_manager_extension-0.7.112-py3-none-any.whl
Size 67.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
416e7e4d5f16115e1a6b906a28d44e981999aae2bd22b3b7271f1c4922715d50
BLAKE2b-256 checksum
How to use checksums
fba45fdc0e9bd7182a918271753ad08377a231037fb6169e74124b54c200b2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-bookmarks-manager-extension 0.7.112

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