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. ▲ 1
    Python backoff is now archived
    story by michalc · 2025-08-26 · 0 comments
  2. 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
  3. ▲ 4
    Python backoff repository was archived
    story by hleszek · 2025-08-08 · 4 comments
  4. 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.
  5. …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.
  6. 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
  7. …a custom delegating decorator that remaps parameter names and does extra checks if necessary. [0] https://github.com/litl/backoff
  8. ▲ 49
    Backoff: Python function decorators for configurable backoff and retry
    story by mocko · 2018-04-14 · 3 comments