Tory Burch on Shopbop
To share your reaction on this item, open the Amazon app from the App Store or Google Play on your phone.
Add Prime to get Fast, Free delivery
Amazon prime logo
$28.93 with 36 percent savings
List Price: $44.99
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Wednesday, January 29 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Sunday, January 26. Order within 5 hrs 18 mins.
In Stock
$$28.93 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.93
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Mastering Python Design Patterns

3.7 3.7 out of 5 stars 9 ratings

off. Enter code INSTAPAY10 at checkout. Discount by Amazon. Terms  off. Promo code INSTAPAY10 is saved to your account. Discount by Amazon. Terms  
{"desktop_buybox_group_1":[{"displayPrice":"$28.93","priceAmount":28.93,"currencySymbol":"$","integerValue":"28","decimalSeparator":".","fractionalValue":"93","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"7K0e4ScbGsYeJSIbIRYj1c7bsqai6QojEiKpJejvo93mlut7ROEtCsQ8oug4u0NteFp0NGRwa7x21IWb4Ktg%2FW6wl2BlZL%2FjCWSDvY0u%2Bu3Vzxo9BHoMJtIBYmqHKHouNZA4MD%2BuHRoPBuSlIuY3aA%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

Create various design patterns to master the art of solving problems using Python

About This Book

  • Simplify design pattern implementation using the power of Python
  • Each pattern is accompanied with a real-world example demonstrating its key features
  • This is an easy-to-follow guide focusing on the practical aspects of Python design patterns

Who This Book Is For

This book is for Python programmers with an intermediate background and an interest in design patterns implemented in idiomatic Python. Programmers of other languages who are interested in Python can also benefit from this book, but it would be better if they first read some introductory materials that explain how things are done in Python.

What You Will Learn

  • Explore Factory Method and Abstract Factory for object creation
  • Clone objects using the Prototype pattern
  • Make incompatible interfaces compatible using the Adapter pattern
  • Secure an interface using the Proxy pattern
  • Choose an algorithm dynamically using the Strategy pattern
  • Extend an object without subclassing using the Decorator pattern
  • Keep the logic decoupled from the UI using the MVC pattern

In Detail

Python is an object-oriented, scripting language that is used in wide range of categories. In software engineering, a design pattern is a recommended solution to a software design problem. Although not new, design patterns remain one of the hottest topics in software engineering and they come as a ready reference for software developers to solve the common problems they face at work.

This book will take you through each and every design pattern explained with the help of real-world examples. The aim of the book is to introduce more low-level detail and concepts on how to write Pythonic code, not just focusing on common solutions as implemented in Java and C++. It includes small sections on troubleshooting, best practices, system architecture, and its design aspects. With the help of this book, you will be able to understand Python design pattern concepts and the framework, as well as issues and their resolution. You'll focus on all 16 design patterns that are used to solve everyday problems.

Product details

  • Publisher ‏ : ‎ Packt Pub Ltd (January 31, 2015)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 195 pages
  • ISBN-10 ‏ : ‎ 1783989327
  • ISBN-13 ‏ : ‎ 978-1783989324
  • Item Weight ‏ : ‎ 13.4 ounces
  • Dimensions ‏ : ‎ 9.25 x 7.52 x 0.45 inches
  • Customer Reviews:
    3.7 3.7 out of 5 stars 9 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Sakis Kasampalis
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

I am Sakis, a Software Architect living in The Netherlands. I like (Functional) Programming and generally I enjoy writing code in pragmatic languages, without being dogmatic about them. My principle is that the right tool should be used for the right job.

In 2015 I wrote the book Mastering Python Design Patterns. Before that, I was the technical reviewer of the books Learning Python Design Patterns and Mastering Object-Oriented Python. As a side project I created the GitHub repository python-patterns which has been welcomed by the Python community.

Customer reviews

3.7 out of 5 stars
9 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on March 4, 2015
    This book is well organized and concisely written. Each chapter stands on its own and can be read independently, which fits my style and allows for reading it as time permits. The chapters each contain some theory or explanation as well as copious amounts of code and real world examples. The use cases were also helpful in understanding situations where the design patterns could be implemented.

    I purchased the eBook version which had links embedded in the text for additional detail and in-depth explanations on related topics. I like to explore as I read and learn, so this was a welcome feature.

    The only con for me was that it's written for Python 3, however, the concepts apply to Python 2 and other languages. Eventually I will move to Python 3 and this was a gave me a chance to try Python 3.

    I recommend if you want to learn about design patterns and you're a Python user.
    6 people found this helpful
    Report
  • Reviewed in the United States on March 1, 2015
    If you need to find new ideas on how to optimize or make your code more easy to interpret this book will give you several examples of code structures to make it more efficient or more simple to interpret. The book writing style is a bit dry and it's not for beginners(you need to know what python is about and how to code with it or you will get lost) but the core content is sound so if you know your stuff and you want to learn new coding styles this book is for you.
    3 people found this helpful
    Report
  • Reviewed in the United States on July 30, 2016
    There is simple and then there is simplistic. The examples in this book may be structured in the style of the design patterns discussed, but they lack the complexity to truly communicate the purpose of these patterns. If you need general ideas about patterns, this book is fine. However, I'm finding myself googling every section to learn more practical information about when and why to use these patterns. This book is very light on content and does nothing to convey deeper understanding of when certain principles should be used. I encourage you to google each chapter title rather than buying this book.
    5 people found this helpful
    Report
  • Reviewed in the United States on March 22, 2015
    I really enjoy reading this book. It was very useful to learn how to properly apply certain design patterns to real-life examples.
    One person found this helpful
    Report

Top reviews from other countries

  • Arto Mujunen
    4.0 out of 5 stars Simple examples for most common design patterns
    Reviewed in the United Kingdom on September 14, 2019
    Straight forward explanations for each design patterns without academic jargon