py-couchdb¶
Release v1.17.
py-couchdb is a BSD-3-Clause licensed, modern pure Python CouchDB client.
Currently there are several libraries for Python to connect to CouchDB. Why one more? It’s very simple. All seem to be not maintained, all libraries use standard Python libraries for http requests, and are not compatible with Python3.
Advantages of py-couchdb¶
Uses requests for http requests (much faster than the standard library)
CouchDB 2.x and CouchDB 3.x compatible
Also compatible with pypy.
Example:
>>> import pycouchdb
>>> server = pycouchdb.Server("http://admin:admin@localhost:5984/")
>>> server.info()['version']
'1.2.1'
User guide¶
This part of the documentation gives a simple introduction on py-couchdb usage.