# rholder/retrying

Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything.

Repository: https://github.com/rholder/retrying
Canonical: https://ross.abutalabs.com/products/retrying
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2021-08-15T10:32:43+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4971, "days_push": 1844, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1924, forks 152 (observed 2026-08-28T04:05:55.423210+00:00)

## What it is
A general-purpose Python retrying library providing a decorator API to add retry behavior to any function. It supports configurable stop conditions, wait strategies including exponential backoff, and retrying based on exceptions or returned results.

## Use cases
- retry flaky network calls in python
- add exponential backoff to a function
- retry a function until it succeeds
- limit retries to a maximum number of attempts
- retry only on specific exceptions
- poll a remote endpoint with waits between attempts

## When to choose
- you need a simple decorator-based retry mechanism in Python
- you want configurable stop and wait conditions like exponential backoff
- you need to retry based on exceptions or expected return values

## When to avoid
- you need an actively maintained library with recent updates
- you need async/await support
- you want advanced retry policies like jitter or circuit breaking

## Facets
- artifact type: library
- maturity: maintenance
- function: error-handling, concurrency
- domain: developer-tools, microservices
- platform: python, cross-platform
- tags: retry, decorator, exponential-backoff, resilience, automation

## Member repositories
- rholder/retrying (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.423210+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:09:35.259977+00:00, confidence not recorded.
  - readme: https://github.com/rholder/retrying (fetched 2026-08-28T04:05:55.423210+00:00, sha 56a27650833b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
