You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add eudsl-python-extras packages to Wasm playgrounds (#266)
This is a follow-up PR of #264.
We try to add eudsl-python-extras packages to these two Wasm
playgrounds. Currently the released packages of eudsl-python-extras are
sdist which is not quite compatible to `pyodide.loadPackage` and
`piplite`, so we first pack it as a wheel package via `pip wheel`, and
then pack these wheel packages into the playgrounds.
In JupyterLite, we can install the package via:
```python
import piplite
await piplite.install("eudsl-python-extras")
```
Preview changes at:
- https://llvm.github.io/eudsl/jupyter/
- https://llvm.github.io/eudsl/console/
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,11 @@ Currently, there are five components:
33
33
34
34
## Wasm Playground
35
35
36
-
We currently provide two online playgrounds where you can try out the WebAssembly version of the MLIR Python bindings directly in your browser:
36
+
We currently provide two online playgrounds where you can try out the WebAssembly version of mlir-python-bindings and eudsl-python-extras directly in your browser:
37
37
38
38
* https://llvm.github.io/eudsl/jupyter/ – A JupyterLite instance with a Pyodide kernel. You can install the MLIR Python bindings with: `await piplite.install("mlir-python-bindings")`.
39
39
40
-
* https://llvm.github.io/eudsl/console/ – A Pyodide-based REPL with `mlir-python-bindings` preloaded. Just run: `from mlir.ir import *` to start coding.
40
+
* https://llvm.github.io/eudsl/console/ – A Pyodide-based REPL with `mlir-python-bindings`and `eudsl-python-extras`preloaded. Just run: `from mlir.ir import *` to start coding.
0 commit comments