TLDR Web Dev · MISCELLANEOUS

HOW WE ORGANIZE OUR VERY LARGE PYTHON MONOLITH

blog.europython.eu7 min read

Summary from the TLDR Web Dev newsletter

This article covers how Kraken Technologies organizes its large Python monolith, consisting of around 28,000 Python modules. Kraken implemented a layered architecture pattern to prevent code complexity and enforce clear dependencies. The top-level modules and subpackages serve as layers, ensuring that components do not depend on those higher up in the stack. This structure is maintained using a linter that enforces layering and independence rules.