← Back to team overview

deskdb team mailing list archive

Early DeskDB progress

 

Some very early progress:

% python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import couchdb
>>> server = couchdb.Server("http://localhost:60080";)
>>> db = server.create("mydb")
>>> db.save({"_id": "somedoc", "hi": "there"})
('somedoc', '1-8502885310731d5df1997d160cfc03ca')
>>> db.get("somedoc")
<Document 'somedoc'@'1-8502885310731d5df1997d160cfc03ca' {'hi': 'there'}>
>>>

Will push the code/tests later today

-- 
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter


Follow ups