Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've never tried using U1DB before, and the directions aren't very newbie-friendly. Is there a good tutorial that gives basic examples that show how it can be used?

share|improve this question
See if this helps: packages.python.org/u1db – Mitch Aug 13 '12 at 7:00
I'm not very familiar with databases, and that page goes a little over my head. I basically just want to know what python commands I'll need in order to store data. – Ian N Aug 13 '12 at 13:49

1 Answer

up vote 3 down vote accepted

There is an example application included in the u1db source code. Simply run bzr branch lp:u1db, and look at the code inside the cosas sub-directory. It is a simple todo app in Qt, built to show off how to do some of the basic things in u1db such as indexing documents, and syncing with a u1db server.

share|improve this answer
I don't see a u1todo directory in there – Ian N Aug 13 '12 at 21:39
Ah, sorry. It was renamed recently and I didn't have an updated tree on my system. It's the cosas directory now. I've updated the answer. – dobey Aug 13 '12 at 21:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.