{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"A decorator that automatically retries functions when they encounter transient errors common in Ethereum/EVM development, such as RPC timeouts, rate-limiting, and connection failures.","skillfed_tags":["ethereum","resilience","decorator"],"use_cases":["Wrap RPC calls to Ethereum nodes to tolerate temporary network or node unavailability without manual retry logic.","Decorate block explorer API queries to handle rate-limiting transparently and resume after backoff.","Protect eth-brownie scripts from sqlite3 database lock errors during concurrent operations.","Simplify error handling in async functions that call external blockchain services.","Add resilience to data-fetching functions in monitoring or indexing jobs without rewriting control flow."],"what_it_does":"eth_retry is a single-decorator library for catching and retrying transient failures in Ethereum and EVM ecosystem code. It wraps functions (both sync and async) with automatic retry logic that catches known ephemeral errors like RPC timeouts, rate-limiting responses, and connection failures. When a decorated function fails, eth_retry sleeps for a randomized backoff period (scaled by retry count) before trying again, up to a configurable maximum number of attempts. This is especially useful in blockchain development where external APIs and nodes frequently experience temporary outages or rate limits.\n\nThe library requires no external dependencies and is configured entirely through environment variables: MAX_RETRIES (default 10), MIN_SLEEP_TIME (default 10 seconds), and MAX_SLEEP_TIME (default 20 seconds). The randomized sleep window helps prevent thundering-herd problems when multiple parallel requests retry simultaneously.","worth_installing":"Yes. eth_retry solves a real pain point in Ethereum development with zero dependencies, active maintenance, and a permissive license. If you write code that calls blockchain RPCs or external APIs, this decorator will save you from writing boilerplate retry logic and help you handle transient failures gracefully."},"id":"eth-retry","links":{"html":"https://skillfed.io/packages/eth-retry","md":"https://skillfed.io/packages/eth-retry.md","pypi":"https://pypi.org/project/eth-retry/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-09","license_spdx":null,"license_treatment":"permissive","name":"eth-retry","python_support":"supports_current","summary":"Provides a decorator that automatically catches known transient exceptions that are common in the Ethereum/EVM ecosystem and reattempts to evaluate your decorated function"},"popularity":{"monthly_downloads":158377,"position":10726,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.8"}
