Skip to main content

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.

Metadata

Release files for time2relax 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for time2relax 0.7.0
File Size Uploaded
time2relax-0.7.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for time2relax 0.7.0
File Interpreter ABI Platform
time2relax-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / time2relax-0.7.0.tar.gz

Download URL time2relax-0.7.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6aa0b424a3656a8ffb179b501e156704eddf140bd1d71d3c579a8ce353271256
BLAKE2b-256 checksum
How to use checksums
bd6cc79e7ddc80563bfba39566512174e6a083e32dbc35860546a290660133ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.6.41-03520-gd3d77f15f842

Release files / time2relax-0.7.0-py3-none-any.whl

Download URL time2relax-0.7.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c63a63553e7fb6071e7de6f42821db25cf07d16432ec3e8caffd78e5f531dd3
BLAKE2b-256 checksum
How to use checksums
fae859092f010b767790dc792c257f7ed4f483979605ff5a691a961c5365e18d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.6.41-03520-gd3d77f15f842

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page