Apple Summer Sale: 40% off eBooks in Swift, iOS, and other Apple topics! Browse now >>

Python Descriptors

Authors: Zimmerman, Jacob

Download source code
  • A unique book dedicated to Python descriptors
  • Deals with an important topic for the many applications Python has
  • Python is popular for web development, big data analytics, finance, game development and more
see more benefits

Buy this book

eBook $9.99
price for USA (gross)
  • ISBN 978-1-4842-2505-9
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $14.99
price for USA
  • ISBN 978-1-4842-2504-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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

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.

There aren't many good resources out there for writing Python descriptors, and extremely few books. This is a sad state of affairs, as it makes it difficult for Python developers to get a really good 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
  • Make descriptors and discover why you should
  • Store attributes
  • Create read-only descriptors and _delete()
  • Explore the descriptor classes
  • Apply the other uses of descriptors and more


Who This Book Is For
Experienced Python coders, programmers and developers.

About the authors

Jacob Zimmerman is a certified Java programmer and a Python and Kotlin enthusiast.

Table of contents (12 chapters)

Buy this book

eBook $9.99
price for USA (gross)
  • ISBN 978-1-4842-2505-9
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $14.99
price for USA
  • ISBN 978-1-4842-2504-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Python Descriptors
Authors
Copyright
2016
Publisher
Apress
Copyright Holder
Jacob Zimmerman
Distribution Rights
Standard Apress Distribution
eBook ISBN
978-1-4842-2505-9
DOI
10.1007/978-1-4842-2505-9
Softcover ISBN
978-1-4842-2504-2
Edition Number
1
Number of Pages
XV, 64
Number of Illustrations and Tables
1 b/w illustrations, 4 illustrations in colour
Topics