Skip to main content

A microscopic client library for accessing Cloudant databases

Project description

The purpose of microcdt is to be the smallest practical client library for accessing Cloudant/CouchDB databases. It’s neither fully featured, nor complete in its API surface cover (nor is it intended to be).

It caters for the most basic operations, such as creating and deleting databases, reading, creating, deleting, and updating documents, and listing all documents in a database.

It also has rudimentary support for bulk operations.

The Cloudant class subclasses requests.Session, so any API endpoint not implemented directly can always be called using Cloudant.get|put|post|request.


from microcdt import Cloudant

db = 'mydatabase'
cdt = Cloudant('')

result = cdt.create_doc(db, {'name': 'adam'})


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 microcdt, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size microcdt-0.1.1-py2-none-any.whl (4.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size microcdt-0.1.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

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