https://github.com/static-frame/static-frame-pyodide
StaticFrame packaged for use in Pyodide, PyScript, and WebAssembly/Emscripten environments
https://github.com/static-frame/static-frame-pyodide
Last synced: 5 months ago
JSON representation
StaticFrame packaged for use in Pyodide, PyScript, and WebAssembly/Emscripten environments
- Host: GitHub
- URL: https://github.com/static-frame/static-frame-pyodide
- Owner: static-frame
- License: mit
- Created: 2023-06-02T14:20:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T19:04:36.000Z (about 3 years ago)
- Last Synced: 2025-03-23T02:33:11.175Z (about 1 year ago)
- Language: Python
- Size: 221 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# static-frame-pyodide
[StaticFrame](https://github.com/static-frame/static-frame) 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.
## Usage in Pyodide:
Try StaticFrame in Pyodide here: https://pyodide.org/en/stable/console.html
```python-repl
>>> 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``](https://github.com/Cheukting/pyscript-ice-cream) project.
