Comparison
isort vs reorder-python-imports vs usort
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python utility / library to sort Python imports.
Actively maintained. Last release 2 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install isortTool for reordering python imports
Maintained. Last release 7 weeks ago, commits in 8 of the last 26 weeks. Weaker on contributor spread.
$
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: 96.1M downloads a month, 64× more than usort.
- isort also has the best Pythie’s Index (89).
- reorder-python-imports is growing fastest: downloads +19% over the last month.
- Safe default for a new project: isort.
Side by side
| Metric | isort | reorder-python-imports | usort |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 68 |