ps_loader
ps_loader ¶
PyScript gallery loader install plans (MicroPython WASM + Pyodide).
Consolidates loader install logic for micropython.html, pyodide.html,
run.html, and run-pyodide.html. Gallery pages call _ps_loader() on
Run only (import lib.path then import ps_loader). MicroPython WASM uses
firmware mip after lib.path; Pyodide uses add_ons/mip.py.
Functions:¶
parse_names ¶
parse_names(raw)
Split a comma-separated loader query value into bare module/manifest names.
install_micropython ¶
install_micropython(modules, manifests, index_deps, status=None)
Sync install plan for MicroPython WASM (firmware mip).
install_pyodide
async
¶
install_pyodide(modules, manifests, wheel_deps, status=None)
Async install plan for Pyodide (mip manifests/modules + micropip wheels).