{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"}],"enrichment":{"capability":"A decorator and function wrapper for retrying failed function calls with configurable delays, backoff, jitter, and exception handling\u2014works with both sync and async functions.","skillfed_tags":["retry-logic","async-support","error-handling"],"use_cases":["Retry HTTP requests or API calls with exponential backoff when facing transient network failures.","Wrap database operations to automatically retry on connection timeouts or temporary unavailability.","Retry async functions in concurrent applications where occasional failures are expected and recoverable.","Add custom failure callbacks to log, alert, or clean up state after each failed attempt before retrying.","Dynamically adjust retry behavior at runtime using retry_call() based on application logic or configuration."],"what_it_does":"reretry is a decorator-based retry library that wraps function calls to automatically re-execute them on failure. It's a fork of the original `retry` package with added features: traceback logging on failed attempts, custom callback hooks after each failure, and support for async functions. The package has no external dependencies and works entirely with Python's standard library.\n\nYou decorate a function with @retry and configure exception types, maximum attempts, delay between retries, exponential backoff, jitter, and logging behavior. It also provides a retry_call() function for dynamic retry configuration at runtime. The library is straightforward to use for common patterns like network requests, API calls, or any operation prone to transient failures.","worth_installing":"Yes, if you need a simple, dependency-free retry decorator for sync or async functions. The library is well-documented and covers common retry patterns. However, the abandoned maintenance status (no updates since December 2022) means you should evaluate whether you can tolerate lack of future bug fixes or Python version support\u2014acceptable for stable, low-risk retry logic but risky if you depend on active maintenance."},"id":"reretry","links":{"html":"https://skillfed.io/packages/reretry","md":"https://skillfed.io/packages/reretry.md","pypi":"https://pypi.org/project/reretry/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-12-18","license_spdx":null,"license_treatment":"permissive","name":"reretry","python_support":"supports_current","summary":"An easy to use, but functional decorator for retrying on exceptions."},"popularity":{"monthly_downloads":164764,"position":10539,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.8"}
