Powerful Python: Patterns and Strategies with Modern Python (Early Release)
معرفی کتاب «Powerful Python: Patterns and Strategies with Modern Python (Early Release)» نوشتهٔ Aaron Maxwell، منتشرشده توسط نشر O'Reilly Media در سال 2024. این کتاب در فرمت epub، زبان انگلیسی ارائه شده است. «Powerful Python: Patterns and Strategies with Modern Python (Early Release)» در دستهٔ بدون دستهبندی قرار دارد.
Once you've mastered the basics of Python, how do you skill up to the top 1%? How do you focus your learning time on topics that yield the most benefit for production engineering and data teams—without getting distracted by info of little real-world use? This book answers these questions and more. You'll focus on the Python first principles that act to accelerate everything else: the 5% of programming knowledge that makes the remaining 95% fall like dominos. It's also this knowledge that helps you become an exceptional Python programmer, fast. Brief Table of Contents (Not Yet Final) Preface Who This Book Is For The Two Levels Of Learning What You Will Learn What’s Not Covered Getting The Most Out Of This Book 1. Scaling With Generators Iteration in Python Generator Functions Generator Patterns and Scalable Composability Python is Filled With Iterators The Iterator Protocol 2. Creating Collections with Comprehensions List Comprehensions Formatting For Readability (And More) Multiple Sources and Filters Comprehensions and Generators Generator Expression or List Comprehension? Dictionaries, Sets, and Tuples 3. Advanced Functions Accepting & Passing Variable Arguments Functions As Objects Key Functions in Python 4. Decorators The Basic Decorator Data In Decorators Decorators That Take Arguments Class-based Decorators Decorators For Classes 5. Exceptions and Errors The Basic Idea Exceptions Are Objects Raising Exceptions Catching And Re-raising The Most Diabolical Python Anti-Pattern 6. Classes and Objects: Beyond The Basics Properties Properties and Refactoring The Factory Patterns Alternative Constructors: The Simple Factory Dynamic Type: The Factory Method Pattern The Observer Pattern The Simple Observer A Pythonic Refinement Several Channels Magic Methods Shortcut: functools.total_ordering Rebelliously Misusing Magic Methods 7. Automated Testing What is Test-Driven Development? Unit Tests And Simple Assertions Fixtures And Common Test Setup Asserting Exceptions Using Subtests Final Thoughts
دانلود کتاب Powerful Python: Patterns and Strategies with Modern Python (Early Release)