Home | Trees | Indices | Help |
|
---|
|
Python client API for CouchDB.
>>> server = Server('http://localhost:5984/') >>> db = server.create('python-tests') >>> doc_id = db.create({'type': 'Person', 'name': 'John Doe'}) >>> doc = db[doc_id] >>> doc['type'] u'Person' >>> doc['name'] u'John Doe' >>> del db[doc.id] >>> doc.id in db False
>>> del server['python-tests']
Classes | |
ResourceNotFound Exception raised when a 404 HTTP error is received in response to a request. |
|
ResourceConflict Exception raised when a 409 HTTP error is received in response to a request. |
|
ServerError Exception raised when an unexpected HTTP error is received in response to a request. |
|
Server Representation of a CouchDB server. |
|
Database Representation of a database on a CouchDB server. |
|
Document Representation of a document in the database. |
|
ViewResults Representation of a parameterized view (either permanent or temporary) and the results it produces. |
|
Row Representation of a row as returned by database views. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Feb 6 22:22:46 2008 | http://epydoc.sourceforge.net |