Practical overview
When it fits
Use Peth when you want a Python-based toolkit for EVM contract interaction or inspection, either through a terminal shell or from Python code.
Who it is for
- Ethereum and EVM developers
- Smart-contract auditors
- Web3 security researchers
- Python developers writing scripts to inspect or interact with EVM contracts
Documented uses
- Call a smart-contract method from the interactive shell or Python SDK.
- Encode or decode contract ABI data.
- Disassemble EVM bytecode for inspection.
- Use command-line utilities for common contract and transaction tasks.
Requirements & limits
The project is open source under the AGPL-3.0 license. The README documents installation through PyPI, GitHub, or a source checkout.
- Peth offers both an interactive command-line shell and a Python SDK.
- The README demonstrates an Ethereum contract call using a contract address and either a method name or function signature.
- The documented installation options include PyPI, GitHub, and a source checkout.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Peth from PyPI and open its shell
Install the Python package and start the documented Peth command-line shell.
Before you start
- Python package installation with pip
Steps
Run the command below.
pip install pethRun
pethto start the shell.Enter
helpin the shell to list documented commands.
Expected outcome
The Peth interactive shell opens and displays its command list when asked for help.
Guide limitations
- This guide covers installation and opening the shell; it does not configure a chain connection or demonstrate a transaction.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- lmy375/peth · Official homepage title · retained in its source language

