A CouchDB driver for Python.
Project description
time2relax: Python CouchDB Driver
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
- couchutils - A collection of CouchDB utils.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aa0b424a3656a8ffb179b501e156704eddf140bd1d71d3c579a8ce353271256 |
|
MD5 | 46e14e0c8da43ac792939a73874f1391 |
|
BLAKE2b-256 | bd6cc79e7ddc80563bfba39566512174e6a083e32dbc35860546a290660133ac |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c63a63553e7fb6071e7de6f42821db25cf07d16432ec3e8caffd78e5f531dd3 |
|
MD5 | d0cb51d57503e4bd1c256c1b27fe618b |
|
BLAKE2b-256 | fae859092f010b767790dc792c257f7ed4f483979605ff5a691a961c5365e18d |