Skip to main content

Modern pure python CouchDB Client.

Project description

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.

Project details


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

Uploaded Source

File details

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

File metadata

  • Download URL: pycouchdb-1.5.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycouchdb-1.5.tar.gz
Algorithm Hash digest
SHA256 506ae8b54597ae6fa7925582c936d0d3d3b05f43d0e9cf9fcea124cdb2406a91
MD5 4fc7fc75ef7a5ce44f1b7b11ae68655d
BLAKE2b-256 8b0a1958d6e542566d856a0f3fd1fac4d2ed28b6c2ddf00764394007d9461a1e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page