{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/6"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Provides functions and decorators to apply backoff and retry strategies to Python function calls, supporting exponential, Fibonacci, fixed, linear, and polynomial delays.","skillfed_tags":["retry-logic","fault-tolerance","decorator"],"use_cases":["Wrap API client calls to third-party services to automatically retry on transient failures.","Decorate database query functions to handle temporary connection drops or timeouts.","Apply exponential backoff to rate-limited endpoints to avoid overwhelming the service.","Handle intermittent network glitches in web scraping or data-fetching tasks.","Implement fault tolerance in microservice communication without manual retry loops."],"what_it_does":"Backoff-Utils is a Python library that wraps function calls with automatic retry logic using configurable backoff strategies. It offers two main interfaces: a backoff() function for one-off retries and an @apply_backoff() decorator for persistent retry behavior on any function or method. The library supports five built-in strategies (exponential, Fibonacci, fixed, linear, polynomial) and allows customization through random jitter, argument adjustment between retries, selective exception handling, and maximum delay or attempt limits.\n\nThe package is designed for scenarios where external API calls or network operations fail transiently\u2014timeouts, temporary service unavailability, or intermittent connectivity issues. It reduces boilerplate by centralizing retry logic rather than scattering try-except blocks throughout your code. The single runtime dependency is validator-collection, which handles input validation. The library has been tested on Python 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8, though active maintenance ended in mid-2020.","worth_installing":"Yes, if you need straightforward retry logic and can accept dormant maintenance. The package is stable (v1.0.1, Production/Stable classifier), has no known vulnerabilities, and a permissive MIT license. However, verify compatibility with your Python version and validator-collection's current state, since no updates have shipped since 2020-07-11. For projects on newer Python versions, consider whether a more actively maintained alternative better fits your risk tolerance."},"id":"backoff-utils","links":{"html":"https://skillfed.io/packages/backoff-utils","md":"https://skillfed.io/packages/backoff-utils.md","pypi":"https://pypi.org/project/backoff-utils/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-07-11","license_spdx":null,"license_treatment":"permissive","name":"backoff-utils","python_support":"supports_current","summary":"Python functions and decorators for various backoff/retry strategies"},"popularity":{"monthly_downloads":337229,"position":7451,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
