pyodide-kernel
pyodide-kernel copied to clipboard
Access the pyodide object used by jupyterlite repl
Problem
I would like it if I could get access to the pyodide object underneath. I need to convert a javascript object to a python dictionary using pyodide and make it accessible to the jupyterLite repl.Proposed Solution
Provide access to the pyodide object that jupyterlite is using
Additional context
@rheanV the Pyodide kernel runs in a Web Worker and there is no access to the underlying Pyodide instance.
I need to convert a javascript object to a python dictionary using pyodide and make it accessible to the jupyterLite repl.
Where does the JavaScript object come from? Also which use case are you trying to address, as there might be alternative ways of solving this.