{"repo":"mauro-andre/pyodmongo","free":true,"listed":false,"github":"https://github.com/mauro-andre/pyodmongo","clone":"git clone https://github.com/mauro-andre/pyodmongo.git","description":"A Python ODM for MongoDB","language":"Python","stars":47,"topics":["async","asyncio","database","fastapi","mongo","mongo-aggregation","mongodb","mongodb-aggregation","nosql","pydantic"],"license":"MIT","category":"databases-storage","readme_excerpt":"--- Documentation : https://pyodmongo.dev Source Code : https://github.com/mauro-andre/pyodmongo --- PyODMongo is a modern Python library that functions as a robust Object-Document Mapper (ODM) for MongoDB . Leveraging the power of Pydantic V2 , it seamlessly bridges the gap between Python and MongoDB, offering an intuitive and efficient way to interact with MongoDB documents. 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. PyODMongo is built on top of Pydantic V2 , making the DbModel class an extension of Pydantic's BaseModel . This means that all the rich functionality of Pydantic's BaseModel , including Validators , Fields and Model Config , is readily available in DbModel . Key Features - Integration with pydantic : Leverage the power of pydantic's data validation and modeling capabilities while working with MongoDB data. - Automatic Schema Generation : Define your MongoDB schema using pydantic models, and pyodmongo will automatically create the necessary MongoDB collections and ensure data consistency. - Query Builder : Easily construct complex MongoDB queries using Python code, reducing the need for writing raw query strings. - Document Serialization : Serialize and deserialize Python objects to and from MongoDB documents effortlessly. - Async Support : Take ad","default_branch":null,"files":null,"tree":[],"storefront":"/r/mauro-andre","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mauro-andre/pyodmongo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}