dosisod/refurb
A tool for refurbishing and modernizing Python codebases observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 75
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 125
- age_days: 1498
- days_rel: 152
- days_push: 152
- n_releases_24m: 4
Adoption not part of the score
2532 stars · 59 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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.
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
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+
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
Facets
cli-tool · maturity active
linter cli developer-tools developer-tools cli python cross-platform code-modernization static-analysis mypy python-linter code-quality command-line python
2 sources
- readme: https://github.com/dosisod/refurb · fetched 2026-08-28 · f0978ca63408
- registry_pypi: https://pypi.org/pypi/refurb/json · fetched 2026-08-29 · 9e9458af8438
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dosisod/refurb | main | 72 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem