MongoFrames is designed for Python 3.4+, it definitely won't work with Python 2.n and may not work with earlier versions of 3 (we don't test below 3.4).

Importing MongoFrames

MongoFrames consists of three core modules - frames, queries and pagination. Each of which provides a distinct set of functionality. You can import all core modules using:

from mongoframes import *

Import each core module separately:

from mongoframes import frames, pagination, queries

Or import just the class/functions you require:

from mongoframes.frames import Frame, SubFrame

The later two examples of importing MongoFrames are the recommend approach, using import * is discouraged as it can cause naming clashes, may be inefficient and doesn't document the origin of functionality. However throughout the documentation you'll see import * used, this is purely for the sake of brevity.

MongoFrames was created by Anthony Blackshaw - a founder of and developer at getme. The project is maintained by the crew at getme along with our contributors. The project's documentation (this site) is managed using ContentTools. The code is licensed under MIT.