Python Metaclasses
Deep Dive into Python MetaClasses
Highlights from a great talk by James Powell found here.
In this repo you will find notebooks highlighting when and why to use various metaclasses.
- Data Model Methods
- Intro to data models
- Generators
- What are generators and when to use them.
- Eager vs Lazy Loading
- Decorators
- Investigate runtime objects
- Context Managers
- Putting it all together: combining generators, decorators and context managers
NOTE: In python you will always find this pattern:
top-level function or syntax and a corresponding __method__
function