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