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.
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
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
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 |
- JupyterLab >= 4.0.0
- Python >= 3.10
- projspec
pip install jupyter-projspec- 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)
pip uninstall jupyter-projspecIf you see the frontend extension but it's not working, verify the server extension is enabled:
jupyter server extension listIf the server extension is installed and enabled but you don't see the frontend extension:
jupyter labextension listYou 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 buildWatch mode (recommended for active development):
# Terminal 1: Auto-rebuild on file changes
jlpm watch
# Terminal 2: Run JupyterLab
jupyter labWith 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)
jupyter server extension disable jupyter_projspec
pip uninstall jupyter_projspecRemove the symlink created by jupyter labextension develop:
jupyter labextension list # Find labextensions folder location
# Remove the jupyter-projspec symlink from that folderServer tests (Python):
pip install -e ".[test]"
pytest -vv -r ap --cov jupyter_projspecFrontend tests (TypeScript):
jlpm testIntegration tests (Playwright):
See ui-tests/README.md for details.
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
| Endpoint | Method | Description |
|---|---|---|
/jupyter-projspec/scan |
GET | Scan a directory and return projspec data |
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
This project includes an AGENTS.md file with coding standards for JupyterLab extension development. Compatible with AI assistants that support the AGENTS.md standard.
BSD-3-Clause
Built on projspec by the fsspec team.