Skip to main content

Python library to use the CloudAnt API

Project description

Python library to use the CloudAnt API

This library provides CRUD operations on Cloudant databases and documents.

Example Usage

from cloudant.client import Client, Database

client = Client(‘https://testing.cloudant.com, username=’testing’, password=’testing’) databases = client.get_all_databases()

database = Database(‘test_db’, client)

docs = database.get_all_documents()

doc = database.create_document(name=’Route1’, address={‘street’: ‘1923 South Street’, ‘city’:’Omaha’, ‘state’: ‘NE’})

database.delete_document(doc.id, doc.rev)

The goal is to eventually implement the entire Cloudant API.

The reference API version for this library is 1.0.2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cloudant, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cloudant-0.1.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page