Download Latest Version 1.1.1 source code.zip (377.2 kB)
Email in envelope

Get an email when there's a new version of Wasmer Python

Home / 1.0.0-beta1
Name Modified Size InfoDownloads / Week
Parent folder
1.0.0-beta1 source code.tar.gz 2020-12-03 174.2 kB
1.0.0-beta1 source code.zip 2020-12-03 234.9 kB
README.md 2020-12-03 1.1 kB
Totals: 3 Items   410.3 kB 0

Python Packages:

Changed

  • The whole API changed to better match Wasmer and Wasm C API

```python from wasmer import engine, wat2wasm, ImportObject, Module, Store, Instance from wasmer_compiler_cranelift import Compiler

# Create an Engine jit = engine.JIT(Compiler)

# Create a store. store = Store(jit)

# Let's compile the Wasm module. module = Module(store, wasm_bytes)

# Create an empty import object. import_object = ImportObject()

# Let's instantiate the Wasm module. instance = Instance(module, import_object) ```

Please refer to the examples and documentation to learn more about the changes.

Source: README.md, updated 2020-12-03