If you're looking for something similar for Python, check out BlitzDB:
https://github.com/adewes/blitzdb
It's a serverless, flat-file, document-oriented database which supports indexing and transactions and comes with a built-in ORM layer and a rich query language modeled after MongoDB.