Accessing MongoDB Using Python
AdvancedGuided Project
In this guided project, you will discover how to use Python to perform a variety of queries on the MongoDB database.
4.4 (287 Reviews)

Language
- English
Topic
- Database
Industries
Enrollment Count
- 2.35K
Skills You Will Learn
- Databases
Offered By
- IBM
Estimated Effort
- 1 hour
Platform
- SkillsNetwork
Last Update
- February 22, 2026
About this Guided Project
Python is a popular programming language for working with data. MongoDB is a popular non-relational database that supports various data types, including dates and numbers. Python is a great choice for a wide range of basic and advanced MongoDB operations.
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:
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.
Your Instructor
Ramesh Sannareddy

Language
- English
Topic
- Database
Industries
Enrollment Count
- 2.35K
Skills You Will Learn
- Databases
Offered By
- IBM
Estimated Effort
- 1 hour
Platform
- SkillsNetwork
Last Update
- February 22, 2026