MCPcopy
hub / github.com/jupyterlite/jupyterlite

github.com/jupyterlite/jupyterlite @v0.8.0a2 sqlite

repository ↗ · DeepWiki ↗ · release v0.8.0a2 ↗
781 symbols 1,936 edges 157 files 426 documented · 55%
README

JupyterLite

ci-badge lite-badge docs-badge zulip-badge

JupyterLite is a JupyterLab distribution that runs entirely in the browser built from the ground-up using JupyterLab components and extensions.

⚡ Status ⚡

JupyterLite is part of the Project Jupyter Frontends subproject.

Not all the features available in JupyterLab and the Classic Notebook will work with JupyterLite, but many do!

Don't hesitate to check out the documentation for more information and project updates.

✨ Try it in your browser ✨

JupyterLite works with both the JupyterLab and Jupyter Notebook interfaces.

Try it with JupyterLab Try it with Jupyter Notebook
lab-screenshot notebook-screenshot

🏗️ Build your own JupyterLite 🏗️

You can build your own JupyterLite website in a couple of minutes, with custom extensions and packages.

See the documentation for more details.

Browser-based Interactive Computing

JupyterLite is all about accessible browser-based interactive computing:

  • Python kernels running in a Web Worker:
  • Pyodide : jupyterlite-pyodide-kernel
  • Xeus Python : jupyterlite-xeus
  • Support for interactive visualization libraries such as altair, bqplot, ipywidgets, matplotlib, and plotly
  • View hosted example Notebooks and other files, then edit, save, and download from the browser's IndexDB (or localStorage)
  • Support for saving settings for JupyterLab/Lite core and federated extensions
  • Basic session and kernel management to have multiple kernels running at the same time
  • Support for Code Consoles

Ease of Deployment

  • Served via well-cacheable, static HTTP(S), locally or on most static web hosts
  • Embeddable within larger applications
  • Requires no dedicated application server much less a container orchestrator
  • Fine-grained configurability of page settings, including reuse of federated JupyterLab extensions

Version Compatibility

The table below shows the versions of JupyterLab and Jupyter Notebook bundled with each JupyterLite core release.

jupyterlite-core jupyterlab notebook supported
0.7.0 4.5.0 7.5.0
0.6.0 4.4.3 7.4.3
0.5.0 4.3.4 7.3.2
0.4.0 4.2.4 7.2.0
0.3.0 4.1.1 7.1.0
0.2.0 4.0.7 7.0.6
0.1.0 3.5.3 -

Note: Only the last two releases are actively supported.

Development install

See the contributing guide for a development installation.

Related

JupyterLite is a reboot of several attempts at making a full static Jupyter distribution that runs in the browser, without having to start the Python Jupyter Server on the host machine.

The goal is to provide a lightweight computing environment accessible in a matter of seconds with a single click, in a web browser and without having to install anything.

This project is a collection of packages that can be remixed together in variety of ways to create new applications and distributions. Most of the packages in this repo focus on providing server-like components that run in the browser (to manage kernels, files and settings), so existing JupyterLab extensions and plugins can be reused out of the box.

See also:

  • p5-notebook: A minimal Jupyter Notebook UI for p5.js kernels running in the browser
  • jyve: Jupyter Kernels, right inside JupyterLab
  • Starboard Notebook: In-browser literal notebooks
  • Basthon: A Jupyter notebook implementation using Pyodide
  • Notebook.link: A cloud-backed, in-browser notebook platform based on JupyterLite

👥 Contributors

Join our community and become a contributor today! 🚀

Extension points exported contracts — how you extend this code

IServiceWorkerManager (Interface)
(no doc) [2 implementers]
packages/apputils/src/tokens.ts
IClearDataDialogProps (Interface)
* Props for the ClearDataDialog component
packages/application-extension/src/clear-data-dialog.tsx
INbConvertExporters (Interface)
(no doc) [2 implementers]
packages/services/src/nbconvert/tokens.ts
ILiteRouter (Interface)
(no doc) [1 implementers]
packages/application/src/router.ts
IFederatedExtension (Interface)
(no doc)
packages/types/src/tokens.ts
ILocalForage (Interface)
(no doc)
packages/localforage/src/tokens.ts
IOptions (Interface)
(no doc)
packages/apputils-extension/src/kernelstatus.tsx
IOptions (Interface)
(no doc)
packages/apputils/src/statedb.ts

Core symbols most depended-on inside this repo

get
called by 95
packages/services/src/nbconvert/tokens.ts
open
called by 43
packages/services/src/contents/emscripten.ts
task
called by 36
py/jupyterlite-core/jupyterlite_core/addons/base.py
update
called by 19
packages/services/src/session/client.ts
refreshFilebrowser
called by 19
ui-tests/test/utils.ts
close
called by 18
packages/services/src/contents/emscripten.ts
delete
called by 17
packages/services/src/contents/drive.ts
add
called by 16
packages/application/src/singleWidgetShell.ts

Shape

Method 408
Function 215
Class 108
Interface 48
Route 2

Languages

TypeScript62%
Python38%

Modules by API surface

packages/services/src/contents/drive.ts42 symbols
packages/services/src/contents/drivefs.ts40 symbols
packages/services/src/kernel/base.ts30 symbols
py/jupyterlite-core/jupyterlite_core/app.py26 symbols
py/jupyterlite-core/jupyterlite_core/addons/base.py25 symbols
packages/services/src/contents/drivecontents.ts25 symbols
py/jupyterlite-core/jupyterlite_core/config.py23 symbols
packages/services/src/contents/emscripten.ts23 symbols
py/jupyterlite-core/jupyterlite_core/addons/federated_extensions.py21 symbols
packages/services/src/kernel/client.ts20 symbols
packages/services/src/kernel/tokens.ts19 symbols
scripts/upgrade-dependencies.py17 symbols

Dependencies from manifests, versioned

@eslint/js9.26.0 · 1×
@jupyter-notebook/application7.6.0-alpha.5 · 1×
@jupyter-notebook/application-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/console-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/docmanager-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/help-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/notebook-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/tree-extension7.6.0-alpha.5 · 1×
@jupyter-notebook/ui-components7.6.0-alpha.5 · 1×
@jupyter/builder0.0.8 · 1×
@jupyter/eslint-plugin0.0.5 · 1×
@jupyterlab/application4.6.0-alpha.5 · 1×

For agents

$ claude mcp add jupyterlite \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact