PyScript: Run Python in your HTML
This uses Pyodide [0] under the hood [1], which is CPython compiled to WebAssembly. In all my tests of it, loading takes a long time ~5 seconds. Coldbrew [2], another distribution of CPython on Wasm, is another option with similar load times.<p>And Brython [3] is a completely different option without long load time: a Python interpreter implemented in JavaScript.<p>If load time is important, Brython is pretty nice. If feature completeness is important, Pyodide and Coldbrew are probably best.<p>[0] <a href="https://github.com/pyscript/pyscript/blob/main/pyscriptjs/src/App.svelte#L15" rel="nofollow">https://github.com/pyscript/pyscript/blob/main/pyscriptjs/sr...</a><p>[1] <a href="https://github.com/pyodide/pyodide" rel="nofollow">https://github.com/pyodide/pyodide</a><p>[2] <a href="https://github.com/plasticityai/coldbrew" rel="nofollow">https://github.com/plasticityai/coldbrew</a><p>[3] <a href="https://github.com/brython-dev/brython" rel="nofollow">https://github.com/brython-dev/brython</a>