Skip to main content
Pre-release

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

wasm-tools-package

license pypi version python versions Pre-commit coverage

wasm-tools, the Bytecode Alliance's WebAssembly toolkit, as a Python package: the prebuilt wasm-tools executable, installable with pip. Like libusb-package, but for wasm-tools. An unofficial redistribution (Apache-2.0 WITH LLVM-exception, Apache-2.0 or MIT).

pip install wasm-tools-package
wasm-tools parse add.wat -o add.wasm
wasm-tools validate add.wasm

Version

x.y.z.b: x.y.z is the wasm-tools release the executable is built from, b is the build number of this package (1.262.0.0 is wasm-tools 1.262.0, first build). Requires Python 3.11+.

What is in it

executable wasm-tools, with all its subcommands: parse, print, validate, component, objdump, dump, strip, smith, shrink, mutate, wast, ...

It is a console script; python -m wasm_tools_package parse ... runs it without relying on PATH.

import wasm_tools_package as wasm_tools

wasm_tools.run("parse", "in.wat", "-o", "out.wasm")  # subprocess.run, check=True by default
wasm_tools.get_executable()  # pathlib.Path
wasm_tools.wasm_tools_version()  # "1.262.0"

Wheels

The publish workflow builds py3-none-<platform> wheels (the executable does not depend on the interpreter) for the desktop platforms of cibuildwheel:

Linux, manylinux x86_64, aarch64, i686, armv7l
Linux, musllinux x86_64, aarch64
Windows x64, ARM64, x86
macOS arm64, x86_64, universal2

See CHANGELOG.md for what each release has. There are no wheels for Android, iOS or Pyodide: the tool runs on the machine that builds, and a package for those targets is built with the wheel of the host. Anywhere else the sdist builds the executable from source and needs Rust 1.88 or newer (cargo, e.g. from rustup) and network access to crates.io.

The Windows executable has the C runtime linked in, the Linux and macOS ones need only the system's own libraries (a test checks it on every platform).

Development

git clone --recurse-submodules https://github.com/natify-sh/wasm-tools-package
cd wasm-tools-package
uv sync          # builds wasm-tools (a few minutes, needs cargo) and installs the package in editable mode
uv run pytest

--recurse-submodules also fetches the spec test suites of wasm-tools, which the build does not need; git submodule update --init wasm-tools is enough.

To move to a new wasm-tools release: check out its tag in wasm-tools/, 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 for the packaging; wasm-tools itself is Apache-2.0 WITH LLVM-exception, Apache-2.0 or MIT. See LICENSE and NOTICE.md.

Metadata

Release files for wasm-tools-package 1.262.0.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 wasm-tools-package 1.262.0.0b1
File Size Uploaded Provenance
wasm_tools_package-1.262.0.0b1.tar.gz 6.3 MB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for wasm-tools-package 1.262.0.0b1
File
wasm_tools_package-1.262.0.0b1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
wasm_tools_package-1.262.0.0b1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
wasm_tools_package-1.262.0.0b1-py3-none-win32.whl Python 3 none Windows x86-32 Details
wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_31_armv7l.whl Python 3 none Linux glibc 2.31+ ARMv7l Details
wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_i686.whl Python 3 none Linux glibc 2.28+ x86-32 Details
wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details
wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details
wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 81.6 MB

Release files / wasm_tools_package-1.262.0.0b1.tar.gz

Download URL wasm_tools_package-1.262.0.0b1.tar.gz
Size 6.3 MB
Tags Source
SHA-256 checksum
How to use checksums
afb7ff923ded4dd3d4913065ce39804e65d72ec48300014e62a040c76b1e3494
BLAKE2b-256 checksum
How to use checksums
2674dda3d109cac9002d771b9bd1cc6bcc07b5fe72861ed0cc4505fe9143de4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-win_arm64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-win_arm64.whl
Size 5.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e0cb76406ba405b11960ee512e5e0dbaf482c168846869c06a0d33d163fa3466
BLAKE2b-256 checksum
How to use checksums
df1a1a5049d6bf75b6eb9a067c4bf57e35cfba4d6442e5b4c6cbca9d16d9fdee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-win_amd64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-win_amd64.whl
Size 5.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1b69fb6957553561b00edd5c5faf9add1ec3351a4eb2b52723e3a6778a9e7c94
BLAKE2b-256 checksum
How to use checksums
f21ffa272da1a98d03c1876df4fd940d55627f455d67481ce9e7fa183645623c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-win32.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-win32.whl
Size 5.4 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
b8e5d82ed7a07442a28ce6724f7a1e70b59b65ed76a0c05bbfd511f115e48f3d
BLAKE2b-256 checksum
How to use checksums
d9bfb741580c184cfc296ed0f854c23716fbb8283c2fb74ca48e09e962e14365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_x86_64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_x86_64.whl
Size 6.2 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0a05b5699104562f2f61ceba1089d660c852ab87ef986ca0c3d0ad04dea13b31
BLAKE2b-256 checksum
How to use checksums
c7876b71cbd87e4d97ff6a575338418dc67def733f60b360080635961b398d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_aarch64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-musllinux_1_2_aarch64.whl
Size 5.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
50fb1139ec78e07f522c5d6e903f17212c5bfaab2dee61fbd8e50617730632aa
BLAKE2b-256 checksum
How to use checksums
a3acef44741fd31b0b15e7adb88a4abaec2ae3b78392b7cfa7619ba8d7fb6f5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_31_armv7l.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_31_armv7l.whl
Size 5.5 MB
Tags Linux glibc 2.31+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
55d4c26f10cef4be8d08cae6d508286811376f3447ac569a778094cc868519eb
BLAKE2b-256 checksum
How to use checksums
e71d82cad76991e681e01ec4ef0c3e6cd07bddc56cb5d6a2eda0558f8b873c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_x86_64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_x86_64.whl
Size 6.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
eb2f9794b4ab11e049e923e61a041bf83dba03c0e8b8d9dc95cd041ddeb1cb5f
BLAKE2b-256 checksum
How to use checksums
5c40897b8ed3f92463a03fb787e966772310b64ae5f5a13e56864f33d237437c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_i686.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_i686.whl
Size 6.6 MB
Tags Linux glibc 2.28+ x86-32 Python 3
SHA-256 checksum
How to use checksums
313e7b91dd061ad7437cc49ff43423d8a96f88d2db0ee0735238c3ecbe066b70
BLAKE2b-256 checksum
How to use checksums
409982c30e55d2de95e876eb28363626c2ceb1846e37573b53af700a56f2227f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_aarch64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
837581443cdf896c40841b22de185b2f359a3ca644e521103382ee17fc0dabf8
BLAKE2b-256 checksum
How to use checksums
93ed05d8352d21a2b004b7134fa53b94f2fc116725c87924cbd0d5fe9cdee39e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_x86_64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_x86_64.whl
Size 5.9 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
d521858246c54cacb15b03f81a51a44fa8fa3a65bf924e4c086f0b0852099b3c
BLAKE2b-256 checksum
How to use checksums
f1062b8331e723a08571e4cc4d5f38d184d31f5fdc2a94adf911ac62879741ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_universal2.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_universal2.whl
Size 11.4 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
a9bb63a8e4533791127df4e76af0c640852ed5449dcae13e0fb49b5704ef4c30
BLAKE2b-256 checksum
How to use checksums
f170480dc36713a4a92efd2b3ea929b22298440d144bc02e24d6b7c62ea02d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Release files / wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_arm64.whl

Download URL wasm_tools_package-1.262.0.0b1-py3-none-macosx_11_0_arm64.whl
Size 5.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3bcf283aad1b9511bc17e275b310607f3d499c48f45fd5bca3b9f6964f283326
BLAKE2b-256 checksum
How to use checksums
2bb4556ad0d9e10113c1dbd3eb012d2733961c8cc037b89d7f3101628978c518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Security for wasm-tools-package 1.262.0.0b1

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.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for wasm_tools_package-1.262.0.0b1.tar.gz

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 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
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