Jump to ratings and reviews
Rate this book

Python Architecture Patterns: Master API design, event-driven structures, and package management in Python

Rate this book
Make the best of your test suites by using cutting-edge software architecture patterns in Python

Key FeaturesLearn how to create scalable and maintainable applicationsBuild a web system for micro messaging using concepts in the bookUse profiling to find bottlenecks and improve the speed of the systemBook DescriptionDeveloping large-scale systems that continuously grow in scale and complexity requires a thorough understanding of how software projects should be implemented. Software developers, architects, and technical management teams rely on high-level software design patterns such as microservices architecture, event-driven architecture, and the strategic patterns prescribed by domain-driven design (DDD) to make their work easier.

This book covers these proven architecture design patterns with a forward-looking approach to help Python developers manage application complexity—and get the most value out of their test suites.

Starting with the initial stages of design, you will learn about the main blocks and mental flow to use at the start of a project. The book covers various architectural patterns like microservices, web services, and event-driven structures and how to choose the one best suited to your project. Establishing a foundation of required concepts, you will progress into development, debugging, and testing to produce high-quality code that is ready for deployment. You will learn about ongoing operations on how to continue the task after the system is deployed to end users, as the software development lifecycle is never finished.

By the end of this Python book, you will have developed "architectural thinking": a different way of approaching software design, including making changes to ongoing systems.

What you will learnThink like an architect, analyzing software architecture patternsExplore API design, data storage, and data representation methodsInvestigate the nuances of common architectural structuresUtilize and interoperate elements of patterns such as microservicesImplement test-driven development to perform quality code testingRecognize chunks of code that can be restructured as packagesMaintain backward compatibility and deploy iterative changesWho this book is forThis book will help software developers and architects understand the structure of large complex systems and adopt architectural patterns that are scalable. Examples in the book are implemented in Python so a fair grasp of basic Python concepts is expected. Proficiency in any programming languages such as Java or JavaScript is sufficient.

Table of ContentsIntroduction to Software ArchitectureAPI DesignData ModelingThe Data LayerThe Twelve-Factor App MethodologyWeb Server StructuresEvent-Driven StructuresAdvanced Event-Driven StructuresMicroservices vs MonolithTesting and TDDPackage ManagementLoggingMetricsProfilingDebuggingOngoing Architecture

594 pages, Kindle Edition

Published January 12, 2022

6 people are currently reading
18 people want to read

About the author

Jaime Buelta

5 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
3 (42%)
3 stars
3 (42%)
2 stars
1 (14%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Ben.
2,734 reviews230 followers
February 28, 2023
Programming Python Patterns

This was a valuable resource for mastering API design, event-driven structures, and package management in Python.

The author, Buelta, provides clear explanations and examples, making it easy to follow along and apply the concepts to my own projects.

While it wasn't the most engaging book I've read on Python, the content was still useful and helped me to further develop my skills.

One area where I felt the book could have been stronger was in providing more advanced topics or deeper dives into certain patterns.

Overall, I would recommend this book for those looking to expand their knowledge of Python architecture.

3.8/5
Profile Image for Nickolai.
912 reviews8 followers
June 15, 2025
Когда говорят о дизайне, это уже уровень не начинающего программиста и даже, в большинстве случаев, не мидла. А в этой книге нет ничего нового для крепкого мидла и синьера. Вся информация примитивна, да еще и подается на чересчур простых примерах. В итоге она представляется мне чем-то вроде превью для джунов: смотрите, что вас ждет, когда вы подрастете. Продвинутым программистам ее читать, явно, не стоит.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.