mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
.. | ||
samples | ||
README.md | ||
requirements.txt |
WARM API
Setup
Pre-requisites
Install requirements,
pip install -r requirements.txt
Build native lib and update bindings
The following command builds the iwasm library and generates the Python bindings,
bash language-bindings/python/utils/create_lib.sh
This will build and copy libiwasm into the package.
Examples
There is a simple example to show how to use bindings.
python samples/main.py