pickleDB is lightweight, fast, and simple database based on the simplejson module. And it's BSD licensed!
>>> import pickledb>>> db = pickledb.load('test.db', False)>>> db.set('key', 'value')>>> db.get('key') 'value'>>> db.dump() True
$ pip install pickledb