python client for swagger