Home | Trees | Indices | Help |
|
---|
|
Python client API for CouchDB.
>>> server = Server('http://localhost:8888/') >>> 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 a 500 HTTP error is received in response to a request. |
|
Server Representation of a CouchDB server. |
|
Database Representation of a database on a CouchDB server. |
|
View Representation of a permanent view on the server. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sun Sep 23 18:21:43 2007 | http://epydoc.sourceforge.net |