Comparison
aspy.refactor-imports vs classify-imports vs isort vs usort
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Utilities for refactoring imports in python-like syntax.
Low maintenance activity. Last release over 4 years ago, commits in 9 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install aspy-refactor-importsUtilities for refactoring imports in python-like syntax.
Maintained. Last release 5 months ago, commits in 9 of the last 26 weeks. Weaker on contributor spread.
pip install classify-importsA Python utility / library to sort Python imports.
Actively maintained. Last release 3 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install isortSafe, minimal import sorting
Maintained. Last release 11 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install usortIn short
- isort is the most used: 94.5M downloads a month, 64× more than usort.
- isort also has the best Pythie’s Index (88).
- Safe default for a new project: isort.
Side by side
| Metric | aspy.refactor-imports | classify-imports | isort | usort |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 35 | 67 |