koxudaxi/datamodel-code-generator

Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.

About the project

datamodel-code-generator is a Python code generator that turns API descriptions, schemas, and raw data files into typed data-model definitions such as Pydantic models, dataclasses, TypedDicts, and msgspec.Structs. It helps developers create models for validating and handling structured data in Python projects.

4.0kStars on the repository
1Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

koxudaxi/datamodel-code-generator

Skill Claude CodeCodex

Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects.…

not rated 4.0k today A SkillSpector: warn 147 tokens original MIT