Skip to main content

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, and are not compatible with python3.

Advantages of py-couchdb

  • Use requests for http requests (much faster than the standard library)

  • Python2 and Python3 compatible with same codebase (with one exception, python view server that uses 2to3)

  • 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

Test

To test py-couchdb, simply run:

python tests.py

This command assumes a couchdb account with username “admin” and password “admin”. Otherwise change “SERVER_URL” in tests.py.

Metadata

Release files for pycouchdb 1.5

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.5
File Size Uploaded
pycouchdb-1.5.tar.gz 11.0 kB Details

Release files / pycouchdb-1.5.tar.gz

Download URL pycouchdb-1.5.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
506ae8b54597ae6fa7925582c936d0d3d3b05f43d0e9cf9fcea124cdb2406a91
BLAKE2b-256 checksum
How to use checksums
8b0a1958d6e542566d856a0f3fd1fac4d2ed28b6c2ddf00764394007d9461a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.17.1

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

This release

1.5 This release

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