Mongo-in-a-bottle is a project mainly written in PYTHON and JAVASCRIPT, it's free.
Proof-of-concept authoring system using bottle.py, pymongo and pystache templating