{"adoption": {"forks": 59, "observed_at": "2026-08-28T04:06:58.940479+00:00", "stars": 2532}, "canonical_url": "https://ross.abutalabs.com/products/refurb", "card": {"archived": false, "artifact_type": "cli-tool", "description": "A tool for refurbishing and modernizing Python codebases", "domain": ["developer-tools"], "enriched": true, "function": ["linter", "cli", "developer-tools"], "health_score": 83, "homepage": null, "language": "Python", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["dosisod/refurb"], "name": "dosisod/refurb", "platform": ["cli", "python", "cross-platform"], "pushed_at": "2026-04-03T21:43:32+00:00", "repo": "dosisod/refurb", "stars": 2532, "tags": ["code-modernization", "static-analysis", "mypy", "python-linter", "code-quality", "command-line", "python"], "topics": ["cli", "mypy", "python", "python310", "testing", "gplv3", "python311", "python312"], "urls": [], "use_cases": ["modernize legacy python codebase", "find verbose file reading patterns to replace with pathlib", "lint python code for redundant casts", "suggest idiomatic python replacements", "explain lint suggestions with examples", "enforce modern python idioms in ci"], "what_it_is": "Refurb is a command-line linter that suggests modern, idiomatic replacements for older or verbose Python code patterns. It uses type information to detect refactorings like replacing file-reading boilerplate with pathlib or redundant casts, and explains each check via error codes.", "when_to_avoid": ["you need auto-fixing of lint errors rather than suggestions", "you need a linter for Python versions below 3.7", "you want a general-purpose linter covering style, imports, and complexity - use ruff or flake8 instead"], "when_to_choose": ["you want suggestions for modernizing old Python idioms beyond what flake8/ruff offer", "you want explanations for each lint rule with good/bad examples", "your codebase targets Python 3.7+ but you can run tools on 3.10+"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/refurb", "repo": "dosisod/refurb", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/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:06:58.940479+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:58.940479+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:25:17.836626+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0978ca634081746520fd3ce270d754bd1600be400e0e0cbbe14618103b167ea", "fetched_at": "2026-08-28T04:06:58.940479+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dosisod/refurb"}, {"content_hash": "9e9458af8438eb70f34288c51ee51806065bb83fa46ddc665f3f885e7a89b9a6", "fetched_at": "2026-08-29T10:07:27.204273+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/refurb/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 75, "longevity": 100, "rhythm": 53}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1498, "days_push": 152, "days_rel": 152, "gap_med": 125, "n_releases_24m": 4}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}