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(’, 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.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.

Source Distribution

cloudant-0.1.1.tar.gz (5.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page