Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access the pyodide object used by jupyterlite repl #89

Open
rheanV opened this issue Dec 1, 2022 · 1 comment
Open

Access the pyodide object used by jupyterlite repl #89

rheanV opened this issue Dec 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rheanV
Copy link

rheanV commented Dec 1, 2022

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 rheanV added the enhancement New feature or request label Dec 1, 2022
@jtpio
Copy link
Member

jtpio commented Dec 13, 2022

@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.

@jtpio jtpio transferred this issue from jupyterlite/jupyterlite Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants