Skip to main content

py-couchdb

CI PyPI PyPI - Downloads codecov 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.

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

Release files for pycouchdb 1.17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycouchdb 1.17.1
File Size Uploaded
pycouchdb-1.17.1.tar.gz 143.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycouchdb 1.17.1
File Interpreter ABI Platform
pycouchdb-1.17.1-py3-none-any.whl Python 3 none any Details

Total release size: 163.5 kB

Release files / pycouchdb-1.17.1.tar.gz

Download URL pycouchdb-1.17.1.tar.gz
Size 143.5 kB
Tags Source
SHA-256 checksum
How to use checksums
178ee5fe4a2a05320a7801a2b2a611cfd985aabcff443d43f95216c7502a5ac7
BLAKE2b-256 checksum
How to use checksums
2566b3291293b72b70e7456598f04fe4ae4b6b445211c35491e299de362c9529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pycouchdb-1.17.1-py3-none-any.whl

Download URL pycouchdb-1.17.1-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a012b3cbbd244ebbcfb8b072ebb04b492082fa32b54617a35450671876227b72
BLAKE2b-256 checksum
How to use checksums
cf59a753fd918773dc48f1a077cfd350546cca6d2fd9523e334b5165ed41c578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.17.1 This release

2 release files

1.17.0

2 release files

1.16.0

2 release files

1.14.2

2 release files

1.14.1

2 release files

1.14

1 release file

1.13

1 release file

1.12

1 release file

1.11

1 release file

1.10

1 release file

1.9

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page