sage -hg clone https://wstein@nosqlite.googlecode.com/hg/ nosqlite cd nosqlite sage -python setup.py develop
Make a simple local database (not networked):
Database 'db' Database 'db' |
Insert a document in a table.
|
|
|
|
{u'a': 10, u'b': 20}
{u'a': 10, u'b': 20}
|
|
|
[{u'a': 3, u'b': 17}]
[{u'a': 3, u'b': 17}]
|
Do something more complicated that uses pickle.
|
|
|
|
{u'ainvs': (a, 1, -a + 1, a, 1), u'cond': Fractional ideal (30*a + 703),
u'T': 1}
{u'ainvs': (a, 1, -a + 1, a, 1), u'cond': Fractional ideal (30*a + 703), u'T': 1}
|
|
|