PyMongo 4.12.1 documentation (original) (raw)
Toggle table of contents sidebar
Note
The PyMongo documentation has been migrated to theMongoDB Documentation site. As of PyMongo 4.10, the ReadTheDocs site will contain the detailed changelog and API docs, while the rest of the documentation will only appear on the MongoDB Documentation site.
Overview¶
PyMongo is a Python distribution containing tools for working withMongoDB, and is the recommended way to work with MongoDB from Python. This documentation attempts to explain everything you need to know to use PyMongo.
Instructions on how to get the distribution.
Start here for a quick overview.
Start here for a quick overview of the asynchronous API.
Examples of how to perform specific tasks.
Using PyMongo with MongoDB Atlas
Using PyMongo with MongoDB Atlas.
Using PyMongo with TLS / SSL.
Using PyMongo with In-Use Encryption.
Using PyMongo with type hints.
Using PyMongo’s logging capabilities.
Some questions that come up often.
A PyMongo 3.x to 4.x migration guide.
Frequently asked questions about python 3 support.
Explanation of deprecations, and how to keep pace with changes in PyMongo’s API.
The complete API documentation, organized by module.
A listing of Python tools and libraries that have been written for MongoDB.
Developer guide for contributors to PyMongo.
Common issues encountered when using PyMongo.
Getting Help¶
If you’re having trouble or have questions about PyMongo, ask your question on our MongoDB Community Forum. You may also want to consider acommercial 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 engineto 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 onGitHub and send a pull request.
Changes¶
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 thePyMongo distribution. See the PyMongo contributing guidefor instructions on the building the docs from source.