jupyterlite / pyodide-kernel

Python kernel for JupyterLite powered by Pyodide
https://jupyterlite-pyodide-kernel.readthedocs.io/en/latest/_static/
BSD 3-Clause "New" or "Revised" License
45 stars 23 forks source link

pyodide-kernel on Xeus #119

Closed MRYingLEE closed 2 months ago

MRYingLEE commented 2 months ago

I am using a few Jupyterlite kernels, such as Xeus-Javascript and pyodide (non-Xeus-based).

According to Jupyterlite documents, a Xeus based kernel has a much simpler implementation requirement. Just curious, why don't you migrate Pyodide to Xeus architecture. So that the code base is much smaller and easy to maintenance.

Just for your reference.

bollwyvl commented 2 months ago

Why don't you?

Why don't you?

To my knowledge, no xeus kernel has a way to dynamically install and import libraries not downloaded and packed at site build time, so a PR that did, somehow, port pyodide to the xeus architecture would quickly find a number of limitations.