MongoDB is a document-oriented NoSQL database that is often used for storing, querying and analyzing persistence data in Python applications.

MongoDB logo.

MongoDB is an implementation of the NoSQL database concept. Learn more in the data chapter or view the table of contents for all topics.

General MongoDB introductions

It is worth taking some time to learn the ins and outs of MongoDB before connecting it to your Python application. The following tutorials are not specific to Python and will have you work directly with the MongoDB command line and query language.

MongoDB security

NoSQL databases can be a weak spot in a production deployment environment, especially when default settings are built for ease of development instead of proper access control. MongoDB is no exception with its loose default security controls so make sure to lock down your instances.

Python with MongoDB resources

MongoDB is straightforward to use in a Python application when a driver such as PyMongo is installed. The following tutorials show how to install, configure and start using MongoDB with Python.