jupyterlite / xeus-python-kernel

xeus-python in JupyterLite
https://xeus-python-kernel.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Mix using Python and Javascript in Xeus just like in Pyodide #154

Closed MRYingLEE closed 10 months ago

MRYingLEE commented 10 months ago

It is said "Pyodide comes with a robust Javascript ⟺ Python foreign function interface so that you can freely mix these two languages in your code with minimal friction. " at https://pyodide.org/en/stable/ .

I am just wondering whether xeus-python has similar feature or plan to do so.

Please clarify.

Thank you in advance,

martinRenou commented 10 months ago

As answered in https://github.com/jupyter-xeus/xeus-python/issues/591, xeus-python exposes JavaScript APIs through https://github.com/emscripten-forge/pyjs