Modern pure python CouchDB Client.
Project Links
Meta
Author: Andrey Antukh
Maintainer: Rinat Sabitov
Requires Python: >=3.9
Classifiers
Topic
- Software Development :: Libraries :: Python Modules
- Utilities
py-couchdb
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.
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.
Logging
py-couchdb is silent by default. Enable its standard-library logger from your application when needed:
import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger("pycouchdb").setLevel(logging.DEBUG)
DEBUG records include safe HTTP and database-operation metadata; INFO records
summarize bulk results. Request and response bodies, credentials, headers,
hostnames, and query parameter values are never logged. See the
logging guide for
formatting and dictConfig examples.
Test
To test py-couchdb, simply run:
pytest -v --doctest-modules --cov pycouchdb
1.17.1
Aug 16, 2026
1.17.0
Aug 16, 2026
1.16.0
May 29, 2024
1.14.2
May 17, 2022
1.14.1
Feb 20, 2020
1.14
Nov 05, 2015
1.13
Aug 28, 2015
1.12
Mar 02, 2015
1.11
Feb 05, 2015
1.10
Jan 29, 2015
1.9
Aug 23, 2014
1.8
Jul 17, 2014
1.7
Dec 15, 2013
1.6
Jun 29, 2013
1.5
Jun 15, 2013
1.4
May 11, 2013
1.3
Apr 04, 2013
1.2
Jan 27, 2013
1.1
Jan 27, 2013
1.0
Jan 16, 2013