PyMongo 4.15.4 Documentation

Note

The PyMongo documentation has been migrated to the MongoDB Documentation site. This site contains only the detailed changelog and API docs, while the rest of the documentation appears on the MongoDB Documentation site.

Overview

PyMongo is a Python distribution containing tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.

API Documentation

The complete API documentation, organized by module.

Changelog

A full list of changes to PyMongo.

Getting Help

If you’re having trouble or have questions about PyMongo, ask your question on one of the platforms listed on Technical Support. You may also want to consider a commercial support subscription. 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.

Feature Requests / Feedback

Use our feedback engine to send us feature requests and general feedback about PyMongo.

Contributing

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.

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. See the PyMongo contributing guide for instructions on the building the docs from source.

Indices and tables