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)
LanguagePython
LicenseMIT
Created2019-05-29 (7y ago)
Last pushtoday
OwnerOrganization
GitHub topics
agent-skillscode-generatorcsvdataclassdatamodelfastapigeneratorgraphqljson-schemamsgspecopenapiopenapi-codegenpydanticpythonswaggerswagger-codegentypeddictyaml
Links
- GitHub: github.com/datamodel-code-generator/datamodel-code-generator
- Homepage: https://datamodel-code-generator.koxudaxi.dev/
- Releases · Issues · Hacker News mentions
README
Loading README…