Comparison
flake8-import-rules vs import-linter vs PyTestArch vs tach
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 2 weeks 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 8 of the last 26 weeks. A safe choice.
pip install pytestarchA Python tool to maintain a modular package architecture.
Maintained. Last release 8 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install tachIn 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, 6.5× more than tach.
- import-linter also has the best Pythie’s Index (84).
- 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 | tach |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 84 |