$npx skillfedfor your agent

web3

web3: A Python library for interacting with Ethereum

Worth itPyPI InternetReleased May 20265.2M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — web3-7.16.0-py3-none-any.whl
v7.16.0 · released 2026-05-01 · Python <4,>=3.8 · 14 runtime deps: eth-abi, eth-account, eth-hash, eth-typing, eth-utils, hexbytes, aiohttp, pydantic

Yes. web3.py is the de facto standard for Ethereum development in Python, actively maintained, permissively licensed, and carries low install friction. Install it if you need to interact with Ethereum from Python—whether for querying data, sending transactions, or building dApp backends. No known vulnerabilities as of the fact sheet date.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an Ethereum node endpoint (local or remote) to connect to; Python 3.8 or later.
  • Low install friction with a pure-wheel distribution.
  • Active maintenance with a recent release and ongoing commits.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use, modification, and distribution with minimal restrictions—standard permissive terms suitable for most projects.

last release 2026-05-01 (105 days) · last repo commit 2026-05-01 · 5,519 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,152,034 downloads/mo, #2,154 on PyPI

Verify before relying

pip install web3

from web3 import Web3

w3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/YOUR_INFURA_KEY'))
print(w3.is_connected())
  • Whether pywin32 is required on all platforms or only Windows; may affect non-Windows install experience.
  • Performance characteristics and rate limits when interacting with public RPC endpoints.
  • Specific smart contract interaction patterns and ABI encoding/decoding workflows beyond basic connectivity.
Same gist for agents: .md · .json

What it is and what it does

web3.py is the standard Python interface to the Ethereum blockchain. It abstracts the JSON-RPC protocol used by Ethereum nodes, letting you query blockchain state, send transactions, deploy contracts, and listen to events without managing low-level HTTP or WebSocket details yourself. The library bundles Ethereum-specific utilities like account management (via eth-account), ABI encoding (via eth-abi), and type definitions (via eth-typing) into a cohesive API.

You use it by connecting to an Ethereum node—either a local node you run or a remote service like Infura—then calling methods to read data or submit transactions. It handles the cryptographic signing of transactions via eth-account and provides both synchronous (requests) and asynchronous (aiohttp, websockets) I/O patterns. The library supports modern Python versions and is actively maintained by the Ethereum Foundation.

Use it for

  • Query account balances, transaction history, and contract state on Ethereum mainnet or testnets.
  • Send Ether transfers or call smart contract functions from a Python script or application.
  • Deploy new smart contracts and interact with their methods programmatically.
  • Build backend services for decentralized applications (dApps) that need to read or write blockchain data.
  • Monitor blockchain events and react to contract state changes in real time.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

web3.py is the de facto standard for Ethereum development in Python, actively maintained, permissively licensed, and carries low install friction. Install it if you need to interact with Ethereum from Python—whether for querying data, sending transactions, or building dApp backends. No known vulnerabilities as of the fact sheet date.

Install

web3 on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with a recent release and ongoing commits. The package carries 14 runtime dependencies including eth-account, eth-abi, and aiohttp, which are standard Ethereum tooling libraries.

Requires an Ethereum node endpoint (local or remote) to connect to; Python 3.8 or later.

License in practice

MIT license permits commercial and private use, modification, and distribution with minimal restrictions—standard permissive terms suitable for most projects.

Quickstart

pip install web3

from web3 import Web3

w3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/YOUR_INFURA_KEY'))
print(w3.is_connected())

Verify before relying

  • Whether pywin32 is required on all platforms or only Windows; may affect non-Windows install experience.
  • Performance characteristics and rate limits when interacting with public RPC endpoints.
  • Specific smart contract interaction patterns and ABI encoding/decoding workflows beyond basic connectivity.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
14 packages
eth-abieth-accounteth-hasheth-typingeth-utilshexbytesaiohttppydanticpywin32requeststyping-extensionstypes-requestswebsocketspyunormalize
MaintenanceActively maintained 105 days since the last release
Last repo commit
First released
Downloads5,152,034 / month, #2,154 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: web3-7.16.0-py3-none-any.whl

Tags

Capabilities
ethereum python libraryinteract with ethereumsmart contract interactionblockchain python sdkethereum web3 clientdecentralized app developmentethereum transactions python
Topics
ethereumblockchaincryptography
PyPI keywords
ethereum

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “interact with ethereum”

  • web3web3.py is a Python library for interacting with the Ethereum…
  • eth-testereth-tester provides an in-memory Ethereum blockchain simulator for…
  • etherscan-pythonProvides a complete Python client for Etherscan.io's blockchain API,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also aptos-sdk · cosmpy · etherscan-python · solana · stellar-sdk · py-evm · py-builder-relayer-client · eth-brownie · eth-tester · tronpy