Python Descriptors

This short book is a collection of knowledge and ideas from many sources on dealing with and creating Python descriptors. And, after going through the things all descriptors have in common, author Jacob Zimmerman explores concepts that have multiple ways of being implemented, as well as completely n...

Full description

Bibliographic Details
Main Author: Zimmerman, Jacob
Format: eBook
Language:English
Published: Berkeley, CA Apress 2016, 2016
Edition:1st ed. 2016
Subjects:
Online Access:
Collection: Springer eBooks 2005- - Collection details see MPG.ReNa
LEADER 02522nmm a2200313 u 4500
001 EB001871051
003 EBX01000000000000001034422
005 00000000000000.0
007 cr|||||||||||||||||||||
008 190802 ||| eng
020 |a 9781484225059 
100 1 |a Zimmerman, Jacob 
245 0 0 |a Python Descriptors  |h Elektronische Ressource  |c by Jacob Zimmerman 
250 |a 1st ed. 2016 
260 |a Berkeley, CA  |b Apress  |c 2016, 2016 
300 |a XV, 64 p. 5 illus., 4 illus. in color  |b online resource 
505 0 |a Chapter 1: What is a Descriptor -- Chapter 2: The Descriptor Protocol -- Chapter 3: What Are Descriptors Good For? -- Chapter 4: Descriptors in the Standard Library -- Chapter 5: Attribute Access and Descriptors -- Chapter 6: Which Methods Are Needed? -- Chapter 7: Storing the Attributes -- Chapter 8: Read-Only Descriptors -- Chapter 9: Writing _delete_() -- Chapter 10: Descriptors are Classes Too -- Chapter 11: Reusing the Wheel -- Chapter 12: Other Uses of Descriptors in the World 
653 |a Compilers (Computer programs) 
653 |a Compilers and Interpreters 
653 |a Programming Techniques 
653 |a Computer programming 
653 |a Python 
653 |a Python (Computer program language) 
041 0 7 |a eng  |2 ISO 639-2 
989 |b Springer  |a Springer eBooks 2005- 
028 5 0 |a 10.1007/978-1-4842-2505-9 
856 4 0 |u https://doi.org/10.1007/978-1-4842-2505-9?nosfx=y  |x Verlag  |3 Volltext 
082 0 |a 005.133 
520 |a This short book is a collection of knowledge and ideas from many sources on dealing with and creating Python descriptors. And, after going through the things all descriptors have in common, author Jacob Zimmerman explores concepts that have multiple ways of being implemented, as well as completely new ideas never seen elsewhere before. Python Descriptors will give you a good understanding of how descriptors work, and teach you techniques that will enable you to avoid the big gotchas associated with working with them. This truly is a comprehensive guide to creating Python descriptors. As a BONUS: A pip install-able library, descriptor_tools, was written alongside this book and is an open source library on GitHub. What is a descriptor protocol What is attribute access and how they apply to descriptors How to make descriptors and why Which Methods areneeded How to store attributes How to do Read-Only Descriptors and Writing _delete() How to explore the descriptor classes How to apply the other uses of descriptors and more