rth / pyodide-kernel

Python kernel for JupyterLite powered by Pyodide

Home Page:https://jupyterlite-pyodide-kernel.readthedocs.io/en/latest/_static/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jupyterlite-pyodide-kernel

A Python kernel for JupyterLite powered by Pyodide,

ci-badge lite-badge docs-badge

Requirements

  • python >=3.8
  • jupyterlite >=0.1.0b19

Install

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

About

Python kernel for JupyterLite powered by Pyodide

https://jupyterlite-pyodide-kernel.readthedocs.io/en/latest/_static/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 72.1%Language:TypeScript 25.1%Language:JavaScript 1.8%Language:CSS 1.0%