+0
日增长
5,546
stars
1,739
forks
117
watchers
2,278
prs
1,591
issues
1
releases
README
web3.py 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.10+ support Installation sh 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.
Top issues
#1628Add documentation for `TypedDict` return values of methods usable by 3rd parties18 comments · 2020-04-24#1648ContractEvent.processLog (and others?) break when used as classmethod14 comments · 2020-05-14#425Document how to set up ENS for non-mainnet addresses11 comments · 2017-11-14#847Support for Ledger hardware wallets10 comments · 2018-05-15#3867AsyncHTTPProvider requests can deadlock HTTPSessionManager._lock when cancelled6 comments · 2026-07-06#1596Move `get_event_data` and `get_function_info` from web3._utils modules to Public API7 comments · 2020-03-06#1002Clearer error on contract execution error during call()7 comments · 2018-08-13#931Structs return as lists7 comments · 2018-06-24
Latest release
v8.0.0 v8.0.0 2026-08-31What's Changed Fix: logs subscription topics by @fselmo in https://github.com/ApeWorX/web3.py/pull/3748 Resolve datetime.datetime.utcnow() deprecation by @mdalp in https://github.com/ApeWorX/web3.py/pull/3751 Fix indentation in the docs by @mdalp in https://github.com/ApeWorX/web3.py/pull/3752 Ignore too slow healthcheck for test_key_generation_is_deterministic by @mdalp in https://github.com/ApeWorX/web3.py/pull/3750 Update link wiki by @NikolaiKryshnev in https://github.com/ApeWorX/web3.py/pull/3746 fixed typo in bugfix description by @viktorking7 in https://github.com/ApeWorX/w