datamodel-code-generator

datamodel-code-generator

datamodel-code-generator

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

4k Stars
460 Forks
24 Watchers
Python Language
mit License
100 SrcLog Score
Cost to Build
$1.69M
Market Value
$10.41M

Growth over time

12 data points  ·  2021-07-01 → 2026-09-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about datamodel-code-generator

Question copied to clipboard

What is the datamodel-code-generator/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/datamodel-code-generator/datamodel-code-generator.git

Clone via SSH

[email protected]:datamodel-code-generator/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