Simon Willison describes his latest attempt to safely run Python plugin-style code inside his own applications. The alpha package micropython-wasm uses MicroPython compiled to WebAssembly, executed through the maintained wasmtime Python library. His goals include clean PyPI installation, CPU and memory limits, controlled file and network access, host functions, and reliable documentation.
Simon Willison released micropython-wasm 0.1a1, a small update connected to Python, sandboxing, and WebAssembly. The release fixes limitations that appeared while he was trying to use it to build datasette-agent-micropython. The post does not list detailed changes, so this should be read as an early usability and compatibility improvement rather than a major feature launch.