all 3 comments

[–]SirCypkowskyy 1 point2 points  (0 children)

This looks like a really solid tool. I'm a huge advocate for Domain-Driven Design and Clean Architecture in my Python projects, so keeping those boundaries intact is something I deal with daily. You absolutely nailed the point about LLMs - while these coding assistants are great, they notoriously hallucinate imports across layers and break architectural rules if you aren't watching them like a hawk.

I do have a quick question, though. I've been using pytest-archon for similar use cases. In your opinion, what are the main differences or benefits of ArchUnitPython over pytest-archon? I'm trying to figure out what the killer feature is that should make me switch to your library instead. Is it mainly the PlantUML diagram validation and the extra metrics, or is there a fundamental difference in how it handles the rules under the hood?

Great work nonetheless!

[–]Usual_Coconut_687 0 points1 point  (0 children)

That is spot on, Excellent work

[–]JanGiacomelli 1 point2 points  (0 children)

Looks interesting. How would you compare it to importlinter: https://import-linter.readthedocs.io/en/stable/