Python implementation of Collins client based on Tumblr Ruby