wasmtime-py
wasmtime-py copied to clipboard
Python WebAssembly runtime powered by Wasmtime
Even though arm support has landed a year ago (https://github.com/bytecodealliance/wasmtime/issues/339), it seems it has not found its way into a macOS AArch64 pip wheel: ``` Successfully installed wasmtime-0.33.0 from wasmtime...
It's nice that the WASM memory can be inspected with a slice operator: ```python from wasmtime import * engine = Engine() store = Store(engine) module = Module.from_file(engine, "./hello.wasm") instance =...
Before splitting out wasmtime-py into its own repository, we also published the wheels to the Wasmtime releases. It'd be nice if we could do that again in this repo.
I'm interested in using `wasmtime` to call out to complex originally-built-in-C libraries from Python - things like `ffmpeg` or the various image compression libraries used by https://squoosh.app/ (e.g. https://squoosh.app/c/mozjpeg_enc-f6bf569c.wasm) It...
As shown in the picture 
Now that https://github.com/bytecodealliance/wasmtime-py/pull/33 is here, I understand that it's only possible to open a file on the host filesystem as an stdio stream. But that's (IMO) rarely useful: most WASI...
In the README it suggests to use pytest for test discovery. pytest has a bunch of other features, but some of those features don't work when test classes subclass `unittest.TestCase`....
Incredible work! I was trying to see what kind of overhead there is to call a wasm function from Python. I am using WSL2 on Windows, with a recent Fedora,...
I'd like to get the same behaviour as the `wasmtime foo.wasm` cli, or rather i'd like to have the rust program i compiled to wasm behave as similar to native...
Hi, I am working on a wasm package and I am using emscripten to compile a code to `.wasm` I was wondering if there is an clear example how to...