WASM CLI Runner
Run WebAssembly Binary or Text files (.wat or .wasm) directly from the command line.
Imported functions to WebAssembly are at the moment:
- "print" (
(import "" "print" (func $print (param i32))))
To run a WebAssembly file, use:
wasm_cli_runner test.wat
Installation
Via pip
pip install wasm_cli_runner
From source
To run this program from the code directly, python and poetry (pip install poetry) are required. Clone or download the repository.
To install all the dependencies, use your command line and navigate to the directory where this README file is located in. Then run
poetry install
Execution
To execute the program use
poetry run python -m wasm_cli_runner
Metadata
Release files for wasm-cli-runner 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wasm_cli_runner-1.0.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wasm_cli_runner-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / wasm_cli_runner-1.0.0.tar.gz
| Download URL | wasm_cli_runner-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f793762d9fa4d3a1059c57f54336ac482683434abb3a6c26fd6e01e9a4aef2d
|
|
BLAKE2b-256 checksum How to use checksums |
1342cbc87a8b372ead72a478524a3201660d35046a3b8a73ebace6e837602bf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.12 Windows/10
|
Release files / wasm_cli_runner-1.0.0-py3-none-any.whl
| Download URL | wasm_cli_runner-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff81ff9df6fcc08a0031a7037373f0077dbc2f494fa87012ea9e620cc2cd01a5
|
|
BLAKE2b-256 checksum How to use checksums |
e94f4c72cb2d6c1056e53701049411e7d5f390821c9717b1ae2754d07387da3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.12 Windows/10
|