Skip to main content

jupyterlab-cell-navigation-rail

PyPI Build Binder

An opt-in, compact left-margin Cell Navigation Rail for JupyterLab 4 and Jupyter Notebook 7.

Try it online with Binder in JupyterLab or Jupyter Notebook 7.

Each cell in the notebook is represented by a uniform horizontal bar in a fixed-height rail on the left edge, inspired by margin bookmark indicators in ePub readers and compact overview rails. Hovering a bar previews the cell (code, Markdown, or error traceback) with native Jupyter typography, and clicking jumps straight to that cell.

Motivation

Navigating long notebooks to revisit a cell or spot failed runs usually means scrolling through the document or opening a side panel. Existing tools solve adjacent problems:

  • Table of Contents requires Markdown headings and opens a sidebar.
  • Show Minimap (View -> Appearance -> Show Minimap) shows a scrollable strip of scaled cell source previews along the right scrollbar.

Cell Navigation Rail focuses on a minimal, fixed-height glanceable margin rail:

  • Opt-in by default (default: false): Disabled until enabled in the View menu or Settings.
  • Uniform horizontal bars (12px x 2px, expanding subtly on hover): Neutral for idle cells, brand blue for the active cell, pulsing warning accent while running, and red when a cell output contains an error.
  • Hover preview cards: Shows cell prompt, type, position (2 / 5), truncated code/Markdown lines, remaining line count, and error tracebacks with a status-colored accent border using native --jp-* tokens.
  • One-click jump: Selecting any bar scrolls to and focuses that cell.
  • Works in JupyterLab 4 and Jupyter Notebook 7.

Screenshots

Light Theme — View Menu & Error Preview

View menu toggle

Light theme rail and error preview

Dark Theme & Native Token Adaptation

Dark theme rail and error preview

Comparison with Built-in Minimap

Cell Navigation Rail (compact fixed-height bars + hover preview on the left) alongside JupyterLab's scrollable code Minimap (on the right):

Navigation rail vs built-in minimap

Jupyter Notebook 7

Jupyter Notebook 7 navigation rail

Requirements

  • Python >= 3.10
  • JupyterLab >= 4.0.0 (or Jupyter Notebook >= 7.0.0)

Install

Install from PyPI:

pip install jupyterlab-cell-navigation-rail

You can also search for jupyterlab-cell-navigation-rail in JupyterLab’s built-in Extension Manager.

Usage

Toggle the rail from:

  • View -> Show Cell Navigation Rail
  • Command Palette: Show Cell Navigation Rail
  • Settings Editor: Cell Navigation Rail -> Show cell navigation rail

Development install

git clone https://github.com/saitejagirada/jupyterlab-cell-navigation-rail.git
cd jupyterlab-cell-navigation-rail

pip install -e .
jupyter labextension develop . --overwrite

Rebuild TypeScript and run checks:

jlpm
jlpm run lint:check
jlpm run test
jlpm build

Uninstall

pip uninstall jupyterlab-cell-navigation-rail

Metadata

Release files for jupyterlab-cell-navigation-rail 0.1.2

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-cell-navigation-rail 0.1.2
File Size Uploaded Provenance Actions
jupyterlab_cell_navigation_rail-0.1.2.tar.gz 146.6 kB With provenance Details for jupyterlab_cell_navigation_rail-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-cell-navigation-rail 0.1.2
File Interpreter ABI Platform Actions
jupyterlab_cell_navigation_rail-0.1.2-py3-none-any.whl Python 3 none any Details for jupyterlab_cell_navigation_rail-0.1.2-py3-none-any.whl

Total release size: 171.2 kB

Release files / jupyterlab_cell_navigation_rail-0.1.2.tar.gz

Download URL jupyterlab_cell_navigation_rail-0.1.2.tar.gz
Size 146.6 kB
Tags Source
SHA-256 checksum
How to use checksums
da1089de61c7f5fe7936abda4ba20f821954a8b51abb742b6235c439e6b97d2b
BLAKE2b-256 checksum
How to use checksums
00fefb6187761ae1a0d747b43e921bc0f54642761746ceb445c3a1c06033286f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / jupyterlab_cell_navigation_rail-0.1.2-py3-none-any.whl

Download URL jupyterlab_cell_navigation_rail-0.1.2-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8128b97bdd3b752ed3f1c29f1e57427a6599bbbe00495594441a40b151c35606
BLAKE2b-256 checksum
How to use checksums
7697f00ee4d15cbeb4c86b651fffa461513ca5e11a7a8c7058169262c905a99b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for jupyterlab-cell-navigation-rail 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jupyterlab_cell_navigation_rail-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

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