Back to results
Cover image for book MongoDB and Python

MongoDB and Python

By:O'Higgins, Niall
Publisher:O'Reilly Media, Inc.
Print ISBN:9781449310370
eText ISBN:9781449310370
Edition:1
Format:Page Fidelity

eBook Features

Instant Access

Purchase and read your book immediately

Read Offline

Access your eTextbook anytime and anywhere

Study Tools

Built-in study tools like highlights and more

Read Aloud

Listen and follow along as Bookshelf reads to you

Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios.This guide explains the basics of the document-oriented database and shows you how to set up a Python environment with it. Learn how to read and write to MongoDB, apply idiomatic MongoDB and Python patterns, and use the database with several popular Python web frameworks. You’ll discover how to model your data, write effective queries, and avoid concurrency problems such as race conditions and deadlocks.The recipes will help you:Read, write, count, and sort documents in a MongoDB collectionLearn how to use the rich MongoDB query languageMaintain data integrity in replicated/distributed MongoDB environmentsUse embedding to efficiently model your data without joinsCode defensively to avoid keyerrors and other bugsApply atomic operations to update game scores, billing systems, and more with the fast accounting patternUse MongoDB with the Pylons 1.x, Django, and Pyramid web frameworks

• 2026 © SAU Tech Bookstore. All Rights Reserved.