Skip to main content

Modern pure python CouchDB Client.

Project description

py-couchdb

CI PyPI PyPI - Downloads Coverage Status Documentation 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)
  • 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'

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:

pytest -v --doctest-modules --cov pycouchdb

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

pycouchdb-1.16.0.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

pycouchdb-1.16.0-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

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