PyMongo 3.9.0 Documentation

Overview

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

Getting Help

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!

Issues

All issues should be reported (and can be tracked / voted for /commented on) at the main MongoDB JIRA bug tracker, in the “Python Driver”project.

Contributing

PyMongo has a large community andcontributions are always encouraged. Contributions can be as simple asminor tweaks to this documentation. To contribute, fork the project onGitHub and send apull request.

Changes

See the Changelog for a full list of changes to PyMongo.For older versions of the documentation please see thearchive list.

About This Documentation

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

  1. $ python setup.py doc

Indices and tables