We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 237497a commit e741649Copy full SHA for e741649
README.md
@@ -1 +1,33 @@
1
# pyscript-local-runtime
2
+
3
+This downloads PyScript and all runtime dependencies locally.
4
5
+Download Runtime...
6
+```shell
7
+cd runtime
8
+source setup.sh
9
+```
10
11
+Combined with a `<py-config>` as follows:
12
+```html
13
+<py-config>
14
+ [[runtimes]]
15
+ src = "runtime/pyodide.js"
16
+ name = "pyodide-0.21.3"
17
+ lang = "python"
18
+</py-config>
19
20
21
+And PyScript loaded locally like so:
22
23
+<link rel="stylesheet" href="runtime/pyscript.css" />
24
+<script defer src="runtime/pyscript.js"></script>
25
26
27
+Everything you need is now local. Perfect for Extensions, Offline, Environments where the Internet is not available.
28
29
+Credits to https://github.com/PFython/ChromeAWSOM for the question.
30
31
+Regards,
32
33
+Ted :)
0 commit comments