The problem with python class definition is the need to write instance vars 3x:
def __init__(self, foo)
self.foo = foo
There is an attrs package and new proposal (https://github.com/ericvsmith/dataclasses/blob/master/pep-xx...) to remedy that.