Comparison
classify-imports vs isort 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 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 2 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install isortTool for reordering python imports
Actively maintained. Last release 7 weeks ago, commits in 10 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
- isort is the most used: 93.1M downloads a month, 63× more than usort.
- isort also has the best Pythie’s Index (88).
- reorder-python-imports is growing fastest: downloads +19% over the last month.
- Safe default for a new project: isort.
Side by side
| Metric | classify-imports | isort | reorder-python-imports | usort |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | 88 |