$npx skillfedfor your agent

pyevmasm

Ethereum Virtual Machine (EVM) assembler and disassembler

With conditionsPyPI Build ToolsReleased Apr 202084.8K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyevmasm-0.2.3-py2-none-any.whl · pyevmasm-0.2.3-py3-none-any.whl
v0.2.3 · released 2020-04-17 · Python >2.7 · 1 runtime deps: future

Yes, if you work with Ethereum bytecode analysis or manipulation. The package is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. The 2020 release date is a minor signal to check whether it covers your target EVM forks, but the active repository and recent commits suggest ongoing support. Install it if you need EVM assembly/disassembly; skip it if you only work with high-level smart contract code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >2.7; the description notes Python >=3.10 is required for current development.
  • Low install friction with a single lightweight dependency (future).
  • The package is actively maintained with recent commits, though the latest release was in 2020; the repository remains active and not archived.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0, a permissive license allowing commercial and private use with minimal restrictions, making it safe to integrate into most projects.

last release 2020-04-17 (2310 days) · last repo commit 2026-04-17 · 387 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,823 downloads/mo, #13,968 on PyPI

Verify before relying

pip install pyevmasm

from pyevmasm import disassemble_hex, assemble_hex

# Disassemble bytecode
print(disassemble_hex('0x608060405260043610603f57600035'))

# Assemble instructions
result = assemble_hex('PUSH1 0x40\nMSTORE\n')
print(result)
  • Whether the package actively supports all currently-used EVM forks beyond those listed in the CLI help (frontier through serenity).
  • Current test coverage and whether the 2020 release date reflects actual maintenance gaps or merely infrequent version bumps.
Same gist for agents: .md · .json

What it is and what it does

pyevmasm is a Python library for assembling human-readable EVM assembly into bytecode and disassembling bytecode back into readable instructions. It provides both a command-line tool (evmasm) and a Python API, supporting multiple Ethereum protocol forks (frontier, homestead, tangerine_whistle, spurious_dragon, byzantium, constantinople, serenity) so you can work with bytecode from different network versions. The library depends only on future, making it lightweight to install.

Developers use it to analyze compiled smart contracts, manipulate EVM bytecode programmatically, or build tools that need to understand or generate Ethereum bytecode. The CLI accepts hex input/output and can read from stdin or files, while the Python API lets you query instruction tables, disassemble bytecode into instruction objects, modify them, and reassemble them back to hex.

Use it for

  • Analyze compiled Ethereum smart contract bytecode to understand its structure and operations.
  • Build security analysis or fuzzing tools that need to manipulate or inspect EVM instructions.
  • Generate or modify EVM bytecode programmatically for contract testing or research.
  • Support multiple Ethereum forks in tooling by selecting the appropriate instruction set.
  • Disassemble bytecode from the blockchain to reverse-engineer contract logic.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with Ethereum bytecode analysis or manipulation.

The package is lightweight, actively maintained, permissively licensed, and has no known vulnerabilities. The 2020 release date is a minor signal to check whether it covers your target EVM forks, but the active repository and recent commits suggest ongoing support. Install it if you need EVM assembly/disassembly; skip it if you only work with high-level smart contract code.

Install

pyevmasm on PyPI

Before you install

Low install friction with a single lightweight dependency (future). The package is actively maintained with recent commits, though the latest release was in 2020; the repository remains active and not archived.

Requires Python >2.7; the description notes Python >=3.10 is required for current development.

License in practice

Licensed under Apache License 2.0, a permissive license allowing commercial and private use with minimal restrictions, making it safe to integrate into most projects.

Quickstart

pip install pyevmasm

from pyevmasm import disassemble_hex, assemble_hex

# Disassemble bytecode
print(disassemble_hex('0x608060405260043610603f57600035'))

# Assemble instructions
result = assemble_hex('PUSH1 0x40\nMSTORE\n')
print(result)

Verify before relying

  • Whether the package actively supports all currently-used EVM forks beyond those listed in the CLI help (frontier through serenity).
  • Current test coverage and whether the 2020 release date reflects actual maintenance gaps or merely infrequent version bumps.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >2.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
future
MaintenanceActively maintained 2,310 days since the last release
Last repo commit
First released
Downloads84,823 / month, #13,968 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pyevmasm-0.2.3-py2-none-any.whl; pyevmasm-0.2.3-py3-none-any.whl

Tags

Capabilities
ethereum bytecode assembler disassemblerevm instruction assemblyethereum virtual machine toolsevm opcode manipulationsmart contract bytecode analysisethereum bytecode compilerevm fork-aware assembly
Topics
ethereumbytecode-analysisevm

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ethereum bytecode assembler disassembler”

  • pyevmasmpyevmasm assembles and disassembles Ethereum Virtual Machine…
  • evmdasmevmdasm provides a lightweight registry of Ethereum EVM opcodes and a…
  • ethereum-dasmDisassembles Ethereum EVM bytecode into assembly instructions and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also ethereum-dasm · evmdasm · py-evm · keystone-engine · qwasm · vyper · bytecode · xdis · mythril · nvidia-cuda-nvdisasm