Accessing MongoDB Using Python
In this guided project, you will discover how to use Python to perform a variety of queries on the MongoDB database.Login to enroll
Classes StartMay 11, 2021
In this guided project, you will discover how you can interact with MongoDB databases by using Python. You will install PyMongo, a Python driver for MongoDB, and use it to access a database. After accessing the database, you will use Python to perform a variety of queries on documents in a collection. Then you will learn how to create a Python program that inserts a sample document and prints the documents in the collection.
This guided project will prepare you for applying Python to advanced operations in MongoDB documents.
A Look at the Project Ahead
Once you have completed this project, you'll be able to:
- Access the MongoDB database from Python with the PyMongo driver
- Perform basic operations such as selecting, inserting, and listing using Python
- Create a Python program to run MongoDB operations
What You’ll Need
Just a web browser!
Everything else is provided to you via the IBM Skills Network Labs environment, where you will have access to the MongoDB service that we offer as part of the IBM Skills Network Labs environment. This platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.