• Online, Self-Paced
Course Description

MongoDB can be queried, manipulated, and managed with Python. In this course, you will learn about PyMongo, use GridFS with Python, and use a Python REST interface.

Learning Objectives


  • start the course
  • install, set up, and connect to MongoDB using PyMongo
  • make a database connection and get a database or collection
  • insert, query, update, and delete data
  • query by ObjectId and use find and find_one
  • create and manage indexes
  • use insert_many, count, and range queries

GridFS with Python

  • install and use the Python GridFS package in PyMongo to connect to a GridFS database
  • create, delete, and manipulate files in GridFS
  • query data and find files in GridFS
  • use streaming to upload and download files

REST Using Python

  • install the Eve Python REST API framework
  • configure and use Eve to connect to a database
  • perform queries via Eve
  • perform the create, read, update, and delete operations with the API
  • use sort, pretty printing, and pagination

Practice: Python with MongoDB

  • use Python to connect and interact with MongoDB

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.