Simon Willison sandboxes Python with MicroPython and WebAssembly
Developer Simon Willison has released micropython-wasm, an alpha Python package that compiles MicroPython to WebAssembly for sandboxed code execution. Using the wasmtime runtime, the tool enforces memory and CPU limits while strictly controlling file and network access, making it suitable for running untrusted plugins. Willison built it to safely extend his Datasette and LLM tools without granting full system privileges to third-party code. The project leverages experimental WASI support and aims to offer a robust, easily installable alternative to other embedding approaches.