PyScript Python ↔ JavaScript bridge: default global reachability of imported modules
PyScript runs Python in the browser via Pyodide and provides a JavaScript entry point that allows page scripts to invoke the Python runtime. Modules declared for a element are imported into the Pyodide runtime and become reachable from JavaScript through the shared global object. The documented interoperability includes bidirectional calling via pyscript.run