{"library":"wasmer-compiler-cranelift","type":"library","category":null,"description":"The `wasmer-compiler-cranelift` library provides the Cranelift compiler backend for the `wasmer` Python package, enabling the compilation of WebAssembly (Wasm) modules. Cranelift is known for its balanced approach, offering faster compilation times compared to LLVM, moderate runtime performance, and enhanced security against malicious Wasm input. The current Python package version is `1.1.0` (released Jan 2022), though the underlying Wasmer runtime frequently updates, with Wasmer 7.0 (Jan 2026) featuring an upgraded Cranelift backend and new capabilities for Python integration.","language":"python","status":"active","version":"1.1.0","tags":["webassembly","wasm","compiler","runtime","cranelift"],"last_verified":"Fri May 22","install":[{"cmd":"pip install wasmer wasmer-compiler-cranelift","imports":["from wasmer_compiler_cranelift import Compiler","from wasmer import Store","from wasmer import Module","from wasmer import Instance","from wasmer import engine","from wasmer import wat2wasm"]}],"homepage":"https://wasmer.io","github":"https://github.com/wasmerio/wasmer-python","docs":"https://github.com/wasmerio/wasmer-python/","changelog":null,"pypi":"https://pypi.org/project/wasmer-compiler-cranelift/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/wasmer-compiler-cranelift/compatibility"}}