Ross ROSS = Recommend OSS · open-source software intelligence for agents

jd/tenacity

Retrying library for Python observed · 2026-10-18

github.com/jd/tenacity · homepage · Python · Apache-2.0 (permissive) observed · 2026-10-18

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 63
  • age_days: 3722
  • days_rel: 13
  • days_push: 8
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

8807 stars · 394 forks observed · 2026-10-18

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Tenacity is a general-purpose retrying library for Python that simplifies adding retry behavior to functions and code blocks. It supports configurable stop conditions, wait/backoff strategies, retrying on exceptions or result values, coroutines, and a context manager.

Use cases

  • retry flaky network requests until they succeed
  • add exponential backoff to API calls
  • retry a function a limited number of attempts before giving up
  • retry async coroutines on exceptions
  • retry only specific exception types
  • retry until a function returns an expected value

When to choose

  • you need robust, configurable retry logic with backoff in Python
  • you want a decorator-based API for retrying functions or coroutines
  • you are migrating from the unmaintained retrying library

When to avoid

  • you need distributed or cross-service retry coordination
  • you want retries managed by infrastructure like a message queue or service mesh
  • your use case is simple enough for a hand-written loop

Facets

library · maturity stable

error-handling concurrency developer-tools python retry backoff decorator resilience automation

3 sources

Member repositories

RepositoryRoleHealth v2
jd/tenacitymain95

For agents

markdown · JSON · MCP: product_card(name="jd/tenacity")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem