Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

wabt-package

WABT, the WebAssembly Binary Toolkit, as a Python package: the prebuilt command-line tools and the wasm2c runtime, installable with pip. Like libusb-package, but for WABT. An unofficial redistribution (Apache-2.0).

pip install wabt-package
wat2wasm add.wat -o add.wasm
wasm2c add.wasm -o add.c

Version

x.y.z.b: x.y.z is the WABT release the tools are built from, b is the build number of this package (1.0.42.0 is WABT 1.0.42, first build).

What is in it

tools spectest-interp, wasm-interp, wasm-objdump, wasm-stats, wasm-strip, wasm-validate, wasm2c, wasm2wat, wast2json, wat-desugar, wat2wasm
runtime the C sources the code of wasm2c is compiled with (wasm-rt.h, wasm-rt-impl.c, ...), of the same version

Each tool is a console script; python -m wabt_package wat2wasm ... runs one without relying on PATH.

import wabt_package as wabt

wabt.run("wat2wasm", "in.wat", "-o", "out.wasm")  # subprocess.run, check=True by default
wabt.get_executable("wasm2c")  # pathlib.Path
wabt.runtime_dir()  # directory of wasm-rt.h, wasm-rt-impl.c, ...
wabt.wabt_version()  # "1.0.42"

SIMD

The C that wasm2c writes for a module with SIMD instructions includes <simde/wasm/simd128.h>. The package does not ship simde (neither do WABT's own releases, as far as the install rules of 1.0.42 go): add its headers with -I when compiling such a module. Modules without SIMD need nothing but runtime_dir().

Wheels

py3-none-<platform> wheels (the executables do not depend on the interpreter): Linux manylinux and musllinux (x86_64, aarch64), Windows (x64, ARM64), macOS (arm64, x86_64). Anywhere else the sdist builds the tools from source and needs a C++ compiler (cmake and ninja are fetched from PyPI).

The executables are linked statically against the C++ runtime and use WABT's own SHA-256 (no OpenSSL).

Development

git clone --recurse-submodules https://github.com/ballistics-lab/wabt-package
cd wabt-package
git -C wabt submodule update --init --depth 1 third_party/picosha2   # the only nested submodule needed
uv sync          # builds WABT (a minute) and installs the package in editable mode
uv run pytest

To move to a new WABT release: check out its tag in wabt/, commit the submodule, and tag v<release>.0 (the publish workflow checks that the tag starts with the submodule's release).

License

Apache-2.0, as WABT. See LICENSE and NOTICE.md.

Metadata

Release files for wabt-package 1.0.42.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wabt-package 1.0.42.0b1
File Size Uploaded
wabt_package-1.0.42.0b1.tar.gz 2.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for wabt-package 1.0.42.0b1
File
wabt_package-1.0.42.0b1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
wabt_package-1.0.42.0b1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.26+ x86-64 Details
wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details
wabt_package-1.0.42.0b1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details
wabt_package-1.0.42.0b1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 31.6 MB

Release files / wabt_package-1.0.42.0b1.tar.gz

Download URL wabt_package-1.0.42.0b1.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
169032523442526449eacd72079019f4b929228b3488b4ce58fc547401edf84c
BLAKE2b-256 checksum
How to use checksums
9073b5a90ba1589be25ca4b6ff92476d6b64ba6adaf00cb3398d237297ad767c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-win_arm64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-win_arm64.whl
Size 3.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
c3321323dde6a37f2e16274fdf3c3d7b2583d607f25c0071126b128e81d7e694
BLAKE2b-256 checksum
How to use checksums
16da0d4ded113ddc9a625fe7af884dcb5d1f72f08be04b8b0c971f5f858d7b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-win_amd64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-win_amd64.whl
Size 3.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
965f72eff8fa1284740e8ea93733ab93b6f0e09c999f0d7a1e1c951144361015
BLAKE2b-256 checksum
How to use checksums
ca7da9a7188e88e1357c36192f203730f098f4ee137c03a162beab49800404f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_x86_64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_x86_64.whl
Size 4.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6142db2b5220c91df6c09163bc5b2a676f5e0c29191789721976c38b2197ab23
BLAKE2b-256 checksum
How to use checksums
d44ecc9c2141f2ae3b1a032bd1ceb9d9505872660e3a720d5ab71549fb926642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_aarch64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-musllinux_1_2_aarch64.whl
Size 4.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1a35a96157af58cba4179158c8a629d27b079b75da5821521961e41f5832aafb
BLAKE2b-256 checksum
How to use checksums
6618ee70cc3c43f1e1f4d98a4302be3050eb6a11a98561e0ae26505336fbb44d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Size 4.0 MB
Tags Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b3c314fd380b2b73d73b993e8c2caadd221710d8e939d018f93ea12742ca3e56
BLAKE2b-256 checksum
How to use checksums
497d4d74ffc59d9b5dbced5484dac24a3b4c0f528836ebcfc6374827bed4d98c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 3.9 MB
Tags Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
efe6e3a4386e8aee68b7311fa541d3b1860420d0ed71c31f404b70ffadbc7613
BLAKE2b-256 checksum
How to use checksums
e5b09460a4f3938f0eca7a305f6d4ac89ab7bd4ca23a7ea9a978a087f9cd2041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-macosx_11_0_x86_64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-macosx_11_0_x86_64.whl
Size 2.9 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
4b1f51bcc665deb005e381bddc30edb07bbc4ef1e3779baebe800f9a4ccea75b
BLAKE2b-256 checksum
How to use checksums
1c753c6b998fca23417d8c46157b6b2a1d4c77ff12a6d9e6e7cf095fa5e92cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / wabt_package-1.0.42.0b1-py3-none-macosx_11_0_arm64.whl

Download URL wabt_package-1.0.42.0b1-py3-none-macosx_11_0_arm64.whl
Size 2.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c3ab14ffa44c85194c97dccbacf7ae9379592891a7f51fec3220382192de435d
BLAKE2b-256 checksum
How to use checksums
dfbda2680ee2b6a1e0907ac5802b15514f694376dcdac537298c77b9b49a867f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.42.0b1 This release

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page