Python kernel for JupyterLite powered by Pyodide
Project description
jupyterlite-pyodide-kernel
A Python kernel for JupyterLite powered by Pyodide,
🚧 This is a work in progress 🚧
The Pyodide kernel is currently being extracted from the main JupyterLite repository to this repo. See the JupyterLite issue for background, and the in-progress pull request for current status.
⚠️ below denotes instructions that are incomplete or subject to change.
Requirements
python >=3.8
jupyterlite >=0.1.0b19
⚠️ At present, 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.
Install
⚠️ 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
⚠️ The documentation for advanced configuration is available from the main JupyterLite documentation site:
Uninstall
To remove the extension, run:
pip uninstall jupyterlite-pyodide-kernel
Development Install
Below is an short overview of getting up and running quickly. Please see the contributing guide for full details.
Development Requirements
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
Development Quick Start
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
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
Hashes for jupyterlite_pyodide_kernel-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89548f76791231e22cd48783f147e94cbf7d0c23e370f69c9f76d00a6e9445cf |
|
MD5 | a1d6f46483bef15b5953239f4c09916f |
|
BLAKE2b-256 | b080697ba31fa928de5fee016aded0107abfcf0e25069a030a12186f93310550 |
Hashes for jupyterlite_pyodide_kernel-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b0cee64157b12ed06d3bf1f4b5716c288315e4080828604211c0c08f01c482 |
|
MD5 | 08f4fd464f1f3d01525e042663cf55a0 |
|
BLAKE2b-256 | 648c70d74eff89b1bed6d486f39ecc75523911bf10b3e9a47ab492f021b86a36 |