Descriptors and Controlled Attributes in Python (machinelearningmastery.com)

In this article, you will learn what Python descriptors are and how to use them to build three types of controlled attributes: validated, computed, and...