mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 09:51:17 +00:00
How to python language binding test cases: ``` $ cd <wamr_dir>/language-bindings/python $ python -m pip install -e . $ cd wasm-c-api $ python -m unittest tests/test_basic.py $ python -m unittest tests/test_advanced.py ``` |
||
|---|---|---|
| .. | ||
| docs | ||
| samples | ||
| tests | ||
| utils | ||
| README.md | ||
| requirements.txt | ||
WASM-C-API
Examples
There is a simple example to show how to use bindings. Actually, the python binding follows C-APIs. There it should be easy if be familiar with programming with wasm-c-api.
Unit test cases under ./tests could be another but more complete references.