add python-class