MCPcopy
hub / github.com/ApeWorX/web3.py

github.com/ApeWorX/web3.py @v7.16.0 sqlite

repository ↗ · DeepWiki ↗ · release v7.16.0 ↗
3,957 symbols 18,738 edges 354 files 339 documented · 9%
README

web3.py

Join the conversation on Discord Build Status PyPI version Python versions Docs build

A Python Library for Interacting with Ethereum

web3.py allows you to interact with the Ethereum blockchain using Python, enabling you to build decentralized applications, interact with smart contracts, and much more.

  • Python 3.8+ support

Installation

python -m pip install web3

Documentation

Get started in 5 minutes or take a tour of the library.

View the change log.

For additional guides, examples, and APIs, see the documentation.

Want to Help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing, then check out issues that are labeled Good First Issue.


Questions on Implementation or Usage?

Join the conversation in the Ethereum Python Community Discord.

Core symbols most depended-on inside this repo

transact
called by 265
web3/contract/contract.py
contract
called by 195
web3/eth/eth.py
get_block
called by 170
web3/eth/eth.py
get
called by 152
web3/_utils/threads.py
call
called by 144
web3/eth/eth.py
wait_for_transaction_receipt
called by 127
web3/eth/eth.py
add
called by 117
web3/_utils/batching.py
send_transaction
called by 114
web3/eth/eth.py

Shape

Function 2,104
Method 1,407
Class 391
Route 55

Languages

Python100%
TypeScript1%

Modules by API surface

web3/_utils/module_testing/eth_module.py271 symbols
tests/core/contracts/test_contract_call_interface.py135 symbols
web3/contract/base_contract.py87 symbols
tests/core/contracts/conftest.py76 symbols
web3/_utils/abi.py66 symbols
tests/integration/test_ethereum_tester.py66 symbols
web3/exceptions.py59 symbols
web3/types.py49 symbols
web3/beacon/beacon.py47 symbols
web3/beacon/async_beacon.py47 symbols
tests/beacon/test_async_beacon.py45 symbols
web3/eth/async_eth.py44 symbols

For agents

$ claude mcp add web3.py \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact