I'm looking for MondoDB Python ODM/ORM that takes the best from two worlds: ODM/ORM & ultra fast direct dictionary read.
In other words package shall comply with following requirements:
I know that I'm asking for much but wouldn't it be awesome to have something like this :)
In fact question could be rephrased into: "Which of existing Python Mongodb ODM/ORMs (MongoKit, MongoEngine) could be easily extended this way."
1st of all I'd love to have it as well.
Based on my research
Ming is a very promising mongo ODM driver: http://merciless.sourceforge.net/
MongoEngine is too big to adapt it for your requirements/usecase. Same for MongoKit.
There is some hope in micromongo: http://packages.python.org/micromongo
Could be a good starting point.
BTW: Hmmm... I don't know what you're writing but having forms and validators covered you can easily build admin interface and end-up having next generation Django. Good luck!
Well if you take the theory of an ORM what you need is not an ORM, since MongoDB is not a relational database, so there's no mapping to relational entities to do.
I think you must to check the answer of this post to check wether the recommendations made are what you need, I personally use MongoDB + Python directly, because of the "nature" of both Mongo and Python.
Looking around I found this library that could help you mongoEngine. Is like Django ORM. You should check it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With