Maxwell Aaron / Максвелл Аарон - Powerful Python / Мощный Python [2025, PDF/EPUB, ENG]

Страницы:  1
Ответить
 

tsurijin

Стаж: 5 лет 8 месяцев

Сообщений: 3242


tsurijin · 10-Ноя-24 00:55 (1 год 8 месяцев назад, ред. 18-Ноя-24 05:18)

Powerful Python: Patterns and Strategies with Modern Python / Мощный Python: Шаблоны и стратегии работы с современным Python
Год издания: 2025
Автор: Maxwell Aaron / Максвелл Аарон
Издательство: O’Reilly Media, Inc.
ISBN: 978-1-098-17570-2
Язык: Английский
Формат: PDF/EPUB
Качество: Издательский макет или текст (eBook)
Количество страниц: 200
Описание: 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.
Based on author Aaron Maxwell's software engineering career in Silicon Valley, this unique book focuses 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.
Learn how to think like a Pythonista: explore advanced Pythonic thinking
Create lists, dicts, and other data structures using a high-level, readable, and maintainable syntax
Explore higher-order function abstractions that form the basis of Python libraries
Examine Python's metaprogramming tool for priceless patterns of code reuse
Master Python's error model and learn how to leverage it in your own code
Learn the more potent and advanced tools of Python's object system
Take a deep dive into Python's automated testing and TDD
Learn how Python logging helps you troubleshoot and debug more quickly
Python has become the lingua franca of modern computing. The thesis of this book is that Python is the most important programming language in the world today… with outsized rewards for those who master it. This book is designed to teach you techniques, patterns, and tools to permanently catapult your skill with everything Python has to offer. If you write Python code at least part of the time, this book will vastly amplify what you can accomplish and increase the speed at which you do it. And slash the amount of time you spend debugging, too.
Who This Book Is For:
This book is for you if you know the basics of Python and have mastered just about everything the beginner tutorials can teach you. It is also for those who want to learn more advanced techniques and strategies, so you can do more with Python, and more with coding, than you could before. This book is not for people who want just enough Python to get by. Like I said, Python is important, and rewards those who master it. And this book is not for the unambitious. In writing, I assume you want to build a career you are proud of, doing work with a high positive impact. Further, this book is not for the mentally rigid. The difference between elite engineers and “normal” coders lies in the distinctions they make, the mental models they leverage, and their ability to perceive what others cannot.
После того, как вы овладеете основами Python, как вам достичь 1% лучших результатов? Как вы уделяете время изучению тем, которые приносят наибольшую пользу производственным инженерам и специалистам по обработке данных, не отвлекаясь на информацию, которая практически не используется в реальном мире? Эта книга отвечает на эти и многие другие вопросы.
Эта уникальная книга, основанная на карьере автора Аарона Максвелла в области разработки программного обеспечения в Кремниевой долине, посвящена основным принципам Python, которые ускоряют все остальное: 5% знаний в области программирования, благодаря которым остальные 95% падают как костяшки домино. Именно эти знания помогут вам быстро стать выдающимся программистом на Python.
Научитесь думать как питонист: изучите продвинутое мышление на Python.
Создавайте списки, диктовки и другие структуры данных, используя высокоуровневый, читаемый и поддерживаемый синтаксис
Изучите абстракции функций более высокого порядка, которые составляют основу библиотек Python
Изучите инструмент метапрограммирования Python, чтобы найти бесценные шаблоны повторного использования кода
Освоите модель ошибок Python и узнайте, как использовать ее в своем собственном коде
Ознакомьтесь с более мощными и продвинутыми инструментами объектной системы Python
Углубитесь в автоматизированное тестирование и TDD в Python
Узнайте, как ведение журнала в Python помогает вам быстрее устранять неполадки и отлаживать
Python стал основным языком современных вычислений. Тезис этой книги заключается в том, что Python - самый важный язык программирования в современном мире… с огромными наградами для тех, кто овладеет им в совершенстве. Эта книга предназначена для того, чтобы научить вас приемам, шаблонам и инструментам, которые позволят вам постоянно совершенствовать свои навыки работы со всем, что может предложить Python. Если вы хотя бы часть времени будете писать код на Python, эта книга значительно расширит ваши возможности и повысит скорость, с которой вы это делаете. А также сократите время, затрачиваемое на отладку.
Для кого предназначена эта книга:
Эта книга для вас, если вы знакомы с основами Python и освоили практически все, чему могут научить руководства для начинающих. Она также предназначена для тех, кто хочет освоить более продвинутые методы и стратегии, чтобы вы могли делать с Python и программированием больше, чем раньше. Эта книга не для тех, кому нужен простой Python. Как я уже сказал, Python важен и вознаграждает тех, кто им владеет. И эта книга не для тех, кто не имеет амбиций. В письменной форме я предполагаю, что вы хотите построить карьеру, которой будете гордиться, выполняя работу с высокой отдачей. Более того, эта книга не для умственно отсталых. Разница между элитными инженерами и “обычными” программистами заключается в различиях, которые они проводят, в ментальных моделях, которые они используют, и в их способности воспринимать то, что недоступно другим.
Внимание! Торрент перезалит. Просьба перекачать файлы.
Причина: Замена PDF.
Примеры страниц (скриншоты)
Оглавление
Preface vii
1. Scaling with Generators 1
Iteration in Python 1
Generator Functions 4
Advancing next() 6
Converting to a Generator Function 7
Do You Need Generators? 8
Generator Patterns and Scalable Composability 9
Text Lines to Dicts 11
Composable Interfaces 12
Fanning Out 13
Fanning In 14
Python Is Filled with Iterators 16
The Iterator Protocol 17
Conclusion 21
2. Creating Collections with Comprehensions 23
List Comprehensions 24
Formatting for Readability (and More) 26
Multiple Sources and Filters 27
Independent Clauses 28
Multiple Filters 29
Comprehensions and Generators 31
Dictionaries, Sets, and Tuples 34
Conclusion 36
3. Advanced Functions 37
Accepting and Passing Variable Arguments 37
Argument Unpacking 39
Variable Keyword Arguments 40
Keyword Unpacking 41
Combining Positional and Keyword Arguments 42
Functions as Objects 43
Key Functions in Python 47
Conclusion 49
4. Decorators 51
The Basic Decorator 52
Generic Decorators 54
Decorating Methods 55
Data in Decorators 57
Accessing Inner Data 60
Nonlocal Decorator State 61
Decorators That Take Arguments 64
Class-Based Decorators 67
Implementing Class-Based Decorators 67
Benefits of Class-Based Decorators 69
Decorators for Classes 71
Conclusion 73
5. Exceptions and Errors 75
The Basic Idea 75
Handling Exceptions 76
Exceptions for Flow Control 77
Finally Blocks 79
Dictionary Exceptions 81
Exceptions Are Objects 82
Raising Exceptions 84
Catching and Re-Raising 86
The Most Diabolical Python Antipattern 88
Conclusion 92
6. Classes and Objects: Beyond the Basics 93
Properties 93
Property Patterns 96
Validation 96
Properties and Refactoring 98
The Factory Patterns 100
Alternative Constructors: The Simple Factory 100
Dynamic Type: The Factory Method Pattern 104
The Observer Pattern 106
The Simple Observer 107
A Pythonic Refinement 108
Several Channels 112
Magic Methods 114
Rebelliously Misusing Magic Methods 119
Conclusion 121
7. Automated Testing 123
What Is Test-Driven Development? 124
Unit Tests and Simple Assertions 125
Fixtures and Common Test Setup 130
Asserting Exceptions 132
Using Subtests 133
Conclusion 136
8. Module Organization 139
Spawning a Module 139
Creating Separate Libraries 143
Multifile Modules 145
Import Syntax and Version Control 148
Nested Submodule Structure 150
Antipattern Warning 152
Import Side Effects 155
Conclusion 158
9. Logging in Python 159
The Basic Interface 159
Log Levels 160
Why Do We Have Log Levels? 161
Configuring the Basic Interface 162
Passing Arguments 165
Beyond Basic: Loggers 166
Log Destinations: Handlers and Streams 167
Logging to Multiple Destinations 170
Record Layout with Formatters 172
Conclusion 173
Parting Words 175
Index 177
Максвелл А. - Мощный Python [2025, PDF, RUS]
Download
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Как скачивать? (для скачивания .torrent файлов необходима регистрация)
[Профиль]  [ЛС] 

tsurijin

Стаж: 5 лет 8 месяцев

Сообщений: 3242


tsurijin · 18-Ноя-24 05:20 (спустя 8 дней)

Заменил PDF на файл от издательства.
[Профиль]  [ЛС] 

FolkoRU

Стаж: 13 лет 6 месяцев

Сообщений: 1


FolkoRU · 29-Авг-25 13:52 (спустя 9 месяцев)

на русском нет книги? уже вышла как знаю
[Профиль]  [ЛС] 

AtomD

Старожил

Стаж: 17 лет 4 месяца

Сообщений: 753

AtomD · 05-Фев-26 12:49 (спустя 5 месяцев 6 дней)

FolkoRU писал(а):
88148705на русском нет книги? уже вышла как знаю
На складчинах видел
[Профиль]  [ЛС] 
 
Ответить
Loading...
Error