Comparison
pyupgrade vs refurb
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A tool to automatically upgrade syntax for newer versions.
Maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install pyupgradeA tool for refurbishing and modernizing Python codebases
Low maintenance activity. Last release 8 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install refurbIn short
- pyupgrade is the most used: 2.1M downloads a month, 22× more than refurb.
- pyupgrade also has the best Pythie’s Index (66).
- Safe default for a new project: pyupgrade.