- Notice: The python package
wamr.wamrapi.wamr
need python >=3.10
.
Install requirements,
pip install -r requirements.txt
The following command builds the iwasm library and generates the Python bindings,
# In WAMR root directory
bash language-bindings/python/utils/create_lib.sh
This will build and copy libiwasm into the package.
- basic: Demonstrating how to use basic python bindings.
- native-symbol: Desmostrate how to call WASM from Python and how to export Python functions into WASM.