Comparison
archunitpython vs pytest-archon 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 archunitpythonRule 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
- PyTestArch is the most used: 252.9K downloads a month, 2.7× more than pytest-archon.
- archunitpython is better maintained: Pythie’s Index 89 against 70.
- archunitpython is growing fastest: downloads +38% over the last month.
- archunitpython is the newcomer: first released Apr 2026.
- Safe default for a new project: PyTestArch, or archunitpython if active maintenance matters most.
Side by side
| Metric | archunitpython | pytest-archon | PyTestArch |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 31 | Pythie’s Index: 70 |
| Verdict | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 77.5K | 94.1K | 252.9K |
| Downloads, month over month | +38% | +15% | -4% |
| GitHub stars | 486 | 93 | 180 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 3 | 1 |
| Last release | Oct 6, 2026 | Sep 19, 2025 | Nov 8, 2026 |
| Releases, 12 months | 15 | 0 | 3 |
| Weeks with commits | 13 / 26 | 0 / 26 | 8 / 26 |
| Recent contributors | 7 | 3 | 6 |
| First release | Apr 2026 | Nov 2022 | Sep 2022 |
| Python versions | 3.10 – 3.13 | 3.8 – 3.11 | 3.11 – 3.15 |
| License | MIT | non-standard | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.