StaticFrame packaged for use in Pyodide, PyScript, and WebAssembly/Emscripten environments.
This package, on import, uses micropip
to install versions of StaticFrame dependencies (arraykit
and arraymap
) compiled for Emscripten, and then delegates the StaticFrame API to this module.
Try StaticFrame in Pyodide here: https://pyodide.org/en/stable/console.html
>>> import micropip; await micropip.install('static-frame-pyodide')
>>> import static_frame_pyodide as sf
While pyodide.http.open_url()
will not work with any URL, it works with the sample provided by the
pyscript-ice-cream
project.