Skip to main content

A JupyterLab extension that traces session information and sends it to a remote server

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_session_tracer-0.1.0.tar.gz (404.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_session_tracer-0.1.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_session_tracer-0.1.0.tar.gz.

File metadata

  • Download URL: jupyter_session_tracer-0.1.0.tar.gz
  • Upload date:
  • Size: 404.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for jupyter_session_tracer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a040b37dcd8181111253b32af5596cc5980c6fe17b0544b6ecbbe123c1024839
MD5 c87edd0c06ea0cbce901451f369a39c9
BLAKE2b-256 c3b1bd791155ddd8d4d6450618527d784f637bd84a9ea331a74f2d33a1e6685c

See more details on using hashes here.

File details

Details for the file jupyter_session_tracer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_session_tracer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f436b39cc0b523d1e2dc4909136ead892b0f5a8a3fa2364d91d5c24b5a86ee15
MD5 b82f8ed68882fac557733d67e6393415
BLAKE2b-256 ade012c98f23cd2e2bf90b3aadf2852b5e69c8ebe021facc23876992da044023

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page