Add your description here
Project description
web3o
A lightweight, fast Python library for Ethereum JSON-RPC. Built as a minimal alternative to web3.py with low overhead and a small, explicit API.
Install
pip install web3o
Usage
from web3o.provider import HttpProvider
from web3o.contract import Contract
provider = HttpProvider("https://eth.llamarpc.com")
# Query chain state
block_number = provider.get_block_number()
# Call a contract
usdc = Contract(address="0xA0b...", abi=ABI, provider=provider)
response = usdc.functions.balanceOf("0x...").call()
Why web3o
- Minimal: No middleware stacks or heavy abstractions, just direct JSON-RPC wrappers.
- Fast: Low per-call overhead; uses
orjsonandhttpxunder the hood. - Typed: Modern Python 3.11+ type hints throughout.
- Small API surface: Easy to learn and maintain.
Documentation
See docs/ for the full guide and examples/ for runnable snippets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
borreguil-0.1.0.tar.gz
(10.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file borreguil-0.1.0.tar.gz.
File metadata
- Download URL: borreguil-0.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b77ce9cd39bb9c65b722e73fd365d0ff465ed86f0e3b8d10b665478345686648
|
|
| MD5 |
ce6ec7840ad56917420caa16ee3f937e
|
|
| BLAKE2b-256 |
f46079c257d4fedb84bd7062ca35b0ba7bcebd96f8e3bfc94b8cf74c3fc7d6a0
|
File details
Details for the file borreguil-0.1.0-py3-none-any.whl.
File metadata
- Download URL: borreguil-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce64a64c963de0bfdc746ab53b599406fe4f4bf13157697f7c13c2f02068d81
|
|
| MD5 |
1eb13f923b6ac34759cfea5045139711
|
|
| BLAKE2b-256 |
afb4913d3d886f505fe669c6e0d966fc876251a516aabf45c814d65ba102b724
|