Talk Python: MongoDB for Developers
Michael Kennedy
  • Course duration: 6h 52m
Talk Python: MongoDB for Developers is part of the exciting Talk Python course series from podcaster and software trainer Michael Kennedy. In this interactive, hands-on, visually-oriented guide, you’ll learn how to build simple and extremely high-performance Python applications using MongoDB. Containing end-to-end coverage of MongoDB, you’ll go beyond the basics of document databases and dive into techniques and performance methods that will make your apps run hundreds of times faster than you get with out-of-the-box MongoDB.

Distributed by Manning Publications

This course was created independently by Python expert Michael Kennedy and is distributed by Manning through our exclusive liveVideo platform.

About the subject

Because it allows you to model data as complete documents without first defining a rigid schema and subdividing content into its constituent parts, MongoDB is one of the most exciting data technologies you can use today. This cross-platform database can be used to build extremely high-performance apps with the joy of a schemaless lifestyle. Fast, flexible, and scalable, it’s a great choice for Python developers.

About the video

Talk Python: MongoDB for Developers teaches you how to use MongoDB and document databases to build simpler and faster data-driven applications. You’ll start with the origin and major concepts of NoSQL and document databases, then learn how to work with MongoDB from its native shell as well as from Python using PyMongo. You'll see how to use mongoengine to map classes to MongoDB, bringing features not typically available in MongoDB. After you master working with MongoDB from Python, you’ll tackle performance. You’ll take a large database with millions of data points and make it run hundreds of times faster than you get out-of-the-box with MongoDB! You’ll then wrap up by deploying MongoDB to production Linux servers. In the end, you'll be ready to start building and running high performance, MongoDB-backed, data-driven applications.
Table of Contents detailed table of contents

Welcome to the course


MongoDB is loved

Course topics

Tools that you will learn

Meet your instructor

What is NoSQL?

NoSQL history

Origins of NoSQL

Types of NoSQL databases

Working with document DBs and queries styles

Introducing MongoDB

Who uses MongoDB

Setting up your computer to follow along

MongoDB and the tools we will use

Setting up MongoDB as a Windows service

Concept: MongoDB as a Windows service

Setting up MongoDB on macOS

Concept: Setting up MongoDB on macOS

Setting up MongoDB on Linux

Concept: Setting up MongoDB on Linux

MongoDB’s shell and native query syntax

MongoDB’s query syntax

Connecting to MongoDB with the shell

Concept: Connecting to MongoDB with the shell

Basic querying

Concept: Basic querying

Robomongo: A better shell

Advanced queries

Concept: Advanced queries


Exact subdocument matches

Sorting MongoDB results

Concept: Sorting MongoDB results

Inserting documents in MongoDB

Updating documents in MongoDB

Deleting documents form MongoDB

Atomic, in-place updates

Concept: Atomic, in-place updates

Working with MongoDB directly from Python: PyMongo

Introduction to PyMongo

Connecting with PyMongo

Concepts: Getting starting with PyMongo

Concept: Connection strings

Atomic updates

Concept: Atomic updates

Mapping MongoDB’s JavaScript API to PyMongo

Modeling and document design

Introduction to document design

To embed or not to embed

Do you have an integration database?

A real world example

More document patterns

Mapping classes to MongoDB with the ODM MongoEngine

Introducing ODMs

Welcome to mongoengine

The dealership demo

Introducing the application skeleton

Registering connections in mongoengine

Basic classes in mongoengine

Required and default values in mongoengine classes

Adding the engine to the car document

Adding service histories to the car document

Listing cars

Adding service histories by whole document

Adding service histories with in-place updates

Subdocument queries

A parting glitch

Concept: Registering connections

Concept: Creating classes

Concept: Inserting objects with mongoengine

Concept: Querying with mongoengine

Concept: Updates in mongoengine

High-performance MongoDB

Introducing performance-tuning in MongoDB

The MongoDBs performance knobs

A popular dealership

Creating the big DB

Surveying the new code

Running the default configuration

Adding indexes in mongoenegine

Concept: Indexes via the shell

Concept: Indexes via mongoengine

Concept: Document design for performance

Concept: Projections

Deploying MongoDB in production (and playing it safe)

Warning: Action required

The MongoDB deployment checklist

Creating a couple of cloud servers

Installing MongoDB for production use

Concept: Installing MongoDB for production

Limit you network exposure

Limit you network exposure in action

Concept: Limit network exposure

Adding encrypted communication for MongoDB

Concept: Adding encrypted communication for MongoDB

Adding authentication to MongoDB

Concept: Adding authentication to MongoDB

The BIG moment

Connecting to MongoDB via Python

Concept: Connecting to MongoDB via Python

MongoDB admin tools

Concept: MongoDB admin tools

Course conclusion

You’ve done it!

Lightning review

Lightning review: Shell query syntax

Lightning review: pymongo

Lightning review: Document design

Lightning review: mongoengine

Lightning review: Performance tuning MongoDB

Lightning review: Deployments

Thanks and goodbye


For intermediate Python programmers.

What you will learn

  • How to install and configure MongoDB on your operating system
  • MongoDB's native query syntax
  • Searching subdocuments and other advanced queries
  • How to use MongoDB's atomic, transactional operators
  • Using PyMongo to connect to MongoDB from Python
  • Mapping classes from Python to MongoDB with mongoengine
  • Document design and data modeling techniques
  • Tuning MongoDB for high performance
  • To deploy MongoDB into production with SSL, authentication, auto-updates and more

About the instructor

Michael Kennedy is the host of the #1 Python podcast, Talk Python to Me. He’s interviewed many of the leaders and creators in the Python community and brings that perspective to all the courses he creates. He has been a professional software trainer for over 10 years.

placing your order...

Don't refresh or navigate away from the page.
liveVideo $59.00
Talk Python: MongoDB for Developers (liveVideo) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.