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.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file cloudant-0.1.0.tar.gz.

File metadata

  • Download URL: cloudant-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cloudant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef3a8bf91a67ecaa2886dc96ebc3393057f21d4348649954d8acdeaa7461e772
MD5 df3fb1832400c654fa31f5269df834c5
BLAKE2b-256 878d9bf58b7b5e6a1b0432404abf96856fe7fa063ac7a1411b61078a62b7f014

See more details on using hashes here.

Supported by

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