Skip to content
Home/ Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event
Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event

Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event

No customer reviews yet ISBN 9781492052203 O′Reilly

As Python continues to grow in popularity, projects are becoming larger and more complex. Many Python developers are taking an interest in high-level software design patterns such as hexagonal/clean architecture, event-driven architecture, and the strategic patterns prescribed by domain-driven design (DDD). But translating those patterns into Python isn't always straightforward.

With this hands-on guide, Harry Percival and Bob Gregory from MADE.com introduce proven architectural design patterns to help Python developers manage application complexity--and get the most value out of their test suites.

Each pattern is illustrated with concrete examples in beautiful, idiomatic Python, avoiding some of the verbosity of Java and C# syntax. Patterns include:

  • Dependency inversion and its links to ports and adapters (hexagonal/clean architecture)
  • Domain-driven design's distinction between Entities, Value Objects, and Aggregates
  • Repository and Unit of Work patterns for persistent storage
  • Events, commands, and the message bus
  • Command-query responsibility segregation (CQRS)
  • Event-driven architecture and reactive microservices

About the author

Product details

BrandO′Reilly
Pub dateApr 14, 2020
ISBN-101492052205
ISBN-139781492052203
LanguageEnglish
Dimensions9.19 × 0.64 × 7 in
Weight1 lb
Last updated 2026-03-11 01:01
$46.04 $65.99 30% off
You save $19.95 · list price $65.99
In stock — ships in 24 hours with free tracking
Delivery by Thursday, October 1, 2026
Qty
Sign in to Add to Saved list
Free delivery on orders over $35.
15-day returns. Any reason.
Secure checkout. We never store card details.