Apress | Python Descriptors (2016 EN)

Discussion in 'Programming' started by Kanka, Dec 9, 2016.

  1. Kanka

    Kanka Well-Known Member Loyal User

    Messages:
    16,395
    Likes Received:
    485
    Trophy Points:
    83
    [​IMG]

    Author: Jacob Zimmerman
    Full Title: Python Descriptors
    Publisher: Apress; 1st ed. edition (January 5, 2017)
    Year: 2016
    ISBN-13: 9781484225059 (978-1-4842-2505-9), 9781484225042 (978-1-4842-2504-2)
    ISBN-10: 1484225058, 148422504X
    Pages: 64
    Language: English
    Genre: Programming
    File type: PDF (True)
    Quality: 10/10
    Price: 15.59 €


    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.

    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.
    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 you'll learn:
    ✓ What is a descriptor protocol
    ✓ What is attribute access and how they apply to descriptors
    ✓ How to make descriptors and why
    ✓ Which Methods are neededHow 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

    Who is this book for:
    This book is for experienced Python coders, programmers and developers.

    -------------
     
    Last edited by a moderator: Aug 7, 2020