{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"}],"enrichment":{"capability":"Implements exponential backoff with optional jitter for retry logic, returning successive wait durations that grow by a configurable factor until reaching a maximum.","skillfed_tags":["retry-logic","networking"],"use_cases":["Implement exponential backoff in socket reconnection loops to handle temporary network failures gracefully.","Add jitter to retry delays in distributed systems to prevent synchronized retry storms across multiple clients.","Calculate progressive wait times for API rate-limit handling or database connection retries.","Build custom retry logic for transient failures in web scraping or polling tasks."],"what_it_does":"justbackoff is a simple exponential backoff counter for Python. It manages retry delays by starting at a minimum duration (in milliseconds), multiplying by a factor after each call to duration(), and capping at a maximum. The counter resets on demand. Optional jitter adds randomness to avoid thundering-herd problems in concurrent retry scenarios.\n\nThe package has no runtime dependencies and is designed for straightforward integration into retry loops\u2014particularly useful for network reconnection attempts or other transient failure handling. It is a direct port of a Go backoff library.","worth_installing":"No. The package is abandoned (last commit 2024-05-07, repository archived) with no active maintenance. While the code is simple and permissively licensed, there will be no security updates or bug fixes. For new projects, prefer an actively maintained backoff library; for existing code already using justbackoff, consider migrating if you need ongoing support."},"id":"justbackoff","links":{"html":"https://skillfed.io/packages/justbackoff","md":"https://skillfed.io/packages/justbackoff.md","pypi":"https://pypi.org/project/justbackoff/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-05-02","license_spdx":null,"license_treatment":"permissive","name":"justbackoff","python_support":"unspecified","summary":"Simple backoff algorithm in Python"},"popularity":{"monthly_downloads":80930,"position":14262,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
