Overview

Lawes is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python. It looks like Django. This documentation attempts to explain everything you need to know to use PyMongo.

Installation

You can install Lawes either via the Python Package Index (PyPI) or from source.

To install using pip:

$ sudo pip install lawes

Downloading and installing from source

Download the version 1.8.0 of Lawes from https://pypi.python.org/pypi/Lawes

You can install it by doing the following,

$ tar xvfz Lawes
$ cd Lawes
$ python setup.py install

Using the development version

You can clone the repository by doing the following

$ git clone git@github.com:MrLawes/Lawes.git
$ cd Lawes
$ python setup.py install

To update:

$ cd Lawes
$ git pull origin master

The supports:

You must start MongoDB Server first, you can visit https://www.mongodb.com/ and get started. Testing whether if it is running:
$ mongo
>MongoDB shell version: 2.4.9
>connecting to: test