其他
IMPORTANT: Moved to Github
I've moved this project to github: https://github.com/williamstein/nosqlite
noSQLite is a lightweight zeroconf noSQL document-oriented forking Python SQLite networked authenticated XMLRPC database server. It's written using Python and SQLite to provide a very lightweight and easy way to use SQLite that offers somewhat similar functionality to MongoDB (at least the parts I use), but much more lightweight.
To install:
hg clone https://wstein@nosqlite.googlecode.com/hg/ nosqlitecd nosqlitepython setup.py develop
See http://nt.sagenb.org/home/pub/55/ for a demo in the context of Sage.
Here is a little demo.
```
from nosqlite import client, server s = server(directory='/tmp/a') c = client(s.port) # or do this from another session database = c.db collection = database.foo; collection Collection 'db.foo' collection.insert({'a':123, 'b':'h
VER
暂无评论