Skip to main content

A CouchDB driver for Python.

Project description

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.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

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.7.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

time2relax-0.7.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file time2relax-0.7.0.tar.gz.

File metadata

  • Download URL: time2relax-0.7.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.6.41-03520-gd3d77f15f842

File hashes

Hashes for time2relax-0.7.0.tar.gz
Algorithm Hash digest
SHA256 6aa0b424a3656a8ffb179b501e156704eddf140bd1d71d3c579a8ce353271256
MD5 46e14e0c8da43ac792939a73874f1391
BLAKE2b-256 bd6cc79e7ddc80563bfba39566512174e6a083e32dbc35860546a290660133ac

See more details on using hashes here.

File details

Details for the file time2relax-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: time2relax-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.6.41-03520-gd3d77f15f842

File hashes

Hashes for time2relax-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c63a63553e7fb6071e7de6f42821db25cf07d16432ec3e8caffd78e5f531dd3
MD5 d0cb51d57503e4bd1c256c1b27fe618b
BLAKE2b-256 fae859092f010b767790dc792c257f7ed4f483979605ff5a691a961c5365e18d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page