Crates.io | wasmtime-py |
lib.rs | wasmtime-py |
version | 0.15.0 |
source | src |
created_at | 2019-08-21 00:29:18.820993 |
updated_at | 2020-03-31 19:01:08.221135 |
description | Python extension for Wasmtime |
homepage | |
repository | https://github.com/bytecodealliance/wasmtime |
max_upload_size | |
id | 158494 |
size | 35,096 |
Python 3 extension for interface with Wasmtime/Cranelift.
First, you'll need to install some Python dependencies:
$ pip3 install setuptools wheel==0.31.1 setuptools-rust
Next you can build the extension with:
rustup run nightly python3 setup.py build
Note that a nightly version of Rust is required due to our usage of PyO3.
This will create a directory called build/lib
which you can add to
PYTHONPATH
in order to get import wasmtime
working.