DONE: python-wrapper framework