Skip to main content

Run WebAssembly Binary and Text files in the command line.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wasm_cli_runner-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

wasm_cli_runner-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file wasm_cli_runner-1.0.0.tar.gz.

File metadata

  • Download URL: wasm_cli_runner-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.12 Windows/10

File hashes

Hashes for wasm_cli_runner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5f793762d9fa4d3a1059c57f54336ac482683434abb3a6c26fd6e01e9a4aef2d
MD5 a14e28d259ce1100a256fd2bc340c90a
BLAKE2b-256 1342cbc87a8b372ead72a478524a3201660d35046a3b8a73ebace6e837602bf4

See more details on using hashes here.

File details

Details for the file wasm_cli_runner-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wasm_cli_runner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff81ff9df6fcc08a0031a7037373f0077dbc2f494fa87012ea9e620cc2cd01a5
MD5 ac24477d0f03c5e8de4b2a52d9afa29a
BLAKE2b-256 e94f4c72cb2d6c1056e53701049411e7d5f390821c9717b1ae2754d07387da3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page