jupyter-projspec 
A JupyterLab extension that brings projspec project introspection directly into your development workflow. See at a glance what kind of project you're working in and explore its structure, metadata, and buildable artifacts.
Features
🏷️ Project Type Chips in File Browser
Colored badge chips appear below the breadcrumbs in the file browser, showing all detected project types for the current directory:
- Instant recognition — See
🐍 Python Library,🔮 Pixi,🔀 Git Repository, etc. at a glance - Click to explore — Clicking a chip opens the sidebar panel and scrolls to that spec's details
- Unobtrusive — Chips only appear when project specs are detected; completely hidden otherwise
📋 Project Spec Sidebar Panel
A dedicated right sidebar panel provides detailed project information:
- Synced with file browser — Automatically updates as you navigate directories
- Expandable spec items — Click to reveal contents and artifacts for each project type
- Contents — View metadata, dependencies, environment specs, and more
- Artifacts — See buildable outputs like wheels, conda packages, documentation
🎨 Supported Project Types
jupyter-projspec recognizes many project types through projspec:
| Category | Types |
|---|---|
| Version Control | Git Repository |
| Python | Python Library, Poetry, uv, Pixi, Conda Project, Conda Recipe, PyScript, Briefcase |
| JavaScript | Node.js, Yarn, JupyterLab Extension |
| Rust | Rust Crate |
| Documentation | mdBook, Read the Docs |
| Data & ML | Data Package, Hugging Face Repo |
| IDEs | VS Code, JetBrains IDE, Zed, NVIDIA AI Workbench |
Requirements
- JupyterLab >= 4.0.0
- Python >= 3.10
- projspec
Install
pip install jupyter-projspec
Usage
- Open JupyterLab and navigate to any project directory using the file browser
- Look for chips below the breadcrumbs — they appear when projspec detects project types
- Click a chip or the sidebar icon to open the Project Spec panel
- Expand specs to explore contents (metadata, dependencies) and artifacts (buildable outputs)
Uninstall
pip uninstall jupyter-projspec
Troubleshoot
If you see the frontend extension but it's not working, verify the server extension is enabled:
jupyter server extension list
If the server extension is installed and enabled but you don't see the frontend extension:
jupyter labextension list
Contributing
Development Install
You will need NodeJS to build the extension package.
# Clone the repo
git clone https://github.com/fsspec/jupyter-projspec.git
cd jupyter-projspec
# Set up a virtual environment
python -m venv .venv
source .venv/bin/activate
# Install in development mode
pip install --editable ".[dev,test]"
# Link your development version with JupyterLab
jupyter labextension develop . --overwrite
jupyter server extension enable jupyter_projspec
# Build the extension (do this after each TypeScript change)
jlpm build
Development Workflow
Watch mode (recommended for active development):
# Terminal 1: Auto-rebuild on file changes
jlpm watch
# Terminal 2: Run JupyterLab
jupyter lab
With watch mode running, saved TypeScript changes rebuild automatically. Refresh your browser to see changes.
After editing Python (files in jupyter_projspec/):
- Restart the JupyterLab server (no rebuild needed)
Development Uninstall
jupyter server extension disable jupyter_projspec
pip uninstall jupyter_projspec
Remove the symlink created by jupyter labextension develop:
jupyter labextension list # Find labextensions folder location
# Remove the jupyter-projspec symlink from that folder
Testing
Server tests (Python):
pip install -e ".[test]"
pytest -vv -r ap --cov jupyter_projspec
Frontend tests (TypeScript):
jlpm test
Integration tests (Playwright):
See ui-tests/README.md for details.
Architecture
jupyter-projspec/
├── src/ # TypeScript frontend
│ ├── index.ts # Extension entry point
│ ├── components/ # React components
│ │ ├── ProjspecPanelComponent.tsx
│ │ ├── ProjectView.tsx
│ │ ├── SpecItem.tsx
│ │ ├── ContentsView.tsx
│ │ ├── ArtifactsView.tsx
│ │ └── ProjspecChips.tsx # File browser chips
│ └── widgets/
│ ├── ProjspecPanel.ts # Sidebar panel widget
│ └── ProjspecChipsWidget.ts
├── jupyter_projspec/ # Python backend
│ ├── __init__.py # Server extension setup
│ └── routes.py # API route handlers
├── style/ # CSS styles
└── schema/ # JupyterLab settings schema
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/jupyter-projspec/scan |
GET | Scan a directory and return projspec data |
Roadmap
Future enhancements being considered:
- MAKE buttons — Execute artifact builds directly from the UI
- Build output display — Show stdout/stderr from artifact builds
- File browser navigation — Click built artifacts to reveal them
- Real-time streaming — Live output for long-running builds
- jupyter-fsspec integration — Support for remote filesystems
AI Coding Assistant Support
This project includes an AGENTS.md file with coding standards for JupyterLab extension development. Compatible with AI assistants that support the AGENTS.md standard.
License
BSD-3-Clause
Acknowledgments
Built on projspec by the fsspec team.
Release files for jupyter-projspec 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyter_projspec-0.1.0.tar.gz | 177.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyter_projspec-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 226.6 kB
Release files / jupyter_projspec-0.1.0.tar.gz
| Download URL | jupyter_projspec-0.1.0.tar.gz |
|---|---|
| Size | 177.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63fbe5df339c112043658af07cb65d9cd031c3c61fa6b025e7600608ca69d1ae
|
|
BLAKE2b-256 checksum How to use checksums |
0f83c5794865949de125d64909b66c43fe20293a2cb05e18acb6350ae4069386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / jupyter_projspec-0.1.0-py3-none-any.whl
| Download URL | jupyter_projspec-0.1.0-py3-none-any.whl |
|---|---|
| Size | 48.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25420078f654a55664838665419e600fbcffa360bd211cc887045dab6f09d205
|
|
BLAKE2b-256 checksum How to use checksums |
201ed205775b09ac484d5232cee4f5613e48c74c4048fea3e526e9c050fc0a04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|