A Python Twisted client implementation of the Cosm v2 API