Navigation

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.

If you’re having trouble or have questions about PyMongo, the best place to ask is the MongoDB user group. Once you get an answer, it’d be great if you could work it back into this documentation and contribute!

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.

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: