blob: 5ee672e29b74d9e155f18746fde21a23c3c4c360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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,
```sh
bash language-bindings/python/utils/create_lib.sh
```
This will build and copy libiwasm into the package.
## Examples
There is a [simple example](./samples/main.py) to show how to use bindings.
```
python samples/main.py
```
|