time2relax

✨🛋✨ time2relax! A minimal-level Python CouchDB driver

8
1
Python

time2relax: Python CouchDB Driver

Travis (.org)
Codecov
GitHub
PyPI
Code Style: black

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

Features

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.6+; CouchDB 1.7+.

Installation

To install time2relax, simply run:

$ pip install -U time2relax
✨🛋✨

Usage

For documentation, see ./docs/README.md.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.

Related Projects