Architecture Patterns with Python

Enabling Test-driven Development, Domain-driven Design, and Event-driven Microservices

Book cover


Authors: Harry Percival, Bob Gregory
Publisher: O’Reilly Media, Incorporated
Year: 2020
Pages: 273
Identifiers: 1492052205, 9781492052203
Links: Goodreads, Google, Read for free online, Learnerbly


With this practical guide, Harry Percival and Bob Gregory from introduce proven architectural design patterns to help Python developers manage application complexity. Each pattern is illustrated with concrete examples in idiomatic Python that explain how to avoid some of the unnecessary verbosity of Java and C# syntax. You’ll learn how to implement each of these patterns in a Pythonic way.


When I read this late 2021/early 2022, I found it to be an incredibly concise, clear explanation of how to apply typical software design patterns (like the Repository pattern, Unit of Work and Command-Query Responsibility Segregation (CQRS) to name a few) withing a Python web project.

Would highly recommend this to any Python software developer who is either unfamiliar with these patterns, or unsure of how to apply them within a Python-based project.


  • Readwise highlights on ‘Architecture Patterns with Python’ 🔒