Note to Self Python Unpack Kwargs Into Attributes

Note to self

Python: Unpack **kwargs into properties

I'm lazy. I want to be able to take any named arguments in my constructor call and make properties.

class DynConfig():
    def __init__(self, *args, *kwargs):

config = DynConfig(name='goliatone', age=32, email='')
print # goliatone
print config.age  # 32
print config.url  #

Instead of doing this:

class DynConfig():
    def __init__(self, name, age, email): = name
        self.age = age = email