doc = {'username': 'kerrie', 'high_score': 550, 'level': 3}
auth = 'username', 'password'
headers = {'Content-type': 'application/json'}
post_url = 'https://account.cloudant.com/database/kerrie'.format(auth[0])
r = requests.put(post_url, auth=auth, headers=headers, data=json.dumps(doc))
print(json.dumps(r.json(), indent=1))
запросить облако с помощью python