# ethereum/py-evm

A Python implementation of the Ethereum Virtual Machine

Repository: https://github.com/ethereum/py-evm
Canonical: https://ross.abutalabs.com/products/py-evm
Homepage: https://py-evm.readthedocs.io/en/latest/
Language: Python
License: MIT
License Family: permissive
Topics: evm, ethereum, python, ethereum-virtual-machine
Archived: true
Last push: 2025-09-08T15:31:46+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 41, release rhythm 8, longevity 100
- inputs: {"age_days": 3536, "days_push": 359, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2351, forks 690 (observed 2026-08-28T04:06:40.380867+00:00)

## What it is
Py-EVM is a Python implementation of the Ethereum Virtual Machine, designed to be readable, flexible, and suitable for research, experimentation, and testing. The repository has been archived and is read-only, with development continuing in the ethereum/execution-specs repo.

## Use cases
- run the ethereum virtual machine in python
- experiment with evm opcodes and protocol changes
- test python ethereum tooling against a reference evm
- understand how the evm executes bytecode
- prototype execution layer specification changes

## When to choose
- you need a readable, hackable EVM implementation for research or testing
- you want a Python-native EVM for tooling and test suites

## When to avoid
- you need a maintained implementation - use ethereum/execution-specs instead
- you need a production node or consensus layer
- you need maximum performance

## Facets
- artifact type: library
- maturity: abandoned
- function: interpreter, simulation, testing
- domain: blockchain, developer-tools
- platform: python, cross-platform
- tags: evm, ethereum, virtual-machine, reference-implementation, archived, cryptocurrency

## Member repositories
- ethereum/py-evm (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.380867+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:54.354125+00:00, confidence not recorded.
  - readme: https://github.com/ethereum/py-evm (fetched 2026-08-28T04:06:40.380867+00:00, sha d04431885fe2)
  - registry_pypi: https://pypi.org/pypi/py-evm/json (fetched 2026-08-29T10:17:54.557566+00:00, sha ba0856b1a0fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
