PyMongo 1.6 Documentation


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

Installing / Upgrading
Instructions on how to get the distribution.
Start here for a quick overview.
Examples of how to perform specific tasks.
Frequently Asked Questions
Some questions that come up often.
API Documentation
The complete API documentation, organized by module.
A listing of Python tools and libraries that have been written for MongoDB.


PyMongo has a large community and contributions are always encouraged. Contributions can be as simple as minor tweaks to this documentation. To contribute, fork the project on github and send a pull request.


See the Changelog for a full list of changes to PyMongo.

About This Documentation

This documentation is generated using the Sphinx documentation generator. The source files for the documentation are located in the doc/ directory of the PyMongo distribution. To generate the docs locally run the following command from the root directory of the PyMongo source:

$ python doc

Indices and tables

Table Of Contents

Next topic

Installing / Upgrading

This Page