Skip to content

Files

Latest commit

773efc0 · May 14, 2024

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 14, 2024
Aug 15, 2023
Mar 14, 2024
May 14, 2024
May 31, 2022
May 31, 2022
Feb 16, 2023
Mar 14, 2024
Feb 21, 2023
Mar 14, 2024

wamr-python

The WAMR Python package contains a set of high-level bindings for WAMR API and WASM-C-API.

Installation

  • Notice: This python package need python >= 3.10.

To Install from local source tree in development mode run the following command,

python -m pip install -e .

In this mode the package appears to be installed but still is editable from the source tree.

Usage

From the same package you can use two set of APIs.

To use the WAMR API you can import the symbols as follows,

from wamr.wamrapi.wamr import Engine, Module, Instance, ExecEnv

In the order hand, to use the WASM-C-API,

import wamr.wasmcapi.ffi as ffi

For more information: