A JupyterLab extension that displays session information in a beautiful popup with automatic clipboard copying
Project description
Jupyter Session Tracer
A JupyterLab extension that displays session information in a beautiful popup with automatic clipboard copying.
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:
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
- Clone the repository:
git clone https://github.com/wenmin-wu/jupyter-session-tracer.git
cd jupyter-session-tracer
- 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
- GitHub Repository: https://github.com/wenmin-wu/jupyter-session-tracer
- PyPI Package: https://pypi.org/project/jupyter-session-tracer/
- Issues & Bug Reports: https://github.com/wenmin-wu/jupyter-session-tracer/issues
- JupyterLab Extension Examples: https://github.com/jupyterlab/extension-examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_session_tracer-0.1.2.tar.gz.
File metadata
- Download URL: jupyter_session_tracer-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49a48faad42302f597ee5ea3b1e0402161654b62ae00f336499bc96c91212961
|
|
| MD5 |
37025d46968a99a31857f57e4eac205b
|
|
| BLAKE2b-256 |
8fb99a51da00b9e7a92419ad0bfe63d6f5592db10ec9b4328ee4e294a3a74d10
|
File details
Details for the file jupyter_session_tracer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: jupyter_session_tracer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9faad5d0f58e3420ff322b7ae2c3d82bc5c4b5f4a02773d46a124a896bf12acb
|
|
| MD5 |
9cd15d4e3c6ebcd536c402aca993600e
|
|
| BLAKE2b-256 |
844fc0c4d51261b710510dbca0f7aa19886771915bc62caa5ce46d1d9b1c1803
|