Skip to content
This repository was archived by the owner on Apr 8, 2021. It is now read-only.

Repository files navigation

pywasm3

Python 3 bindings to wasm3 generated by CFFI.

Prerequisites

  • CPython >= 3.5
  • CMake >= 3.4.0
  • C compiler that can build wasm3 (e.g. GCC, Clang, MSVC); see Wasm3 development notes
  • build tool supported by CMake, e.g. GNU make, Ninja, VS2017

Build

  • Create a virtual environment and install dependencies:
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
  • Build pywasm3:
python setup.py install

Run tests

python -m unittest discover

Notes

  • Currently pywasm3 consists of CFFI glue code for calling wasm3 from Python, it does not implement a Python-friendly API. See the test code and CFFI docs for how to invoke wasm3 functions from Python.

About

Python3 bindings for wasm3

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages