Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 622 Bytes

File metadata and controls

31 lines (24 loc) · 622 Bytes

pyscript-local-runtime

This downloads PyScript and all runtime dependencies locally.

Download Runtime...

cd runtime
source setup.sh

Combined with a <py-config> as follows:

<py-config>
      [[runtimes]]
      src = "runtime/pyodide.js"
      name = "pyodide-0.21.3"
      lang = "python"
</py-config>

And PyScript loaded locally like so:

<link rel="stylesheet" href="runtime/pyscript.css" />
<script defer src="runtime/pyscript.js"></script>

Everything you need is now local. Perfect for Extensions, Offline, Environments where the Internet is not available.

Regards,

Ted :)