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

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.17.1.tar.gz (143.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycouchdb-1.17.1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pycouchdb-1.17.1.tar.gz.

File metadata

  • Download URL: pycouchdb-1.17.1.tar.gz
  • Upload date:
  • Size: 143.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pycouchdb-1.17.1.tar.gz
Algorithm Hash digest
SHA256 178ee5fe4a2a05320a7801a2b2a611cfd985aabcff443d43f95216c7502a5ac7
MD5 7d915d365c4355ef4a6962eb20a5dd97
BLAKE2b-256 2566b3291293b72b70e7456598f04fe4ae4b6b445211c35491e299de362c9529

See more details on using hashes here.

File details

Details for the file pycouchdb-1.17.1-py3-none-any.whl.

File metadata

  • Download URL: pycouchdb-1.17.1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pycouchdb-1.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a012b3cbbd244ebbcfb8b072ebb04b492082fa32b54617a35450671876227b72
MD5 19f649d809cbb3d1af56b4ab3c8bd1a4
BLAKE2b-256 cf59a753fd918773dc48f1a077cfd350546cca6d2fd9523e334b5165ed41c578

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.17.1 This release

2 files

1.17.0

2 files

1.16.0

2 files

1.14.2

2 files

1.14.1

2 files

1.14

1 file

1.13

1 file

1.12

1 file

1.11

1 file

1.10

1 file

1.9

1 file

1.8

1 file

1.7

1 file

1.6

1 file

1.5

1 file

1.4

1 file

1.3

1 file

1.2

1 file

1.1

1 file

1.0

1 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