Metadata-Version: 2.1
Name: pywasm3
Version: 0.5.0
Summary: The fastest WebAssembly interpreter
Home-page: https://github.com/wasm3/pywasm3
Author: Volodymyr Shymanskyy
Author-email: vshymanskyi@gmail.com
License: MIT
Description: # pywasm3
        
        Python bindings for Wasm3, the fastest WebAssembly interpreter
        
        Main repository: [**Wasm3 project**](https://github.com/wasm3/wasm3)
        
        ## Install
        
        ```sh
        # Latest release:
        pip3 install pywasm3
        
        # Bleeding edge version:
        pip3 install https://github.com/wasm3/pywasm3/archive/main.tar.gz
        
        # Or, if you have a local copy:
        pip3 install .
        ```
        
        ## Usage example
        
        ```py
        import wasm3, base64
        
        # WebAssembly binary
        WASM = base64.b64decode("AGFzbQEAAAABBgFgAX4"
            "BfgMCAQAHBwEDZmliAAAKHwEdACAAQgJUBEAgAA"
            "8LIABCAn0QACAAQgF9EAB8Dws=")
        
        env = wasm3.Environment()
        rt  = env.new_runtime(1024)
        mod = env.parse_module(WASM)
        rt.load(mod)
        wasm_fib = rt.find_function("fib")
        result = wasm_fib(24)
        print(result)                       # 46368
        ```
        
        ### License
        This project is released under The MIT License (MIT)
        
Platform: any
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Description-Content-Type: text/markdown
