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.6

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

Release files / pycouchdb-1.6.tar.gz

Download URL pycouchdb-1.6.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b2a818d8879a0263227e2b5a4c4d559d52b6dd459253fa519866a99243beeeac
BLAKE2b-256 checksum
How to use checksums
96cfeda24a53d526f4771926c7c0f98ad812f4c89d7ad9f722ad2bc2bb6c019a
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

This release

1.6 This release

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