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, plus FastAPI servers and Python clients from OpenAPI.

4.1k Stars
491 Forks
23 Watchers
Python Language
mit License
100 SrcLog Score
Cost to Build
$11.04M
Market Value
$68.38M

Growth over time

14 data points  ·  2021-07-01 → 2026-11-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, plus FastAPI servers and Python clients from OpenAPI.". 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.

🏆 Show off this rank

datamodel-code-generator/datamodel-code-generator on SrcLog (holo style)

Add it to a GitHub README or profile — the card updates as the ranking changes:

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