A CouchDB driver for Python.
time2relax is a Python CouchDB driver that tries to offer a minimal level of abstraction between you and CouchDB.
Basic insert usage:
>>> from time2relax import CouchDB
>>> db = CouchDB('http://localhost:5984/dbname')
>>> db.insert({'title': 'Ziggy Stardust'})
<Response [201]>
Features | Installation | Usage | Contributing | License | Related Projects
Inspired by pouchdb and couchdb-nano APIs, it features:
- Requests (HTTP for Humans) under the hood.
- HTTP exceptions modeled from CouchDB error codes.
- Transparent URL and parameter encoding.
time2relax officially supports Python 3.8+; CouchDB 1.7+.
To install time2relax, simply run:
$ pip install -U time2relax
✨🛋✨
For documentation, see ./docs/README.md
.