Skip to content

Files

8 lines (5 loc) · 641 Bytes

File metadata and controls

8 lines (5 loc) · 641 Bytes

This folder shows examples of embedding Python in a Wasm module.

For Rust, we show how you can use the wlr-libpy crate to get a pre-built libpython for wasm32-wasi. You can combine this with any typical Rust bindings for the C API by CPython.

We have examples based on two different crates, which both offer Python bindings: