{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Provides a decorator to automatically retry failed function calls with configurable stop conditions, wait strategies, and exception filtering.","skillfed_tags":["resilience","decorator","error-handling"],"use_cases":["Wrap API calls that may fail transiently, retrying with exponential backoff before giving up","Protect database queries or network operations from temporary connectivity issues","Add resilience to file I/O operations that might fail due to transient system conditions","Implement retry logic in test fixtures or setup/teardown code without rewriting the function"],"what_it_does":"Python Retry is a lightweight decorator library that wraps function calls to automatically retry them when they fail. It lets you specify how many times to retry, what exceptions should trigger a retry, and how long to wait between attempts\u2014including exponential backoff. The package has no runtime dependencies, making it a minimal addition to any project that needs resilience against transient failures.\n\nYou apply it as a simple decorator above any function, optionally tuning its behavior with parameters like max_retries, backoff_factor, and retry_on to filter which exceptions warrant a retry. It can also suppress exceptions entirely and log retry attempts to a logger you provide.","worth_installing":"Yes, if you need basic retry logic without external dependencies. The package is simple and permissively licensed. However, maintenance is dormant (no updates since 2022-03-11), so verify compatibility with your Python version and consider whether a more actively maintained alternative better suits long-term projects."},"id":"python-retry","links":{"html":"https://skillfed.io/packages/python-retry","md":"https://skillfed.io/packages/python-retry.md","pypi":"https://pypi.org/project/python-retry/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-03-11","license_spdx":null,"license_treatment":"permissive","name":"python-retry","python_support":"supports_current","summary":"Retry package for Python"},"popularity":{"monthly_downloads":138784,"position":11317,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.1"}
