{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"Provides a decorator to automatically retry a function when it raises an exception, with configurable attempt limits and timeout intervals.","skillfed_tags":["error-handling","decorator"],"use_cases":["Wrap network requests that may fail transiently to automatically retry before giving up.","Decorate database queries or API calls that occasionally time out or return temporary errors.","Add resilience to file I/O operations that may fail due to temporary resource unavailability.","Simplify test fixtures that need to wait for a service to become ready before proceeding."],"what_it_does":"retry-decorator is a simple Python decorator that wraps a function to automatically retry it when an exception occurs. You decorate a function with @retry, specifying the exception type to catch, the number of attempts to make, and a delay between retries in seconds. If all retries are exhausted, the last exception is raised to the caller.\n\nThe package has no runtime dependencies and works with both Python 2 and Python 3 according to its classifiers. However, the project is abandoned\u2014the last release was in March 2020 and the last repository commit in December 2021\u2014so it will not receive updates for compatibility issues or bug fixes.","worth_installing":"No. The package is abandoned with no maintenance since 2021, and high install friction (source-only distribution). Modern Python projects should use the standard library's functools.wraps with explicit retry logic, or a maintained alternative like tenacity or backoff, which offer more features and active support."},"id":"retry-decorator","links":{"html":"https://skillfed.io/packages/retry-decorator","md":"https://skillfed.io/packages/retry-decorator.md","pypi":"https://pypi.org/project/retry-decorator/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-03-10","license_spdx":null,"license_treatment":"permissive","name":"retry-decorator","python_support":"unspecified","summary":"Retry Decorator"},"popularity":{"monthly_downloads":474207,"position":6455,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.1"}
