- Notice: The python package
wamr.wamrapi.wamrrequires a python version >=3.10.
Before proceeding it is necessary to make sure your Python environment is correctly configured. To do this open a terminal session in this directory and perform the following:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtThe following command builds the iwasm library and generates the Python bindings,
# In WAMR root directory
bash language-bindings/python/utils/create_lib.shThis 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.