Comparison
flake8-import-rules vs import-linter vs pytest-archon 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 2 weeks 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-archonTest 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 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: 40.2M downloads a month, 159× more than PyTestArch.
- import-linter also has the best Pythie’s Index (84).
- import-linter is growing fastest: downloads +27% over the last month.
- Safe default for a new project: import-linter.
Side by side
| Metric | flake8-import-rules | import-linter | pytest-archon | PyTestArch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 84 |