3 ms·
I wrote a similar library -BlitzDB- a while ago: https://github.com/adewes/blitzdb https://github.com/adewes/blitzdb It's a pure Python database engine with a
by ThePhysicist 10y ago
I wrote a similar library -BlitzDB- a while ago:
https://github.com/adewes/blitzdb https://github.com/adewes/blitzdb
It's a pure Python database engine with a MongoDB-like query engine and support for three different backends: File (native), SQL (via SQLAlchemy) and MongoDB.
The library transparently translates a large number of MongoDB queries into SQL or its own native storage backend, and when using the SQL backend it can do things that MongoDB can't, like queries spanning multiple relationships.
The latest version is not fully documented yet but I'm using it on several production projects myself. I'm looking for a maintainer and contributors btw, so if you're interested feel free to get in touch with me!
- asrp 10y agoInteresting! I will have to take a deeper look at BlitzDB. I don't know much about MongoDB (so probably wouldn't be a good maintainer) but the sample code looks good. I can't tell how it handles nesting though.