skip to navigation
skip to content

time2relax 0.3.0

A CouchDB driver for Python.

time2relax - Python CouchDB driver

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.
 
File Type Py Version Uploaded on Size
time2relax-0.3.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-03-03 7KB
time2relax-0.3.0.tar.gz (md5) Source 2017-03-03 27KB