Checks if an interrupt has been requested via the interrupt buffer.
Returns true if the given value is a PyProxy object.
Loads one or more Python packages into the Pyodide runtime.
Automatically loads packages required by the given Python code.
Registers a JavaScript module so it can be imported from Python.
Runs Python code synchronously and returns the result.
Optionaloptions: { globals?: any; locals?: any }Runs Python code asynchronously and returns the result.
Optionaloptions: { globals?: any; locals?: any }Sets the shared interrupt buffer for cooperative interruption.
Converts a JavaScript object to a Python object.
Unregisters a previously registered JavaScript module.
Interface for interacting with the Pyodide WebAssembly Python runtime.