MemLite is
- a fast, pure-Python, untyped, in-memory database engine, using Python syntax to manage data, instead of SQL, inspired by PyDbLite.
Supported Python versions: 2.6-2.7
python setup.py install
Create fields
import memLite
db = memlite.Base()
db.create('a', 'b', 'c')
Create indexs:
db.create_index('a', 'b')
Insert a piece of data:
db.insert(a=-1, b=0, c=1)
Query data under condition:
db.query(a=-1, b=0)