wasmer-compiler-llvm 1.0.0-beta2
pip install wasmer-compiler-llvm==1.0.0-beta2
Released:
Python extension to run WebAssembly binaries
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Wasmer Engineering Team <engineering@wasmer.io>
- Tags python , extension , webassembly
Classifiers
- License
- Operating System
- Programming Language
- Topic
Project description
Wasmer Python, the LLVM compiler

wasmer
is a complete and mature WebAssembly runtime for
Python. wasmer_compiler_llvm
provides the LLVM compiler to wasmer
,
so that wasmer
is able to compile WebAssembly module.
Other compilers exist:
wasmer_compiler_cranelift
,wasmer_compiler_singlepass
.
To get a more complete view, please see the documentation of the
wasmer
package itself.
Install
This package must be used with the wasmer
package, thus:
$ pip install wasmer
$ pip install wasmer_compiler_llvm
Usage
Any engines in wasmer.engine
can take the
wasmer_compiler_llvm.Compiler
class as argument:
from wasmer import engine, Store, Module, Instance
from wasmer_compiler_llvm import Compiler
# Let's use the LLVM compiler with the JIT engine…
store = Store(engine.JIT(Compiler))
# … or with the native engine!
store = Store(engine.Native(Compiler))
# And now, compile the module.
module = Module(store, open('my_program.wasm', 'rb').read())
# Now it's compiled, let's instantiate it.
instance = Instance(module)
# And get fun, for example by calling the `sum` exported function!
print(instance.exports.sum(1, 2))
Documentation
Browse the documentation at https://wasmerio.github.io/wasmer-python/api/wasmer_compiler_llvm/.
Alternatively, run just build compiler-llvm
followed by just doc
to generate the documentation inside
docs/api/wasmer_compiler_llvm.html
.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Wasmer Engineering Team <engineering@wasmer.io>
- Tags python , extension , webassembly
Classifiers
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Uploaded
CPython 3.9
manylinux: glibc 2.12+ x86-64
Uploaded
CPython 3.9
macOS 10.7+ x86-64
Uploaded
CPython 3.8
manylinux: glibc 2.12+ x86-64
Uploaded
CPython 3.8
macOS 10.7+ x86-64
Uploaded
CPython 3.7m
manylinux: glibc 2.12+ x86-64
Uploaded
CPython 3.7m
macOS 10.7+ x86-64
Uploaded
CPython 3.6m
manylinux: glibc 2.12+ x86-64
Uploaded
CPython 3.6m
macOS 10.7+ x86-64
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 13.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d52e7c42d94010bdfe49bc883e60d6e1f8d0d479b6692144b0a11ffd6deeb8c1
|
|
MD5 |
4f7c537fa2d5c7c217150dd90b640710
|
|
BLAKE2b-256 |
6c1569b912569f0c0034907b65a2d83679ece197b06aca5d1aa4fc7a1c0a2f06
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp39-cp39-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e193d961bf6727623ec61e1b4d7e444778adcce992d9c3aaa5f119a212b93ffb
|
|
MD5 |
227bb805797d976fca81b3d4db4801b4
|
|
BLAKE2b-256 |
b5b562d20c03eb642fa9a3809c188b5f70461f8676a76c8e3305f71c026237bb
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 13.4 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1c33f8c06fc13bedcc74477e16460ce45d56ffb93e59e8a6fc51205eba6321c6
|
|
MD5 |
2b519f997be19477dbcd0cf9bca893b3
|
|
BLAKE2b-256 |
5d97b02deab07360bdc506e1128787fa9065b640b2778ceaf7756c496a75dba2
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp38-cp38-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8d3b0ffed738e08b1b0a4675f190723c81fd2150ea256eebf5c1fac93646e1f5
|
|
MD5 |
ad47f9426cfcb7049881c340800e6121
|
|
BLAKE2b-256 |
8e80bbbc1fc134c5d4d8b98711f1db261ad32076385bcebf90eaf5b61301835d
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 13.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6bccb1b47c328ee124214e2f869eaa44a7920211eadfdb4e7b631fa535129b6d
|
|
MD5 |
6a14cdf9247a648ff19a2b8998d580e6
|
|
BLAKE2b-256 |
7f63007f3d0c8b9fa2107fe139518c6259ab7f87ff4f697ee154dd0e88246ae6
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp37-cp37m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp37-cp37m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.7m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f667b44888a8493e4ab743de855d79a6989c500c3e8784d4cbafad9317112336
|
|
MD5 |
36e49d8bbcdf4a1f220a49a6af7ddf86
|
|
BLAKE2b-256 |
fe91002e850cb10ea5720a6fd3d53fb5032e4a1fe9e0f67e4aaeadb6f81df955
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 13.4 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
82932c7878e13a39ed26373c9eeafd3d27252ad0b04ff9a1bfbfdf91181a24c6
|
|
MD5 |
2d649fb1c97a36ec43d964fec4ea84cb
|
|
BLAKE2b-256 |
a02d22e3e6f65c4f832c1d23cecbb6a3ed1aa3fb59ad21374968912ad7aa3e7e
|
File details
Details for the file wasmer_compiler_llvm-1.0.0_beta2-cp36-cp36m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: wasmer_compiler_llvm-1.0.0_beta2-cp36-cp36m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 10.7 MB
- Tags: CPython 3.6m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5fd8f52a594042f80fc45e38fe5f109c6533c304eb55ee61acd50a689cae722b
|
|
MD5 |
66492777d4f1cb1e09985a155fa514a3
|
|
BLAKE2b-256 |
7e32acc18538548c6749c1975920a21036384394b532f80b781c05a4d40c1500
|