News for hackers. Stuff that matters.
Re:Show HN: Pydb – a lightweight database with Python syntax... by ThePhysicist on Saturday January 28, 2017 @01:10PM (#13507787)
I wrote a similar library -BlitzDB- a while ago:

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!

Re:Show HN: Pydb – a lightweight database with Python syntax... by asrp on Saturday January 28, 2017 @04:34PM (#13509512)
Interesting! 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.