Skip to main content

Modern pure python CouchDB Client.

Project description

py-couchdb

Build Status PyPI PyPI - Downloads Coverage Status

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

Documentation

Documentation is available at http://pycouchdb.readthedocs.org.

Test

To test py-couchdb, simply run:

    nosetests --cover-package=pycouchdb --with-doctest

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 pycouchdb, version 1.14.1
Filename, size File type Python version Upload date Hashes
Filename, size pycouchdb-1.14.1-py2.py3-none-any.whl (12.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pycouchdb-1.14.1.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page