{"repo":"KLR-Pattern/pydantic-resolve","free":true,"listed":false,"github":"https://github.com/KLR-Pattern/pydantic-resolve","clone":"git clone https://github.com/KLR-Pattern/pydantic-resolve.git","description":"pydantic-resolve is a progressive data assembly framework which follows the stye of clean architecture","language":"Python","stars":326,"topics":["pydantic","fastapi","python","fullstack","bff","graphql","mcp"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Pydantic Resolve A progressive data-assembly framework for Python in Clean Architecture style — adopt each layer as you need it. 中文版 Requirements: Python 3.10+, Pydantic v2 --- TL;DR pydantic-resolve is a complete framework for defining and assembling your data layer. - Define entities and relationships — Pydantic models + ER Diagram as the single source of truth. - Assemble response trees — resolve / post + batch loaders, recursive and N+1-safe. - Expose the same graph to REST, GraphQL, and AI agents (MCP) without rewriting. These are progressive layers, not a package deal — most users stay on resolve and post forever, reach for ER Diagram only when relationships start repeating, and add GraphQL/MCP only when those surfaces are actually needed. The snippet above is the assembly step — describe what's missing, the framework fetches it. ER Diagram and GraphQL/MCP integrations build on top of the same model graph. --- The Problem In most FastAPI projects, you define SQLAlchemy ORM models first, then create Pydantic schemas that mirror them. As the project grows, data-assembly logic ends up scattered across Repository / Service / Route: This pattern couples your API contract to the database layout and gives business logic no stable home. pydantic-resolve provides that home. For the full architectural analysis, see Clean Architecture for Python. --- Quick Start Install The Example Throughout the Quick Start, we build one API: - Sprint has many Task - Task has one owner (a User ) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/KLR-Pattern","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KLR-Pattern/pydantic-resolve/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."}