Comparison
classify-imports vs reorder-python-imports 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-importsTool for reordering python imports
Actively maintained. Last release 7 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install reorder-python-importsSafe, 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
- usort is the most used: 1.5M downloads a month, 5.6× more than classify-imports.
- reorder-python-imports is better maintained: Pythie’s Index 74 against 45.
- reorder-python-imports is growing fastest: downloads +19% over the last month.
Side by side
| Metric | classify-imports | reorder-python-imports | usort |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 74 |