Comparison
archunitpython vs 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.
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-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 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.
- Maintenance is comparable: archunitpython 89, import-linter 84, PyTestArch 70 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 | PyTestArch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 27 | Pythie’s Index: 84 | Pythie’s Index: 70 |
| Verdict | Actively maintained | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 77.5K | 153.7K | 40.2M | 252.9K |
| Downloads, month over month | +38% | +12% | +27% | -4% |
| GitHub stars | 486 | – | 1.3K | 180 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 14 | 1 |
| Last release | Oct 6, 2026 | Apr 24, 2023 | Nov 18, 2026 | Nov 8, 2026 |
| Releases, 12 months | 15 | 0 | 10 | 3 |
| Weeks with commits | 13 / 26 | – | 12 / 26 | 8 / 26 |
| Recent contributors | 7 | – | 13 | 6 |
| First release | Apr 2026 | Oct 2022 | Jan 2019 | Sep 2022 |
| Python versions | 3.10 – 3.13 | 3.8 – 3.11 | 3.11 – 3.15 | 3.11 – 3.15 |
| License | MIT | MIT | BSD-2-Clause | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.