SALE ON NOW! PROMOTIONS

Close Notification

Your cart does not contain any items

Clean Architecture with Python

Implement scalable and maintainable applications using proven architectural principles

Sam Keen

$111.95   $89.46

Paperback

Not in-store but you can order this
How long will it take?

QTY:

English
Packt Publishing Limited
20 June 2025
Future-proof your Python projects by creating flexible code that adapts to changing requirements with the help of this hands-on guide to achieving Clean Architecture

Key Features

Learn Clean Architecture through a series of real-world, code-centric examples and exercises Optimize system componentization, significantly reducing maintenance burden and overall complexity Apply Clean Architecture concepts confidently to new Python projects and legacy code refactoring Purchase of the print or Kindle book includes a free PDF eBook

Book DescriptionIn the rapidly evolving tech industry, software applications struggle to keep pace with changing business needs, leaving developers grappling with complex codebases that resist change, ultimately reducing productivity and increasing technical debt. Clean Architecture with Python offers a powerful approach to address these challenges. Drawing from his extensive experience architecting cloud-native systems, Sam Keen helps you transform complex architectural challenges into digestible, implementable solutions. This book teaches essential principles for effective development, emphasizing the Pythonic implementation of Clean Architecture. Through practical examples, you'll learn how to create modular, loosely coupled systems that are easy to understand, modify, and extend. The book covers key concepts such as the Dependency Rule, separation of concerns, and domain modeling, all tailored for Python development. By the end of this book, you'll be able to apply Clean Architecture principles effectively in your Python projects. Whether you're building new systems or managing existing ones, you'll have the skills to create more maintainable and adaptable applications. This approach will enhance your ability to respond to changing requirements, setting you up for long-term success in your development career.

What you will learn

Apply Clean Architecture principles idiomatically in Python Implement domain-driven design to isolate core business logic Apply SOLID principles in a Pythonic context to improve code quality Structure projects for maintainability and ease of modification Develop testing techniques for cleanly architected Python applications Refactor legacy Python code to adhere to Clean Architecture principles Design scalable APIs and web applications using Clean Architecture

Who this book is forIf you're a Python developer struggling with maintaining and extending complex codebases, this book is for you. It's ideal for intermediate developers looking to enhance their architectural skills as well as senior developers seeking to formalize their knowledge of Clean Architecture in Python. While beginners can benefit, prior experience with Python and object-oriented programming is recommended.
By:  
Imprint:   Packt Publishing Limited
Country of Publication:   United Kingdom
Dimensions:   Height: 235mm,  Width: 191mm, 
ISBN:   9781836642893
ISBN 10:   183664289X
Pages:   362
Publication Date:  
Audience:   General/trade ,  ELT Advanced
Format:   Paperback
Publisher's Status:   Active
Table of Contents Clean Architecture Essentials: Transforming Python Development SOLID Foundations: Building Robust Python Applications Type-Enhanced Python: Strengthening Clean Architecture Domain-Driven Design: Crafting the Core Business Logic The Application Layer: Orchestrating Use Cases The Interface Adapters Layer: Controllers and Presenters The Frameworks and Drivers Layer: External Interfaces Implementing Test Patterns with Clean Architecture Adding Web UI: Clean Architecture's Interface Flexibility Implementing Clean Architecture Observability: Monitoring and Verification Legacy to Clean: Refactoring Python for Maintainability Your Clean Architecture Journey: Next Steps

Sam Keen is a software engineering leader with over 25 years of experience. A polyglot developer who's leveraged Python in varied contexts from small startups to industry giants including AWS, Lululemon, and Nike. His expertise spans cloud architecture, continuous delivery, and building scalable systems. At Lululemon, Sam pioneered the company's first cloud-native software development team, setting standards for distributed cloud architecture within the company. Currently, Sam leverages Python to design and implement internal platform engineering solutions for AWS focusing on clean architecture principles and maintainable code. Sam resides in the US Pacific Northwest with his wife and two cats.

See Also