Skip to main content

Jupyter Session Tracer

A JupyterLab extension that displays session information in a beautiful popup with automatic clipboard copying.

PyPI version GitHub

Features

This extension adds a 📊 Show Session Info option to the JupyterLab Help menu that displays comprehensive session information in a beautiful popup:

  • Current File: The path of the currently active notebook
  • Kernel Information: Kernel ID, name, and connection status
  • Session Details: Session name and timestamp
  • Notebook Path: Full URL path to the current notebook
  • System Information: JupyterLab version and timestamps
  • Auto-Copy: Session data is automatically copied to clipboard with one-click copy button

Screenshots

Extension in Action

The screenshot below shows the complete workflow - accessing the extension through the Help menu and viewing the session information popup:

Jupyter Session Tracer in Action

The extension integrates into JupyterLab's Help menu with 📊 Show Session Info and displays comprehensive session information in a professional popup with one-click clipboard copying.

Key Features Highlighted

  • 📊 Menu Integration: Cleanly integrated into JupyterLab's Help menu
  • 📋 Copy Button: Large, prominent blue button for easy clipboard access
  • 🎨 Professional Design: Clean layout with proper spacing and typography
  • 📱 Responsive: Works across different screen sizes and JupyterLab themes
  • ⚡ Quick Access: Keyboard shortcuts and command palette support

What Information is Tracked

{
  "timestamp": "2025-06-04T10:51:44.112Z",
  "jupyterlabVersion": "4.4.2", 
  "currentWidget": "new-test.ipynb",
  "notebookPath": "http://localhost:8890/tests/notebooks/new-test.ipynb",
  "sessionName": "new-test.ipynb",
  "kernelId": "27a3803a-61fa-4094-a652-a4638af4efa8",
  "kernelName": "python3",
  "kernelState": "connected"
}

Installation

From PyPI (Recommended)

pip install jupyter-session-tracer

From Source

  1. Clone the repository:
git clone https://github.com/wenmin-wu/jupyter-session-tracer.git
cd jupyter-session-tracer
  1. Install dependencies and build:
pip install -e .
jupyter labextension develop . --overwrite
jlpm run build

Prerequisites

  • JupyterLab >= 4.0.0
  • Python >= 3.8
  • Node.js >= 18 and npm/yarn (for building)

License

This project is licensed under the BSD 3-Clause License.

Acknowledgments

This extension is based on the JupyterLab extension examples repository and provides a user-friendly way to inspect and share session information.

Links

Metadata

Release files for jupyter-session-tracer 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 jupyter-session-tracer 0.1.2
File Size Uploaded
jupyter_session_tracer-0.1.2.tar.gz 404.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-session-tracer 0.1.2
File Interpreter ABI Platform
jupyter_session_tracer-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 437.9 kB

Release files / jupyter_session_tracer-0.1.2.tar.gz

Download URL jupyter_session_tracer-0.1.2.tar.gz
Size 404.9 kB
Tags Source
SHA-256 checksum
How to use checksums
49a48faad42302f597ee5ea3b1e0402161654b62ae00f336499bc96c91212961
BLAKE2b-256 checksum
How to use checksums
8fb99a51da00b9e7a92419ad0bfe63d6f5592db10ec9b4328ee4e294a3a74d10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

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

Download URL jupyter_session_tracer-0.1.2-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9faad5d0f58e3420ff322b7ae2c3d82bc5c4b5f4a02773d46a124a896bf12acb
BLAKE2b-256 checksum
How to use checksums
844fc0c4d51261b710510dbca0f7aa19886771915bc62caa5ce46d1d9b1c1803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

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