+1 -1 +19
Vote on this proposal

Python Meta classes & Meta programming with python

by Abhinav Agrawal (speaking)

Section
Core Python
Technical level
Beginner

Objective

Objective of this session is to discuss about meta programming in general, use cases where meta programming is helpful and How can it be achieved in python. This session dives deep into python meta classes and meta programming.

Description

In Python (and other languages), classes are themselves objects that can be passed around and introspected. Just as regular classes act as templates for producing instances, metaclasses act as templates for producing classes.

Python has always had metaclasses. The metaclass machinery became exposed much better with Python 2.2. Specifically, with version 2.2, Python stopped being a language with just one special (mostly hidden) metaclass that created every class object. Now, programmers can subclass the built-in metaclass type and even dynamically generate classes with varying metaclasses.

Requirements

A beginners knowledge of python and some interest in meta programming with python. A laptop having python installed will be desirable.

Speaker bio

Meta programming being my area of interest and having experience in C++ and python, I am diving deep into this topic.

In my 9 years of career at NEC and HCL Technologies, I have spent most of my time with object oriented programming and python. I hope, I would be able to deliver something really useful for participants.

Comments


  • 1

    [-] Kracekumar Ramaraju 252 days ago (edited 252 days ago)

    Can you tell us what are topics you would be speaking in meta programming? The talk is targeted towards beginners and 99.9% python programmers never need to touch meta programming. Can we have some reference to you work ?

Login with Twitter or Google to leave a comment →