Hacker GitHub

← All repos

litl/backoff

View on GitHub ↗ ★ 2,695 Python archived

Python library providing function decorators for configurable backoff and retry

8 mentions on Hacker News by 8 people: 3 stories, 5 comments · first 2018-04-14 · latest 2025-08-26

Mentions per year 8 mentions · busiest year 2024 (3)
20082026
  1. Looks like the entire GitHub organization is archived. Anyone know what happened? The most I see is: https://github.com/litl/backoff/issues/211
    comment by 8organicbits · 2025-08-08 · in Python backoff repository was archived
  2. backoff is good, too: https://github.com/litl/backoff I moved away from tenacity because of type-checking issues. I might check out stamina next time.
  3. …don't use it often (or rely on an IDE or LLM). Backoff seems somewhat less flexible than Tenacity ( https://github.com/litl/backoff/issues/125 ) but more concise. Basic use requires as little code as retry and should be easy to remember.
  4. I use https://github.com/litl/backoff for configurable backoff + retry context: OpenAI API used to be super flaky back in the early days, i needed to retry my requests quite frequently and i found this
  5. …a custom delegating decorator that remaps parameter names and does extra checks if necessary. [0] https://github.com/litl/backoff