An open API service indexing awesome lists of open source software.

https://github.com/histrio/py-couchdb

Modern pure python CouchDB Client.
https://github.com/histrio/py-couchdb

couchdb hacktoberfest

Last synced: 5 months ago
JSON representation

Modern pure python CouchDB Client.

Awesome Lists containing this project

README

          

# py-couchdb

[![CI](https://github.com/histrio/py-couchdb/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/histrio/py-couchdb/actions/workflows/main.yml)
![PyPI](https://img.shields.io/pypi/v/pycouchdb)
![PyPI - Downloads](https://img.shields.io/pypi/dm/pycouchdb)
[![codecov](https://codecov.io/github/histrio/py-couchdb/graph/badge.svg?token=eXN16KQiEq)](https://codecov.io/github/histrio/py-couchdb)
[![Documentation Status](https://readthedocs.org/projects/pycouchdb/badge/?version=latest)](https://pycouchdb.readthedocs.io/en/latest/?badge=latest)

Modern pure python [CouchDB](https://couchdb.apache.org/) Client.

Currently there are several libraries in python to connect to couchdb. **Why one more?**
It's very simple.

All seems not be maintained, all libraries used standard Python libraries for http requests.

## Advantages of py-couchdb

- Use [requests](http://docs.python-requests.org/en/latest/) for http requests (much faster than the standard library)
- CouchDB 2.x and CouchDB 3.x compatible
- Also compatible with pypy.

Example:

```python
>>> import pycouchdb
>>> server = pycouchdb.Server("http://admin:admin@localhost:5984/")
>>> server.info()['version']
'1.2.1'
```

## Installation

To install py-couchdb, simply:

```bash
pip install pycouchdb
```

## Documentation

Documentation is available at http://pycouchdb.readthedocs.org.

## Test

To test py-couchdb, simply run:

``` bash
pytest -v --doctest-modules --cov pycouchdb
```