NoSQLite
A JSON based flat file NoSQL database.
Usage
from nosqlite.nosqlite import NoSQLite
ns = NoSQLite('file.json')
ns.create_table('users')
ns.insert({'username':'blah', 'password':'blah'}, 'users')
ns.find({'username':'blah'}, 'users')
ns.update({'username':'blah'}, {'username':'changed', 'password':'changed'}, 'users')
ns.delete({'username':'blah', 'password':'blah'}, 'users')
Documentation
class NoSQLite(filename)
reload()
writeOut()
create_table(tableName)
insert(data, table)
delete(data, table)
deleteMany(data, table)
update(data, newData, table)
updateMany(data, newData, table)
findAll(table)
find(data, table)
findOne(data, table)