liveBook · Manning

Pymongo

PyMongo is the official Python driver for connecting applications to MongoDB and performing database operations.

How 2 Manning books explain it

The Quick Python Book, Fourth Edition

PyMongo is the official Python driver for connecting to and operating on MongoDB databases.

How it is used
Connects Python applications to MongoDB and performs document-oriented CRUD operations.
How deep it goes
Demonstrates installation, connection, selection, insertion, retrieval, updating, replacement, deletion, and collection dropping without covering advanced queries.
Examples
Uses a Jane document, find_one lookups, an Ann update, a Maria replacement, deletion, and collection listing.
What you can do after
Operate/configure a MongoDB connection and create, read, update, replace, delete, and drop document collections.

Read how The Quick Python Book, Fourth Edition explains pymongo →

MongoDB 8.0 in Action, Third Edition

PyMongo is the official Python driver for connecting applications to MongoDB and performing database operations.

How it is used
Connects synchronous Python applications to MongoDB and executes queries, including filtered vector searches.
How deep it goes
Walks through installation, connection, database selection, querying, error handling, and closure, while deferring asynchronous execution to Motor.
Examples
Demonstrates a JFK route lookup and a category- and price-prefiltered vector search.
What you can do after
Build it from scratch to install PyMongo, connect to MongoDB, run queries, and perform filtered vector searches.

Read how MongoDB 8.0 in Action, Third Edition explains pymongo →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.