MongoDB and Python

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 g...

Descripción completa

Detalles Bibliográficos
Autor principal: O'Higgins, Niall (-)
Otros Autores: Loukides, Michael Kosta (illustrator), Wallace, Shawn, Romano, Robert (Illustrator), illustrator
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly [2011]
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628278906719
Tabla de Contenidos:
  • Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Getting Started; Introduction; Finding Reference Documentation; Installing MongoDB; Running MongoDB; Setting up a Python Environment with MongoDB; Chapter 2. Reading and Writing to MongoDB with Python; Connecting to MongoDB with Python; Getting a Database Handle; Inserting a Document into a Collection; Write to a Collection Safely and Synchronously; Guaranteeing Writes to Multiple Database Nodes; Introduction to MongoDB Query Language
  • Reading, Counting, and Sorting Documents in a CollectionUpdating Documents in a Collection; Deleting Documents from a Collection; MongoDB Query Operators; MongoDB Update Modifiers; Chapter 3. Common MongoDB and Python Patterns; A Uniquely Document-Oriented Pattern: Embedding; Fast Lookups: Using Indexes with MongoDB; Location-based Apps with MongoDB: GeoSpatial Indexing; Code Defensively to Avoid KeyErrors and Other Bugs; Update-or-Insert: Upserts in MongoDB; Atomic Read-Write-Modify: MongoDB's findAndModify; Fast Accounting Pattern; Chapter 4. MongoDB with Web Frameworks
  • Pylons 1.x and MongoDBPyramid and MongoDB; Django and MongoDB; Going Further