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.

Source Distribution

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

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page