# apeworx/web3.py

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/apeworx-web3-py).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

5,549 stars · 1,737 forks · Python · MIT

## Links

- GitHub: https://github.com/ApeWorX/web3.py
- Homepage: http://web3py.readthedocs.io
- awesome-repositories: https://awesome-repositories.com/repository/apeworx-web3-py.md

## Description

web3.py is a Python library for connecting applications to Ethereum. It wraps the Ethereum JSON-RPC interface over HTTP, WebSocket, and local IPC connections, translating node responses into native Python data types. With it, Python programs can read on-chain data, manage accounts, and send signed transactions without hand-written protocol code.

Contract interaction is a central part of the library. It loads a contract's ABI and exposes its functions as Python methods, handling the encoding of calls and the decoding of return values, and it can query and decode event logs into structured objects. Transactions are built and signed locally with keys held in the Python process, so private keys do not need to be sent to a node. Both blocking and asyncio-based client classes are provided, so applications can choose how they wait on network calls.

The client is organized into attached modules such as eth, net, and geth under one entry point. Requests pass through a composable middleware stack, and configurable formatters convert between Python types and the hex-encoded values used by nodes. The library covers work such as blockchain data analysis, wallet and payment automation, decentralized application backends, and deploying and exercising smart contracts on local or live networks.

## Tags

### Networking & Communication

- [Ethereum JSON-RPC Clients](https://awesome-repositories.com/f/networking-communication/ethereum-json-rpc-clients.md) — Wraps Ethereum JSON-RPC calls over HTTP, WebSocket, and IPC providers and returns node responses as native Python data types.
- [Decentralized & Blockchain Technologies](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/decentralized-blockchain-technologies.md) — Supplies ready-made tooling for apps that connect to blockchain networks and their contracts without hand-written connection code. ([source](https://github.com/apeworx/web3.py#readme))

### Web Development

- [Ethereum Client Libraries](https://awesome-repositories.com/f/web-development/ethereum-client-libraries.md) — Provides a Python client library that connects applications to Ethereum nodes over HTTP, WebSocket, and IPC, reads chain data, and sends signed transactions.
- [Smart Contract Callers](https://awesome-repositories.com/f/web-development/smart-contract-environments/smart-contract-callers.md) — Loads contract ABIs and exposes deployed contract functions as Python methods for reading state, sending transactions, and querying decoded event logs.

### Development Tools & Productivity

- [Contract Bindings](https://awesome-repositories.com/f/development-tools-productivity/contract-bindings.md) — Loads a contract's ABI and exposes its functions as Python methods, encoding calls and decoding return values automatically.

### Data & Databases

- [Ethereum Transaction Sending](https://awesome-repositories.com/f/data-databases/consensus-engines/bitcoin/transaction-broadcasting-tools/bitcoin-transaction-sending/ethereum-transaction-sending.md) — Connects Python programs to Ethereum to read on-chain data and send transactions without hand-written protocol code. ([source](https://github.com/apeworx/web3.py#readme))

### Security & Cryptography

- [Ethereum Wallet Managers](https://awesome-repositories.com/f/security-cryptography/cryptocurrency-wallets/wallet-management-interfaces/ethereum-wallet-managers.md) — Manages Ethereum accounts, checks balances, and signs and sends transactions programmatically for bots and payments.
- [Transaction Signing](https://awesome-repositories.com/f/security-cryptography/transaction-signing.md) — Builds and signs transactions inside the Python process with locally held keys, so private keys are never sent to a node.
- [Transaction Signing and Broadcasting](https://awesome-repositories.com/f/security-cryptography/transaction-signing/transaction-signing-and-broadcasting.md) — Manages Ethereum accounts, signs transactions and messages locally, and broadcasts them to the network from Python.

### Software Engineering & Architecture

- [Async-Sync Compatibility Layers](https://awesome-repositories.com/f/software-engineering-architecture/async-sync-compatibility-layers.md) — Provides parallel blocking and asyncio client classes with the same design, so applications can choose how they wait on network calls.
- [Composable Middleware Pipelines](https://awesome-repositories.com/f/software-engineering-architecture/request-interception-middleware/composable-middleware-pipelines.md) — Passes every request and response through a stack of composable middleware layers that can modify, cache, sign, or validate data.

### System Administration & Monitoring

- [Blockchain Event Logs](https://awesome-repositories.com/f/system-administration-monitoring/log-event-filtering/blockchain-event-logs.md) — Queries and subscribes to contract event logs and decodes raw log data into structured Python objects using the contract ABI.
