𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Powerful Python: Patterns and Strategies with Modern Python (Early Release)

✍ Scribed by Aaron Maxwell


Publisher
O'Reilly Media, Inc.
Year
2024
Tongue
English
Leaves
200
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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.

✦ Table of Contents


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


πŸ“œ SIMILAR VOLUMES


Powerful Python: The Most Impactful Patt
✍ Aaron Maxwell πŸ“‚ Library πŸ“… 2017 πŸ› Powerful Python Press 🌐 English

Read updated version for free at <a target="_blank" rel="noopener nofollow" href="http://powerfulpython.com/book">powerfulpython.com/book</a> "Feels like Neo learning Jiu jitsu in the Matrix." - John Beauford (@johnbeauford) This is the 2nd edition of Powerful Python. I have started to upd

Powerful Python: The Most Impactful Patt
✍ Aaron Maxwell πŸ“‚ Library πŸ“… 2017 πŸ› Powerful Python Press 🌐 English

<p>There are many books for those new to Python, new to programming, or both. Powerful Python is different. Written for experienced developers like you, its carefully crafted chapters teach intermediate and advanced strategies, patterns, and tools for modern Python. Focused on Python 3, with full su

Foundations for Analytics with Python (E
✍ Clinton W. Brownley πŸ“‚ Library πŸ“… 2016 πŸ› O'Reilly Media 🌐 English

Many of Excels 750 million users would like to do more with their data, such as repeating similar analyses over hundreds of files or combining the data in many files for analysis at one time. This practical guide shows ambitious non-programmers how to automate and scale data processing and analysis

Test-Driven Development with Python: Ear
✍ Percival H. πŸ“‚ Library 🌐 English

O’Reilly Media, 2013– 54 p. – ISBN: 1449367798, 9781449367794<div class="bb-sep"></div>With Early Release ebooks, you get books in their earliest form β€” the author's raw and unedited content as he or she writes β€” so you can take advantage of these technologies long before the official release of the