About 4,300,000 results
Open links in new tab
  1. Is there a codec or annotation way to map a python class ... - MongoDB

    Dec 12, 2022 · I’m trying to take a python class - a pydantic model - and save it almost as is: the class does not have an _id field, so I want to either use a field annotation or some codec / ODM way to signal that a certain field is…

  2. pyodmongo - PyPI

    Apr 24, 2025 · By using PyODMongo, you can effortlessly map your Python classes to MongoDB documents, allowing for a more Pythonic approach to handling data. This library simplifies the entire process of defining and working with MongoDB collections, documents, and queries.

  3. Is there a way to store python objects directly in mongoDB without ...

    Aug 6, 2013 · When using MongoDB, it's BSON. If you're actually asking about whether there would be a way to store a more raw form of a Python object in a MongoDB document, you can insert a Binary field into a document which can contain any data you'd like.

  4. GitHub - mauro-andre/pyodmongo: A Python ODM for MongoDB

    By using PyODMongo, you can effortlessly map your Python classes to MongoDB documents, allowing for a more Pythonic approach to handling data. This library simplifies the entire process of defining and working with MongoDB collections, documents, and queries.

  5. Serialization - PyMongo Driver v4.10 - MongoDB Docs

    In this guide, you can learn how to use PyMongo to serialize your custom types. Serialization is the process of mapping a Python object to a BSON document for storage in MongoDB. PyMongo automatically converts basic Python types into BSON when you insert a …

  6. Converting Python class object instance to mongodb BSON string

    Jan 3, 2013 · Does anyone know of a Python library that can convert a class object to a mongodb BSON string? Currently my only solution is to convert the class object to JSON and then JSON to BSON.

  7. PyMongo Tutorial: MongoDB And Python

    If you want to learn how to connect and use MongoDB from your Python application, you've come to the right place. In this PyMongo tutorial, we'll build a simple CRUD (Create, Read, Update, Delete) application using FastAPI and MongoDB Atlas.

  8. MongoEngine in Python. ManageEngine is an Object-Document

    Jan 22, 2024 · ManageEngine is an Object-Document Mapper (ODM) for working with MongoDB from Python. It translates Python classes to MongoDB documents and vice versa, allowing for a more intuitive way to work...

  9. How to Use MongoDB in Python with MongoEngine

    MongoEngine is an Object Document Mapper (ODM) that allows your Python application to interact with MongoDB databases. It offers a declarative API where you can interact with documents in the database using Python classes and objects.

  10. MongoDB with Async Python Course - ScanLibs

    Apr 27, 2024 · You’ll see how to use Beanie (a popular ODM for MongoDB – think ORM for NoSQL) to map classes to MongoDB. Beanie is based on state-of-the-art Python technologies such as Pydantic and Python’s async and await. In this code-based and hands-on, demo-driven course, we will build some simple example apps using Beanie.

  11. Some results have been removed
Refresh