Flask-MongoKit simplifies the use of MongoKit (a powerful MongoDB ORM for Python) within Flask applications
Python Shell CSS
Switch branches/tags
Latest commit 7945784 Apr 7, 2014 @jbenito3 jbenito3 committed with jarus Add tz_aware to configuration variables
Permalink
Failed to load latest commit information.
docs Add tz_aware to configuration variables Apr 8, 2014
example tests now follow new naming standards May 24, 2012
tests Fix test runner and add mongodb as required service for travis Dec 22, 2012
MANIFEST.in Add MANIFEST.in Aug 17, 2011
.gitignore Ignore vagrant files Apr 8, 2014
.travis.yml
LICENSE First import of flask-mongokit Aug 16, 2011
README.rst Fixed typo in import statement. Oct 10, 2012
flask_mongokit.py
setup.py Add simplejson as requirement for python 2.5 Dec 22, 2012

README.rst

Flask-MongoKit

https://secure.travis-ci.org/jarus/flask-mongokit.png

Flask-MongoKit simplifies to use MongoKit, a powerful MongoDB ORM in Flask applications.

Installation

The installation is thanks to the Python Package Index and pip really simple.

$ pip install Flask-MongoKit

If you only can use easy_install than use

$ easy_install Flask-MongoKit

Flask-MongoKit requires to run some packages (they will be installed automatically if they not already installed):

  • Flask
  • MongoKit
  • pymongo

Changelog

  • 0.6 (08.07.2012)

    • Use the new app context and again the old request context.

    • The MongoKit object is now subscriptable and support the typical syntax to get a collection.:

      db['my_collection'].insert({'x': 5})
      
    • Restructured and improved test suite.

    • Sounds crazy but improved python2.5 support.

  • 0.5 (02.07.2012)

    • You don't need a request context anymore for the mongodb connection. (A bad decision ... look in 0.6)
  • 0.4 (23.02.2012)

    • Support new import system of flask. Use now:

      from flask.ext.mongokit import Mongokit