time2relax python driver

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

9
1
Python

time2relax: Python CouchDB Driver

GitHub Actions

GitHub License

PyPI - Version

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

Installation

To install time2relax, simply run:

$ pip install -U time2relax
✨🛋✨

Usage

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