manipulate CouchDb by Python