A sync and async Object Document Mapper for MongoDB built on Python type hints and Pydantic.
ODMantic is an Object Document Mapper (ODM) for MongoDB that uses Python's standard type hints for model definition and validation. Built on top of Pydantic, it provides a seamless developer experience with full async support, making it ideal for modern Python applications. It simplifies database interactions by allowing developers to define models with Python types and build queries using standard comparison operators.
Python developers building applications with MongoDB who want type safety and an intuitive, async-first ORM/ODM experience, particularly those using ASGI frameworks like FastAPI, Quart, Sanic, or Starlette.
Developers choose ODMantic for its combination of Pydantic's robust validation and type hints with native async support, offering a fully typed, autocompletion-friendly API that reduces runtime errors and integrates seamlessly with modern Python web frameworks.
Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.