Skip to content

v3.11.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Oct 08:49
62dc62b

Unofficial, experimental WebAssembly builds for Python 3.11.0

See availability notes and WASM README.md for platform limitations.

Python-3.11.0-wasm32-emscripten-3.1.24-browser.zip

Python in the browser.

The files must be served from a web server. You can use the ./wasm_webserver.py script to run a local web server and access the browser REPL from http://localhost:8000/python.html

The *browser-debug.zip is a debug build with additional debug symbols and fewer optimizations.

Python-3.11.0-wasm32-emscripten-3.1.24-node-dl.zip

Python on NodeJS (dynamic linking enabled).

Run with:

node python.js

For older NodeJS you may have to use

node --experimental-wasm-bigint python.js

The *node-dl-debug.zip is a debug build with additional debug symbols and fewer optimizations.

Python-3.11.0-wasm32-emscripten-3.1.24-node-pthreads.zip

Python on NodeJS (pthread emulation enabled).

For older NodeJS you may have to use

node --experimental-wasm-bigint --experimental-wasm-threads --experimental-wasm-bulk-memory python.js

Python-3.11.0-wasm32-wasi-16.zip

Python on WASI (WebAssembly System Interface).

wasmtime run --dir . -- python.wasm

Needs a recent version of wasmtime.