datamodel-code-generator

datamodel-code-generator

koxudaxi

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

4k Stars
450 Forks
25 Watchers
Python Language
mit License
100 SrcLog Score
Cost to Build
$1.09M
Market Value
$6.23M

Growth over time

11 data points  ·  2021-07-01 → 2026-08-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about datamodel-code-generator

Question copied to clipboard

What is the koxudaxi/datamodel-code-generator GitHub project? Description: "Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.". Written in Python. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone datamodel-code-generator

Clone via HTTPS

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

Clone via SSH

[email protected]:koxudaxi/datamodel-code-generator.git

Download ZIP

Download main.zip

Found an issue?

Report bugs or request features on the datamodel-code-generator issue tracker:

Open GitHub Issues