Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Web Framework with best Mongo support

Tags:

python

mongodb

I'm looking to write a small web app to utilise a dataset I already have stored in a MongoDB collection. I've been writing more Python than other languages lately and would like to broaden my repertoire and write a Python web app.

It seems however that most if not all of the current popular Python web development frameworks favour MySQL and others with no mention given to MongoDB.

I am aware that there are more than likely plugins written to allow Mongo be used with existing frameworks but so far have found little as to documentation that compares and contrasts them.

I was wondering what in people's experience is the Python web development framework with the best MongoDB support?

Many thanks in advance,

Patrick

like image 960
Patrick O'Doherty Avatar asked Dec 26 '10 17:12

Patrick O'Doherty


People also ask

Which framework works best with MongoDB?

Django and MongoDB. Django is proabably the most widely-used Python web framework. It has an excellent community and many plugins and extension modules.

Is MongoDB good with Python?

MongoDB is a document-oriented database classified as NoSQL. It's become popular throughout the industry in recent years and integrates extremely well with Python. Unlike traditional SQL RDBMSs, MongoDB uses collections of documents instead of tables of rows to organize and store data.

Is MongoDB good with Django?

Django, the most popular Python web framework, is an ideal tool to build secure and easy-to-maintain applications using MongoDB. Using MongoDB with Django is advantageous because: Every second, more and more unstructured data is generated from various sources like chats, real-time streams, feeds, and surveys.


2 Answers

I have not tried MongoKit although it has been around for a while and retains a good reputation. I personally prefer MongoEngine and feel very comfortable with it (maybe because I like its nice homepage and good documentation). There is also a very good opensource project named Mumblr which demonstrates a Django-MongoEngine-MongoDB combination, which I think a very good starter for any project. I'm developing a CMS for my own company using this app.

like image 136
duy Avatar answered Sep 24 '22 01:09

duy


I've used MongoKit with Pylons before and it worked out good.

You might want to refer to this post though: MongoDB ORM for Python?

like image 33
Christian Joudrey Avatar answered Sep 26 '22 01:09

Christian Joudrey