skip to navigation
skip to content

Not Logged In

pycouchdb 1.6

Modern pure python CouchDB Client.

Latest Version: 1.7

Modern pure python CouchDB Client.

Currently there are several libraries in python to connect to couchdb. Why one more? It's very simple. All seems not be maintained, all libraries used standard Python libraries for http requests, and are not compatible with python3.

Advantages of py-couchdb

  • Use requests for http requests (much faster than the standard library)
  • Python2 and Python3 compatible with same codebase (with one exception, python view server that uses 2to3)
  • Also compatible with pypy.

Example:

>>> import pycouchdb
>>> server = pycouchdb.Server("http://admin:admin@localhost:5984/")
>>> server.info()['version']
'1.2.1'

Installation

To install py-couchdb, simply:

pip install pycouchdb

Test

To test py-couchdb, simply run:

python tests.py

This command assumes a couchdb account with username "admin" and password "admin". Otherwise change "SERVER_URL" in tests.py.

 
File Type Py Version Uploaded on Size
pycouchdb-1.6.tar.gz (md5) Source 2013-06-29 10KB
  • Downloads (All Versions):
  • 9 downloads in the last day
  • 110 downloads in the last week
  • 660 downloads in the last month