API reference#
JavaScript API: running Python from JavaScript (
runPython,runPythonAsync,pyimport,globals,toPy, PyProxy)Python API: using JavaScript from Python (
pyjs.js, proxies, conversion,run_js, promises andrun_sync, the asyncio event loop, errors)