Skip to content

tedpatrick/pyscript-local-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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 :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published