{"adoption": {"forks": 22, "observed_at": "2026-08-28T04:04:44.417355+00:00", "stars": 1442}, "canonical_url": "https://ross.abutalabs.com/products/stamina", "card": {"archived": false, "artifact_type": "library", "description": "Production-grade retries for Python", "domain": ["developer-tools", "backend", "microservices"], "enriched": true, "function": ["error-handling", "concurrency", "monitoring", "testing"], "health_score": 96, "homepage": "https://stamina.hynek.me/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["hynek/stamina"], "name": "hynek/stamina", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-04T08:14:52+00:00", "repo": "hynek/stamina", "stars": 1442, "tags": ["retry", "backoff", "jitter", "async", "tenacity", "resilience", "decorator", "reliability"], "topics": ["retry", "python", "retrying", "reliability"], "urls": [], "use_cases": ["retry failed HTTP requests in Python", "add exponential backoff with jitter to flaky calls", "retry async functions with asyncio or Trio", "limit retries by count and total time", "disable retries globally in tests", "instrument retry attempts with Prometheus or structlog"], "what_it_is": "stamina is an opinionated Python library for retrying failed operations with production-safe defaults like exponential backoff with jitter, retry limits, and async/Trio support. It wraps Tenacity with a simpler, misuse-resistant API and built-in instrumentation and testing hooks.", "when_to_avoid": ["you need highly customized retry policies like custom wait strategies or per-call dynamic tuning", "you're not writing Python", "you prefer full control over retry internals that Tenacity directly provides"], "when_to_choose": ["you want sensible, opinionated retry defaults without configuring Tenacity by hand", "you need both sync and async retry support with one API", "you want built-in observability and test controls for retries"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/stamina", "repo": "hynek/stamina", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/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:04:44.417355+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.417355+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:24.188609+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c01644224113d50828b5bff8d474153602b8cb71e9d24e7f944af8abb4caf869", "fetched_at": "2026-08-28T04:04:44.417355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hynek/stamina"}, {"content_hash": "20a9c5313a78168fa86a62ede7c66b2a9c521efce38d0b9868da9337a7826f0f", "fetched_at": "2026-08-29T11:47:07.878275+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/stamina/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 47}, "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": 1433, "days_push": 29, "days_rel": 142, "gap_med": 198.0, "n_releases_24m": 3}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}