-
|
Does perspective support pyodide distribution of python, how would I use perspective in wasm notebooks Tried |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Please refer to the Pyodide docs for installing emscripten/wasm32 wheels. We do not publish emscripten wheels anywhere except GitHub Releases, which is not a CDN. |
Beta Was this translation helpful? Give feedback.
-
|
For anyone that wants to use perspective in Pyodide, make sure that your version of Pyodide matches the one supported by perspective. To load the whl over http using relative url use the prefix import micropip
whl_path = "http:/public/perspective_python-3.3.4-cp39-abi3-emscripten_3_1_58_wasm32.whl"
await micropip.install(whl_path)
import perspective
psp_table = perspective.table("name,age\naszen,99")
print(psp_table.schema())Here's a sample repo demonstrating using perspective in marimo https://aszenz.github.io/perspective-pyodide-sample/ |
Beta Was this translation helpful? Give feedback.
No, we're not interested in hosting this at this time. The Pyodide platform is still experimental and it is IMO too much maintenance work to keep it up to date for our OSS project, and having a half-broken or out-of-date version of Perspective floating around in Pyodide's dist is not worth the risk.