couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "GettingStartedWithPython" by NoahSlater
Date Sat, 29 Mar 2008 23:22:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by NoahSlater:
http://wiki.apache.org/couchdb/GettingStartedWithPython

------------------------------------------------------------------------------
  Getting started with Python and the CouchDB API.
  
- Demonstration of basic API-interaction using Python There are separate instructions for
installing a PythonLibrary.
+ == Library ==
+ 
+ The code for the Python library can be obtained from:
+ 
+   http://code.google.com/p/couchdb-python
+ 
+ From a terminal window:
+ 
+ {{{
+ $ wget http://peak.telecommunity.com/dist/ez_setup.py
+ $ sudo python ez_setup.py
+ $ wget http://couchdb-python.googlecode.com/files/CouchDB-0.3-py2.5.egg
+ $ sudo easy_install CouchDB-0.3-py2.5.egg
+ }}}
+ 
+ This first downloads and installs the ''ez_setup.py'' script which runs python ''.egg''
files. The second part downloads the ''.egg'' file for CouchDB and installs it along with
its dependencies.
  
  == Example Wrapper Class ==
+ 
+ Demonstration of basic API-interaction using Python.
  
  {{{
  #! /usr/bin/python2.4

Mime
View raw message