A CouchDB driver for Python.
Project description
time2relax - Python CouchDB driver
A CouchDB driver for Python.
Documentation: https://time2relax.readthedocs.org.
Free software: MIT license
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?).
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)
Built Distribution
Close
Hashes for time2relax-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79e82c25841772422ccc2b58bf1fcaf395d6b8b6680810dc9e580860bd0dbdfe |
|
MD5 | 1bbf5d30948f322370fd8598e0caccb8 |
|
BLAKE2b-256 | 0a570bffb1878fe70fc9346c7acf1d3ec284214517bab953329dcb75bc6cb1cb |