pycouchdb 1.16.0


pip install pycouchdb

  Latest version

Released: May 29, 2024


Meta
Author: Andrey Antukh
Maintainer: Rinat Sabitov
Requires Python: >=3.8.1,<4

Classifiers

License
  • OSI Approved :: BSD License

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12

Topic
  • Software Development :: Libraries :: Python Modules
  • Utilities

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
chardet (<6.0.0,>=5.2.0)
requests (<3.0,>=2.28)