pycon logo

PyCon 2011 Atlanta

March 9th–17th

Log in or Sign Up

CouchDB and Python in practice

log in to bookmark this presentaton

Novice / Talk
March 12th 10:25 a.m. – 10:55 a.m.
This talk introduces one 'NoSQL' solution, CouchDB, and how to get it to play well with Python. Topics covered: * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB documents within python * Writing view functions in python * Map/reduce on CouchDB from python * Lessons learned from managing and distributing a live deployment at scale under high load


This is a rough draft


  • CouchDB stores schema free documents

Why CouchDB?

  • Complicated mapping structures handled
  • Revision history
  • Maps nicely to Python objects
  • HTTP protocol

Python ORM

  • couchdb-python
  • Mapping structures
  • demo

View functions

  • write in Erlang, Javascript, Python?
  • demo


  • Distributed map/reduce
  • BigCouch
  • Read/write quorum