📈 GH Trending Explorer
Sponsored by Sorted Solution
⚠ Updated 2026-11-29 10:03 UTC 🎲 Surprise me

← all repos

datamodel-code-generator / datamodel-code-generator

git clone https://github.com/datamodel-code-generator/datamodel-code-generator.git

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

+1
stars, 24h · #22,427
+5
stars, 7 days · #27,968
+20
stars, 30 days · #36,004
4.1k
★ total · +0% this week
491
forks · 131 open issues

Star history (as recorded here)

2026-10-20 · 4,042 ★ 2026-12-05 · 4,071 ★
LanguagePython
LicenseMIT
Created2019-05-29 (7y ago)
Last pushtoday
OwnerOrganization

GitHub topics

Links

README

Loading README…