Comparison
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.
Maintained. Last release 5 months ago, commits in 10 of the last 26 weeks. Weaker on contributor spread.
$
pip install classify-importsA Python utility / library to sort Python imports.
Actively maintained. Last release 2 weeks ago, commits in 22 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: 93.1M downloads a month, 63× more than usort.
- isort also has the best Pythie’s Index (89).
- Safe default for a new project: isort.
Side by side
| Metric | classify-imports | isort | usort |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 89 |