{"id":21847,"library":"qwasm","title":"qwasm","description":"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.","status":"active","version":"1.0.1","language":"python","source_language":"en","source_url":"https://github.com/CQCL/qwasm","tags":["webassembly","wasm","decoder","disassembler","binary-parser"],"install":[{"cmd":"pip install qwasm","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from qwasm import parse_module","symbol":"parse_module","correct":"from qwasm import parse_module"}],"quickstart":{"code":"import qwasm\n\n# Assuming 'sample.wasm' exists in the current directory\nwith open('sample.wasm', 'rb') as f:\n    data = f.read()\n\nmodule = qwasm.parse_module(data)\nprint(qwasm.disassemble(module))\n","lang":"python","description":"Load a WebAssembly binary, parse it, and print the disassembly."},"warnings":[{"fix":"Open the file in binary mode and pass the bytes object.","message":"qwasm.parse_module() expects bytes, not a file path.","severity":"gotcha","affected_versions":"all"},{"fix":"Pin to a specific version and watch the repository for updates.","message":"The library is in early development (v1.0.1); API may change without notice.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.0.1':32 'binari':15,38 'binary-pars':37 'current':30 'decod':9,35 'disassembl':11,23,36 'format':29 'intermedi':19 'like':27 'modul':16 'pars':13 'parser':39 'pure':6 'pure-python':5 'python':7 'qwasm':1,2 'represent':20 'support':22 'text':28 'version':31 'wasm':34 'wat':26 'wat-lik':25 'webassembl':8,14,33","created_at":"2026-04-27T17:02:03.874093+00:00","updated_at":"2026-04-27T17:02:03.874093+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'parse_module' from 'qwasm' (/tmp/tmpbgfpk8pe/venv/lib/python3.12/site-packages/qwasm/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.0.1","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/CQCL/qwasm","docs":null,"changelog":null,"pypi":"https://pypi.org/project/qwasm/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}