tonibofarull b4f0228497 Python WAMR API binding: Add malloc/free and register_native (#1989) 2 лет назад
..
samples bb5629811f language-bindings/python/wamr-api: Fix a sample (#1977) 2 лет назад
README.md b4f0228497 Python WAMR API binding: Add malloc/free and register_native (#1989) 2 лет назад
requirements.txt 3cc132e8fc Add WAMR API bindings in Python (#1959) 2 лет назад

README.md

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