A Python kernel for JupyterLite powered by Pyodide,
The Pyodide kernel is currently being extracted from the main JupyterLite repository to this repo. See the JupyterLite issue for background and current status.
python >=3.8
jupyterlite >=0.1.0b19
jupyterlite-pyodide-kernel
is only compatible with the in-development
version mentioned above, and requires nodejs
A normal install does not require nodejs
, but a
development install does.
jupyterlite-pyodide-kernel
is not yet published on PyPI.
For now, the contributing guide describes how to build the package locally.
To install the Pyodide kernel labextension and the CLI addons for jupyter lite
,
run:
pip install jupyterlite-pyodide-kernel
Then build your JupyterLite site:
jupyter lite build
To remove the extension, run:
pip uninstall jupyterlite-pyodide-kernel
Below is an short overview of getting up and running quickly. Please see the contributing guide for full details.
Recommended a Python virtual environment provided by a tool of choice, e.g.
virtualenv
mamba
conda
Ensure the local development environment has:
git
nodejs 18
python >=3.8
git clone https://github.com/jupyterlite/pyodide-kernel
cd pyodide-kernel
npm run quickstart
Then, serve the built demo site, documentation, and test reports with Python's built-in http server:
jlpm serve