--- id: wasmer-compiler-cranelift version: "1.1.0" license: unclear license_treatment: permissive maintenance: dormant --- # wasmer-compiler-cranelift — The Cranelift compiler for the `wasmer` package (to compile WebAssembly module) License: permissive · Maintenance: dormant · Downloads: 521.6K/mo ## What it is and what it does wasmer_compiler_cranelift is a compiler plugin that provides Cranelift as a JIT or native code compiler for WebAssembly execution. It plugs into the engine abstraction to enable loading, compiling, and executing WebAssembly modules. You pass its Compiler class to an engine instance, and it handles the compilation step. The package has no runtime dependencies and is one of multiple compiler options available. The package is dormant—last updated January 2022, with the last repository commit in September 2023. It remains available and functional for existing users, but receives no active maintenance or updates. Use it for: - Execute WebAssembly modules within a Python application using Cranelift as the JIT compiler. - Build Python-based tools that load and run .wasm files without spawning external processes. - Prototype or test WebAssembly code from Python before deploying to production. - Integrate lightweight, sandboxed computation into Python services by running pre-compiled wasm modules. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides the Cranelift compiler backend for WebAssembly compilation and execution in Python applications. Yes, if you need to run WebAssembly in Python and are comfortable with dormant maintenance. The package has no known vulnerabilities, low install friction, and permissive licensing. However, verify that Cranelift meets your performance and compatibility needs—the package has not been updated since January 2022, so check whether recent WebAssembly features or security patches matter for your use case. ## Install pip install wasmer-compiler-cranelift uv add wasmer-compiler-cranelift poetry add wasmer-compiler-cranelift ## Installing wasmer-compiler-cranelift Before you install: Low install friction with a pure wheel distribution. Maintenance is dormant—last release was in January 2022 and the last commit was September 2023, over 1680 days ago. The repository remains active but the package itself is not receiving updates. License in practice: Licensed under MIT (permissive), so you can use it freely in commercial or private projects without restriction. Quickstart: pip install wasmer_compiler_cranelift from wasmer_compiler_cranelift import Compiler from wasmer import engine, Store, Module, Instance store = Store(engine.JIT(Compiler)) module = Module(store, open('my_program.wasm', 'rb').read()) instance = Instance(module) print(instance.exports.sum(1, 2)) This package is a compiler plugin and requires the wasmer package to be installed separately to function. Verify before relying: - Whether the package works with Python versions beyond 3.10 (classifiers list 3.7–3.10 but current Python support is unspecified). - Performance characteristics of Cranelift relative to other available compiler options for typical workloads. - Whether dormant maintenance status affects compatibility with recent WebAssembly specification changes or security patches. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 521.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags webassembly compiler python, wasm runtime cranelift, compile wasm modules python, webassembly jit engine, wasm execution python, cranelift compiler backend, webassembly, compiler, runtime [View on SkillFed](https://skillfed.io/packages/wasmer-compiler-cranelift) · [View on PyPI](https://pypi.org/project/wasmer-compiler-cranelift/)