Skip to main content

borreguil

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

uv add borreguil

Usage

from borreguil.provider import HttpProvider
from borreguil.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 borreguil

  • Minimal: No middleware stacks or heavy abstractions, just direct JSON-RPC wrappers.
  • Fast: Low per-call overhead; uses orjson and httpx under 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.

Metadata

Release files for borreguil 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for borreguil 0.2.0
File Size Uploaded Provenance Actions
borreguil-0.2.0.tar.gz 11.1 kB With provenance Details for borreguil-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for borreguil 0.2.0
File Interpreter ABI Platform Actions
borreguil-0.2.0-py3-none-any.whl Python 3 none any Details for borreguil-0.2.0-py3-none-any.whl

Total release size: 20.7 kB

Release files / borreguil-0.2.0.tar.gz

Download URL borreguil-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
612545d8a00e5f28d0e0c6466eb6ab41877a0ddfd2a37be10c8381bf7df753a4
BLAKE2b-256 checksum
How to use checksums
e18af1886400ee3f9a9ec43ef708b9688b6fb8f3b3b6560fc86d4dabfcfbfc09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Release files / borreguil-0.2.0-py3-none-any.whl

Download URL borreguil-0.2.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
730061c2ac5a00582292b7438da993b7bc93c3993a5b9144b7e6a43fe3a7ab68
BLAKE2b-256 checksum
How to use checksums
8b38426b385fc76ebb15ac378aec67bb7da32048701fb34be6f4de2299ceb1e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Security for borreguil 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for borreguil-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page