Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dynamic Class Generation in Python

EuroPython Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore dynamic class generation in Python through a 26-minute conference talk from EuroPython 2016. Dive into the practice of writing code that generates classes and their functionality at runtime, using boto3, the AWS SDK for Python, as a practical example. Learn the basics, benefits, and drawbacks of dynamically generating classes, including how it can decrease code size, improve workflow for adding new functionality, and enhance code reliability. Discover techniques for effectively implementing dynamic class generation, overcoming associated challenges, and understanding when it's appropriate to use this approach. Gain insights from the development of boto3, where dynamic class generation enables data-driven class and method creation based on JSON models representing AWS service APIs. By the end of the talk, acquire a deeper understanding of dynamic class generation and gather valuable ideas for implementing this concept in your future Python projects.

Syllabus

Kyle Knapp - Dynamic Class Generation in Python

Taught by

EuroPython Conference

Reviews

Start your review of Dynamic Class Generation in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.