You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched for other feature requests and couldn't find a duplicate (including also the type-feature tag)
I confirmed that it's not related to another project are area (see the above section)
What is the idea?
Current state:
HTML file with PyScript tags and code
Javascript module which interacts directly with pyodide
loadPyodide in the Javascript file fails
Only a single instance of pyodide can exist and PyScript already created it. The Javascript file cannot get a handle to the pyodide instance because PyScript does not expose it.
Desired state:
Javascript can access the pyodide instance created by PyScript -or-
Javascript can create the pyodide instance and somehow give it to PyScript
The goal is for both pieces of code to use the same pyodide runtime. I know there is a mechanism coming in pyodide which will allow multiple runtimes (at 2x the cost). Hopefully that can be avoided by sharing the instance.
Why is this needed
No response
What should happen?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Checklist
type-feature
tag)What is the idea?
Current state:
loadPyodide
in the Javascript file failsOnly a single instance of
pyodide
can exist and PyScript already created it. The Javascript file cannot get a handle to thepyodide
instance because PyScript does not expose it.Desired state:
pyodide
instance created by PyScript -or-pyodide
instance and somehow give it to PyScriptThe goal is for both pieces of code to use the same pyodide runtime. I know there is a mechanism coming in pyodide which will allow multiple runtimes (at 2x the cost). Hopefully that can be avoided by sharing the instance.
Why is this needed
No response
What should happen?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: