Comparison
flake8-import-rules vs import-linter vs pytest-archon
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install flake8-import-rulesLint your Python architecture
Actively maintained. Last release 13 days ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install import-linterRule your architecture like a real developer
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install pytest-archonIn short
- flake8-import-rules is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- import-linter is the most used: 39.3M downloads a month, 264× more than flake8-import-rules.
- import-linter also has the best Pythie’s Index (85).
- import-linter is growing fastest: downloads +24% over the last month.
- Safe default for a new project: import-linter.
Side by side
| Metric | flake8-import-rules | import-linter | pytest-archon |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 85 |