{"repo":"wailbentafat/Vellum","free":true,"listed":false,"github":"https://github.com/wailbentafat/Vellum","clone":"git clone https://github.com/wailbentafat/Vellum.git","description":"Vellum: The Precision ODM for Asynchronous MongoDB & Pydantic & fastapi","language":"Python","stars":26,"topics":["mongodb","odm","pydantic","python"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Vellum The Precision ODM for Asynchronous MongoDB & Pydantic. Vellum is a type-safe, async Python ODM for MongoDB built on Pydantic v2 and Motor. It provides a clean repository pattern, fluent aggregation builder, lifecycle hooks, optimistic concurrency, soft deletes, and transactions — all with full type hints. Installation Quick Start Features Feature Description --- --- Type-safe queries Expression classes for all MongoDB operators ( Eq , Gt , In , Regex , ElemMatch , ...) Fluent aggregation AggregationPipeline with match , group , project , sort , unwind , lookup , etc. Lifecycle hooks before insert , after insert , before update , ... on your model OCC OptimisticConcurrencyMixin — automatic version-based conflict detection Soft delete SoftDeleteMixin — automatic filtering, soft delete() / restore() Transactions async with repo.transaction() as session: FastAPI integration repository factory for Depends injection Aggregation output models Pass a Pydantic model to project() / group() for validated results Documentation - Learning Guide — explains bugs found and concepts introduced - Roadmap — planned features and improvements Requirements - Python = 3.12 - MongoDB = 4.0 (transactions require a replica set) License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/wailbentafat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wailbentafat/Vellum/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."}