eth-retry provides a decorator that automatically catches known transient exceptions common in the Ethereum/EVM ecosystem (RPC errors, rate limits, timeouts) and retries the decorated function. Current version is 0.3.7, with an active release cadence. Requires Python >=3.10.
pip install eth-retryVerified import paths — ran on the pinned version, not inferred.
Basic usage of eth-retry for synchronous and asynchronous functions.
If you need to retry on other exceptions, pass them via exceptions=[...] in the decorator.
Set environment variables before importing eth_retry, or use decorator kwargs to override.
Upgrade to Python 3.10+ or pin eth-retry to <=0.3.5.
No dependency data recorded yet.