Abstract Base Classes: Smart Use of Metaclasses in Python


Details
We are pleased to have Leonardo Giordani present Abstract Base Classes and why you should learn how to use them effectively.
Leonardo will:
• introduce to the concept of Python Abstract Base Classes (ABCs),
• explain how they can categorise objects, and
• show how to implement a virtual inheritance tree
You'll see that meta-classes are not an overly complex idea, but something that can be used by many developers to good effect.
The talk will be divided into three levels , starting with basics, and progressing deeper into the technical aspects of ABCs:
• Level 1: EAFP and complex tests - Polymorphism - Collections
• Level 2: Registering - Abstract Base Classes - Categories
• Level 3: Build your ABCs - MRO with metaclasses - Mixins - Interfaces
After attending this talk you will have a better understanding of how Python itself works internally, and know when and how to use ABCs.

Abstract Base Classes: Smart Use of Metaclasses in Python