jupyterlab_bookmarks_manager_extension
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.
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, or that the folder is empty
- 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; Clear is the default action, so Enter confirms it; Cancel or Escape 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 row shows its app's favicon, read when the row is added or, while the row has none, at its next open, at most once per lab page load, else the web icon its lab tab shows, or the link icon where the tab shows none. The pages of one proxied port share one row: another page on that port, a link followed inside the app included, renames the row and moves it to the top, a route change inside a single-page app loads no page and leaves the name as it is, and the row keeps the address it was first opened at. 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, a lab tab named by the page it opens, labelled Proxy :port/path until that page loads when a later page renamed the row, and moves its row to the top, the row's menu adds it to Links, at the address of the page that named the row, or removes it from the list until the page is opened again from outside the app, 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
bookmarksof@stellarshenson/jupyterlab-bookmarks-manager-extension:pluginand are the same after a page reload; those saved under the former npm namejupyterlab_bookmarks_manager_extensioncarry 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 fileandadd sessionadd a bookmark through the running lab, or write the settings file when no lab is found, in a folder of its section when--foldernames 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 1.0.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_bookmarks_manager_extension-1.0.27.tar.gz | 1.0 MB | Without provenance | Details for jupyterlab_bookmarks_manager_extension-1.0.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_bookmarks_manager_extension-1.0.27-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_bookmarks_manager_extension-1.0.27-py3-none-any.whl |
Total release size: 1.1 MB
Release files / jupyterlab_bookmarks_manager_extension-1.0.27.tar.gz
| Download URL | jupyterlab_bookmarks_manager_extension-1.0.27.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35ed20541ce6a887a3f4e6a4ceb7e6290012960cd02fe195220ca29a7ae4f7bb
|
|
BLAKE2b-256 checksum How to use checksums |
ecc64822f1417dae1a37f52580ad4fc74a624c9867c179d41da1bc52a93adbca
|
| 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-1.0.27-py3-none-any.whl
| Download URL | jupyterlab_bookmarks_manager_extension-1.0.27-py3-none-any.whl |
|---|---|
| Size | 69.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1df22b6c20891647e6a819c775a2c29ec4ff8c6a9d0417914a8b2478651855ab
|
|
BLAKE2b-256 checksum How to use checksums |
f5ef3901ea6803b29a83a5d79717f715bf90f0d67eeb2a1358cf5af953a41ac1
|
| 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 1.0.27
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.