Comparison
flake8-import-rules vs import-linter vs PyTestArch
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-linterTest framework for software architecture based on imports between modules
Actively maintained. Last release 3 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
$
pip install pytestarchIn 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, 158× more than PyTestArch.
- 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 | PyTestArch |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 85 |