Registry / serialization / qwasm
library1.0.1pypypiunverified

qwasm is a pure-Python WebAssembly decoder and disassembler. It parses WebAssembly binary modules into an intermediate representation and supports disassembly to WAT-like text format. Current version 1.0.1.

pip install qwasm
INSTALL
IMPORT
SIG · QWASM
Q
qwasm
serializationpythonv1.0.1
Install
2.0s avg
Import
—
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.0s · import 0.000s · 18MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse_module
✓ from qwasm import parse_module
✗ from qwasm import parse_module

Load a WebAssembly binary, parse it, and print the disassembly.

import qwasm # Assuming 'sample.wasm' exists in the current directory with open('sample.wasm', 'rb') as f: data = f.read() module = qwasm.parse_module(data) print(qwasm.disassemble(module))
Debug
Known issues
gotchaqwasm.parse_module() expects bytes, not a file path.
fix
Open the file in binary mode and pass the bytes object.
affects: all
gotchaThe library is in early development (v1.0.1); API may change without notice.
fix
Pin to a specific version and watch the repository for updates.
affects: all
Upgrade
Version history
1.0.1latest on PyPI · released Oct 5, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
qwasm — pip install qwasm · libregistry