Skip to main content

A CouchDB driver for Python.

Project description

time2relax - Python CouchDB driver

PyPI version Build status Coverage status Documentation status

A CouchDB driver for Python.

Features

  • Runs python-requests under the hood.

  • Only a minimum level of abstraction between you and CouchDB.

  • Transparent URL and parameter encoding.

  • Exceptions are modelled from CouchDB errors.

  • Python 2.6–2.7 & 3.3–3.5 support.

  • Tested with CouchDB 1.6.x (2.0?).

Inspired by pouchdb and nano APIs.

Quickstart

Install the latest time2relax if you haven’t yet:

$ pip install -U time2relax

To use time2relax in a project:

>>> from time2relax import CouchDB
>>> db = CouchDB('http://localhost:5984/dbname')

Then:

>>> db.insert({'title': 'Ziggy Stardust'})
<Response [201]>

History

0.3.0 (2017-03-03)

  • Thin python-requests wrapper.

  • New driver API.

  • Add design document functions; list, show, view.

0.2.0 (2016-12-10)

  • Python 3.3, 3.4, 3.5 support.

0.1.0 (2016-12-10)

  • First release on PyPI.

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

time2relax-0.3.0.tar.gz (28.3 kB view hashes)

Uploaded Source

Built Distribution

time2relax-0.3.0-py2.py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 2 Python 3

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