This folder offers various examples of how to use Python in wasm modules.
- ./basic is a collection of small snippets that demonstrate how to run
python.wasmfrom the command line or via Docker - ./embedding/ shows how one can embed the static wasm32-wasi
libpythoninto a WASI command module - ./bindings is a sample application that demonstrates how one can use host-to-python and python-to-host bindings
Note: build.rs does not have any download or performance optimization - the necessary wasm32-wasi dependencies are fetched and unpacked on each build run.