Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/djc/couchdb-python

Python library for working with CouchDB
https://github.com/djc/couchdb-python

Last synced: 3 months ago
JSON representation

Python library for working with CouchDB

Awesome Lists containing this project

README

        

CouchDB-Python Library
======================

.. image:: https://travis-ci.org/djc/couchdb-python.svg
:target: https://travis-ci.org/djc/couchdb-python

**Note: CouchDB-Python is no longer being maintained. After 8 years of maintaining
CouchDB-Python, I no longer have time to address open issues and new bug reports.
Consider https://github.com/cloudant/python-cloudant as an alternative.
If you're interested in taking over maintenance of CouchDB-Python, please start a
discussion on the mailing list, or open an issue or PR.**

A Python library for working with CouchDB. `Downloads`_ are available via `PyPI`_.
Our `documentation`_ is also hosted there. We have a `mailing list`_.

This package currently encompasses four primary modules:

* ``couchdb.client``: the basic client library
* ``couchdb.design``: management of design documents
* ``couchdb.mapping``: a higher-level API for mapping between CouchDB documents and Python objects
* ``couchdb.view``: a CouchDB view server that allows writing view functions in Python

It also provides a couple of command-line tools:

* ``couchdb-dump``: writes a snapshot of a CouchDB database (including documents, attachments, and design documents) to MIME multipart file
* ``couchdb-load``: reads a MIME multipart file as generated by couchdb-dump and loads all the documents, attachments, and design documents into a CouchDB database
* ``couchdb-replicate``: can be used as an update-notification script to trigger replication between databases when data is changed

Prerequisites:

* Python 2.7, 3.4 or later
* CouchDB 0.10.x or later (0.9.x should probably work, as well)

``simplejson`` will be used if installed.

.. _Downloads: http://pypi.python.org/pypi/CouchDB
.. _PyPI: http://pypi.python.org/
.. _documentation: http://couchdb-python.readthedocs.io/en/latest/
.. _mailing list: http://groups.google.com/group/couchdb-python