Comparison
archunitpython vs 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.
Architecture testing library for Python projects. Enforce dependency rules, detect cycles, validate metrics.
Actively maintained. Last release 8 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
pip install archunitpythonSlowing 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-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: 40.2M downloads a month, 262× more than flake8-import-rules.
- Maintenance is comparable: archunitpython 89, import-linter 84, pytest-archon 31 on Pythie’s Index.
- archunitpython is growing fastest: downloads +38% over the last month.
- archunitpython is the newcomer: first released Apr 2026.
- Safe default for a new project: import-linter.
Side by side
| Metric | archunitpython | flake8-import-rules | import-linter | pytest-archon |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 27 |