Functional Python 2 client generator.