rth on master
Completion support in Interacti… (compare)
rth on master
MAINT Remove rendered.html (#11… (compare)
rth on master
REPL Correct repr in Interactiv… (compare)
rth on fix-glpk-version
rth on master
DOCS: document core (#1048) (compare)
rth on master
DOCS: Move docs into three subf… (compare)
rth on master
TST: Test eval_code_async (#110… (compare)
rth on master
Add more _Py_NO_RETURN markers … (compare)
phorward on master
BACKEND: Python2js converter wi… (compare)
phorward on master
MAINT: Minor cleanup of pyproxy… (compare)
rth on master
TST: Combine run_js_async and r… (compare)
dalcde on master
Flexible jsimport (#1146) This… (compare)
dalcde on master
Mark pythonexc2js as noreturn (… (compare)
phorward on master
Don't print duplicate error mes… (compare)
dalcde on master
Move call and new to JsMethod (… (compare)
dalcde on master
BUGFIX: Bind functions to windo… (compare)
dalcde on master
Fine tuning of error_handling d… (compare)
dalcde on master
Touch npm binaries after instal… (compare)
rth on master
BLD Remover linker flags when b… (compare)
<!DOCTYPE html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-code@1.0.3/src/wc-code.js"></script>
</head>
<body>
<wc-code mode="python">
<script type="wc-content">
a = 1
b = 1
print(a+b)
</script>
</wc-code>
</body>
<!DOCTYPE html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-code@1.0.3/src/wc-code.js"></script>
</head>
<body>
<wc-code mode="python">
<script type="wc-content">
i = 0
while i<10:
print(f"currently at : {i}")
i += 1
</script>
</wc-code>
</body>
a docs/ecosystem.md
(unless you think of a better name) that is linked in index.rst
under the "Project" section. With a title 'Related packages' and subtitle "Projects using Pyodide"
This could also be the occasion to mention/thank the projects we rely on and in particular emscripten
docs/related-projects.md
would be better
sed -i -e 's/\-undefined dynamic_lookup//' /home/anthony/learn-webassembly/pyodide/cpython/build/Python-3.8.2/Lib/_sysconfigdata__emscripten_.py
sed: can't read /home/anthony/learn-webassembly/pyodide/cpython/build/Python-3.8.2/Lib/_sysconfigdata__emscripten_.py: No such file or directory
make[1]: *** [Makefile:123: /home/anthony/learn-webassembly/pyodide/cpython/build/Python-3.8.2/libpython3.8.a] Error 2
make[1]: Leaving directory '/home/anthony/learn-webassembly/pyodide/cpython'
make: *** [Makefile:240: cpython/installs/python-3.8.2/lib/python3.8] Error 2
import { languagePluginLoader } from 'pyodide'
and various other things, but nothing I've tried works.
So, when Python, numpy and pandas are all loaded, executing pyodide.runPython('import numpy')
takes about 5 seconds on my system; import pandas
takes about 10 seconds. (These are with Firefox; Chrome times are different but similar.)
I noticed that even in CPython the times needed to import these are non-negligible; import pandas
takes 0.5 to 1 second, depending on the status of disk cache. import numpy
is faster but clearly not instant (I didn't measure it).
But why the long times in pyodide?