Comparison
autoflake vs pycln
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Removes unused imports and unused variables
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install autoflakeA formatter for finding and removing unused import statements.
Maintained. Last release 4 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pyclnIn short
- autoflake is the most used: 4.7M downloads a month, 15× more than pycln.
- Maintenance is comparable: autoflake 52, pycln 47 on Pythie’s Index.