Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Python Descriptors: Understanding and Using the Descriptor Protocol

Buy
Create descriptors and see ideas and examples of how to use descriptors effectively. In this short book, you’ll explore descriptors in general, with a deep explanation of what descriptors are, how they work, and how they're used. Once you understand the simplicity of the descriptor protocol, the author delves into using and creating descriptors in practice, with plenty of tips, patterns, and real-world guidance. Because descriptors are inherently flexible, you’ll work with multiple examples illustrating how to best take advantage of them.

This second edition includes additions throughout, including new material covering the set_name_() descriptors, new and improved flowcharts to explain the inner workings of descriptors, and a completely new chapter to address instance-level attributes, the easiest way to create descriptors correctly the first time. 

Although brief, Python Descriptors is a comprehensive guide to creating Python descriptors, including a pip install-able library called descriptor_tools, which was written alongside this book and is an open source library on GitHub. After reading this book, you will have a solid understanding of how descriptors work and the techniques to avoid the big gotchas associated with working with them.


What You Will Learn
  • Discover descriptor protocols
  • Master attribute access and how it applies to descriptors
  • Build your own descriptors
  • Use descriptors to store attributes
  • Create read-only descriptors 
  • Explore the descriptor classes
  • Apply the other uses of descriptors 


Who This Book Is For


Experienced Python coders, programmers, and developers.



(HTML tags aren't allowed.)

Coding for Penetration Testers: Building Better Tools
Coding for Penetration Testers: Building Better Tools

Coding for Penetration Testers: Building Better Tools, Second Edition provides readers with an understanding of the scripting languages that are commonly used when developing tools for penetration testing, also guiding users through specific examples of custom tool development and the situations where such tools might be used.

...

Ms Ice Sandwich (Japanese Novellas)
Ms Ice Sandwich (Japanese Novellas)

"Delightful… Kawakami’s dialogue, fluidly rendered into English by Louise Heal Kawai, captures beautifully and with great humor the eager dynamism of a child’s mind." — World Literature Today

"A subtle and endearing novella with a sweet sense of humor. Kawakami touches on loss,...

Digital @ Scale: The Playbook You Need to Transform Your Company
Digital @ Scale: The Playbook You Need to Transform Your Company

A blueprint for reinventing the core of your business

Value in the next phase of the digital era will go to those companies that don't just try digital but also scale it. Digital@Scale examines what it takes for companies to break through the gravitational pull of their legacy organizations and capture the...


Natural Food Flavors and Colorants (Institute of Food Technologists Series)
Natural Food Flavors and Colorants (Institute of Food Technologists Series)

In this book the author utilizes his over fifty years of experience in food chemistry and technology in order to produce the most detailed and comprehensive guide on natural food flavors and colors.

  • Unique coverage of natural flavors and natural colorants in the same volume
  • Includes chemical structures of...
Craft GraphQL APIs in Elixir with Absinthe: Flexible, Robust Services for Queries, Mutations, and Subscriptions
Craft GraphQL APIs in Elixir with Absinthe: Flexible, Robust Services for Queries, Mutations, and Subscriptions

Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, leveraging its flexible queries to empower your users, and its declarative structure to simplify your code. Absinthe is the GraphQL toolkit for Elixir, a functional programming language designed to enable massive concurrency atop...

Adopting Elixir: From Concept to Production
Adopting Elixir: From Concept to Production

Adoption is more than programming. Elixir is an exciting new language, but to successfully get your application from start to finish, you're going to need to know more than just the language. The case studies and strategies in this book will get you there. Learn the best practices for the whole life of your application, from...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy