Core Python: Metaclasses and Allocation

by Austin Bingham and Robert Smallshire

This course will teach you the details of how Python creates class objects and allocates class instances.

What you'll learn

Understanding how to use metaclasses and allocation fluently is an important skill to mastering Python. In this course, Core Python: Allocation and Metaclasses, you’ll learn to control how Python creates new classes and allocates instances of classes. First, you’ll explore object allocation. Next, you’ll discover metaclasses, the types of types in Python which control how classes are created and initialized. Finally, you’ll learn how to leverage these concepts in practical ways. When you’re finished with this course, you’ll have the skills and knowledge of metaclasses and object allocation needed to understand how they’re used in other people’s code and apply them to your own designs.

About the authors

Austin is a founding director of Sixty North, a software consulting, training, and application development company. A native of Texas, in 2008 Austin moved to Stavanger, Norway where he helped develop industry-leading oil reservoir modeling software in C++ and Python. Prior to that he worked at National Instruments developing LabVIEW, at Applied Research Labs (Univ. of Texas at Austin) developing sonar systems for the U.S. Navy, and at a number of telecommunications companies. He is an ex... more

Robert Smallshire is a founder of Sixty North, a software product and consulting business in Norway. Robert has worked in senior architecture and technical management roles for software companies in the energy sector processing the masses of information flowing from today's digital oil fields. He has designed, and implemented effective architectures for sophisticated scientific and enterprise software in Python, C++, and C#. Robert is a regular speaker at conferences, meetups and corporate softw... more

Ready to upskill? Get started