{"adoption": {"forks": 346, "observed_at": "2026-08-28T04:10:25.632873+00:00", "stars": 8764}, "canonical_url": "https://ross.abutalabs.com/products/tenacity", "card": {"archived": false, "artifact_type": "library", "description": "Retrying library for Python", "domain": ["developer-tools"], "enriched": true, "function": ["error-handling", "concurrency"], "health_score": 98, "homepage": "http://tenacity.readthedocs.io", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["jd/tenacity"], "name": "jd/tenacity", "platform": ["python"], "pushed_at": "2026-08-06T06:51:35+00:00", "repo": "jd/tenacity", "stars": 8764, "tags": ["retry", "backoff", "decorator", "resilience", "automation"], "topics": ["python", "failure", "retry", "retry-library", "hacktoberfest"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tenacity", "repo": "jd/tenacity", "role": "main", "score": 88}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.632873+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:25:14.749183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e3ed06e90fe3bf5ecf311ac1bd22215144cfc8c0924f5e05e3394573d630ceb", "fetched_at": "2026-08-28T04:10:25.632873+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jd/tenacity"}, {"content_hash": "4d62568f817f2e7ca837f88f39368de96434cf66bc183abbdb75e764ec8db7d2", "fetched_at": "2026-08-29T08:25:31.472006+00:00", "kind": "homepage", "missing": false, "url": "http://tenacity.readthedocs.io"}, {"content_hash": "9d9bf34c411af071f0734a5b29cc636de3886f12c2fd59df88c16d013e122fe7", "fetched_at": "2026-08-29T08:25:31.481691+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/tenacity/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 72}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3674, "days_push": 27, "days_rel": 28, "gap_med": 90.5, "n_releases_24m": 5}, "score": 88, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}