Introducing Cushion, a very thin python wrapper around CouchDB’s Document API. Its interface closely mimics REST and it was created primarily as an exercise to learn CouchDB’s API. Cushion is not an object mapper, it doesn’t enforce ‘OOP’, and if you found it difficult to get started with CouchDB using other libraries then you might be interested in Cushion.

To retrieve a document using Cushion:

To create a document with a document id using Cushion:

To install Cushion: easy_install cushion. If you’re interested, the source code and more documentation is available on GitHub: git://github.com/sheysrebellion/cushion.git

Relax, enjoy.

Share and Enjoy:
  • del.icio.us
  • Reddit
  • Facebook
  • Identi.ca
  • TwitThis

Related posts:

  1. Install sqlite3 for RoR on Windows Vista
  2. RDBMS, thy end is nigh
  3. Consuming AMQP messages with Python and Sparkplug
  4. AgilePakistan.org

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Search