web3

web3: A Python library for interacting with Ethereum

MIT 252 个版本 Python <4,>=3.8
The Ethereum Foundation <snakecharmers@ethereum.org>
安装
pip install web3
poetry add web3
pipenv install web3
conda install web3
描述

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.

版本列表
8.0.0b3 2026-04-30
8.0.0b2 2026-04-02
8.0.0b1 2025-12-19
7.16.0 2026-05-01
7.15.0 2026-04-02
7.14.1 2026-02-03
7.14.0 2025-10-16
7.13.0 2025-08-04
7.12.1 2025-07-14
7.12.0 2025-05-22
7.11.1 2025-05-12
7.11.0 2025-04-29
7.10.0 2025-03-27
7.9.0 2025-03-12
7.8.0 2025-02-03
7.7.0 2025-01-15
7.6.1 2024-12-18
7.6.0 2024-11-22
7.5.0 2024-11-06
7.4.0 2024-10-16
7.3.1 2024-10-14
7.3.0 2024-09-25
7.2.0 2024-08-29
7.1.0 2024-08-28
7.0.0 2024-08-21
7.0.0b9 2024-08-01
7.0.0b8 2024-07-24
7.0.0b7 2024-06-26
7.0.0b6 2024-05-15
7.0.0b5 2024-04-26
7.0.0b4 2024-04-11
7.0.0b3 2024-03-28
7.0.0b2 2024-03-12
7.0.0b1 2024-02-28
6.20.4 2025-02-19
6.20.3 2024-08-22
6.20.2 2024-08-14
6.20.1 2024-07-22
6.20.0 2024-06-26
6.19.0 2024-05-15
6.18.0 2024-04-29
6.17.2 2024-04-17
6.17.1 2024-04-15
6.17.0 2024-04-11
6.16.0 2024-03-28
6.15.1 2024-02-05
6.15.0 2024-01-25
6.14.0 2024-01-10
6.13.0 2023-12-20
6.12.0 2023-12-11
6.11.4 2023-11-27
6.11.3 2023-11-08
6.11.2 2023-10-30
6.11.1 2023-10-18
6.11.0 2023-10-11
6.10.0 2023-09-21
6.9.0 2023-08-23
6.8.0 2023-08-02
6.7.0 2023-07-26
6.6.1 2023-07-12
6.6.0 2023-07-12
6.5.0 2023-06-15
6.4.0 2023-05-15
6.3.0 2023-05-03
6.2.0 2023-04-12
6.1.0 2023-04-05
6.0.0 2023-03-14
6.0.0b9 2023-01-03
6.0.0b8 2022-11-14
6.0.0b7 2022-10-19
6.0.0b6 2022-09-26
6.0.0b5 2022-09-19
6.0.0b4 2022-07-13
6.0.0b3 2022-06-01
6.0.0b2 2022-04-27
6.0.0b11 2023-02-24
6.0.0b10 2023-02-15
6.0.0b1 2022-02-28
5.31.4 2023-03-13
5.31.3 2022-12-02
5.31.2 2022-12-01
5.31.1 2022-10-06
5.31.0 2022-09-19
5.30.0 2022-07-07
5.29.2 2022-06-01
5.29.1 2022-05-16
5.29.0 2022-04-13
5.28.0 2022-02-09
5.27.0 2022-01-31
5.26.0 2022-01-06
5.25.0 2021-11-19
5.24.0 2021-09-27
5.23.1 2021-08-27
5.23.0 2021-08-12
5.22.0 2021-08-02
5.21.0 2021-07-12
5.20.1 2021-07-01
5.20.0 2021-06-09
5.19.0 2021-04-28
5.18.0 2021-04-09
5.17.0 2021-02-24
5.16.0 2021-02-04
5.15.0 2021-01-15
5.14.0 2021-01-05
5.13.1 2020-12-03
5.13.0 2020-10-29
5.12.3 2020-10-21
5.12.2 2020-10-12
5.12.1 2020-09-02
5.12.0 2020-07-20
5.12.0b3 2020-07-15
5.12.0b2 2020-07-14
5.12.0b1 2020-07-09
5.11.1 2020-06-17
5.11.0 2020-06-03
5.10.0 2020-05-18
5.9.0 2020-04-30
5.8.0 2020-04-23
5.7.0 2020-03-16
5.6.0 2020-02-26
5.5.1 2020-02-10
5.5.0 2020-02-03
5.4.0 2019-12-06
5.3.1 2019-12-05
5.3.0 2019-11-14
5.2.2 2019-10-21
5.2.1 2019-10-17
5.2.0 2019-09-26
5.1.0 2019-09-18
5.0.2 2019-08-22
5.0.1 2019-08-15
5.0.0 2019-08-01
5.0.0b5 2019-07-31
5.0.0b4 2019-07-18
5.0.0b3 2019-07-15
5.0.0b2 2019-05-13
5.0.0b1 2019-05-06
5.0.0a9 2019-03-26
5.0.0a8 2019-03-20
5.0.0a7 2019-03-11
5.0.0a6 2019-02-25
5.0.0a5 2019-02-13
5.0.0a4 2019-01-23
5.0.0a3 2019-01-15
5.0.0a2 2018-12-20
5.0.0a11 2019-04-24
5.0.0a10 2019-04-15
5.0.0a1 2018-12-13
4.10.0 2020-02-05
4.9.2 2019-04-24
4.9.1 2019-03-26
4.9.0 2019-03-25
4.8.3 2019-02-21
4.8.2 2018-11-15
4.8.1 2018-10-28
4.8.0 2018-10-28
4.7.2 2018-09-25
4.7.1 2018-09-11
4.6.0 2018-08-24
4.5.0 2018-07-30
4.4.1 2018-06-29
4.4.0 2018-06-22
4.3.0 2018-06-06
4.2.1 2018-05-09
4.2.0 2018-04-25
4.1.0 2018-04-09
4.0.0 2018-04-02
4.0.0b9 2018-02-08
4.0.0b7 2018-01-30
4.0.0b6 2018-01-18
4.0.0b5 2017-12-28
4.0.0b4 2017-12-08
4.0.0b3 2017-12-01
4.0.0b2 2017-11-22
4.0.0b13 2018-03-27
4.0.0b12 2018-03-27
4.0.0b11 2018-03-01
4.0.0b10 2018-02-22
4.0.0b1 2017-11-15
3.16.5 2018-02-02
3.16.4 2017-12-01
3.16.3 2017-11-22
3.16.2 2017-10-11
3.16.1 2017-10-02
3.16.0 2017-10-02
3.15.0 2017-09-20
3.14.2 2017-09-18
3.14.1 2017-09-18
3.14.0 2017-09-18
3.13.5 2017-09-06
3.13.4 2017-08-29
3.13.3 2017-08-28
3.13.2 2017-08-24
3.13.1 2017-08-24
3.13.0 2017-08-24
3.11.1 2017-08-09
3.11.0 2017-07-26
3.10.0 2017-07-18
3.9.0 2017-07-07
3.8.1 2017-05-01
3.8.0 2017-03-22
3.7.2 2017-02-27
3.7.1 2017-02-22
3.7.0 2017-02-21
3.6.2 2017-02-15
3.6.1 2017-02-14
3.6.0 2017-02-06
3.5.3 2017-02-03
3.5.2 2017-01-19
3.5.1 2017-01-11
3.5.0 2017-01-11
3.4.4 2017-01-01
3.4.3 2016-12-31
3.4.2 2016-12-30
3.4.1 2016-12-29
3.4.0 2016-12-29
3.3.0 2016-12-28
3.2.0 2016-10-24
3.1.1 2016-10-12
3.1.0 2016-10-10
3.0.2 2016-10-06
3.0.1 2016-10-03
3.0.0 2016-09-30
2.9.0 2016-09-24
2.8.1 2016-09-12
2.8.0 2016-09-10
2.7.1 2016-09-08
2.7.0 2016-09-07
2.6.0 2016-09-07
2.5.0 2016-09-06
2.4.0 2016-09-06
2.3.0 2016-09-05
2.2.0 2016-09-03
2.1.1 2016-08-31
2.1.0 2016-08-30
2.0.0 2016-08-19
1.9.0 2016-08-16
1.8.0 2016-08-15
1.7.1 2016-08-15
1.7.0 2016-08-13
1.6.0 2016-08-08
1.5.0 2016-08-07
1.4.0 2016-07-27
1.3.0 2016-07-16
1.2.0 2016-07-15
1.1.0 2016-07-14
1.0.1 2016-07-13
1.0.0 2016-07-11
0.1.9 2016-05-04
0.1.8 2016-05-04
0.1.7 2016-04-28