The Tool Hunt

Library / Skills / datamodel-code-generator

datamodel-code-generator logo

datamodel-code-generator

SkillFREE

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

datamodel-code-generator/datamodel-code-generator · MIT · Python · updated today

Install with the skills CLI

$npx skills add datamodel-code-generator/datamodel-code-generator

4K

GitHub stars

—

New stars this week

482

Forks

A · A · A

License · Quality · Upkeep

96/100

Radar score

What it helps you do

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

openapicode-generatorpythonpydanticgeneratorfastapijson-schemadatamodelswaggeryamlcsvopenapi-codegen

Should you use it?

License · A

Permissive license. Free for personal and business use.

Quality · A

Clear README, topics, license and an active community.

Maintenance · A

Updated in the last 30 days.

Job area: Coding & DevOps. Always read the project README before you install, and test on a copy of your data first.

How to start

  1. 1Open the project on GitHub and read the README.
  2. 2Run: npx skills add datamodel-code-generator/datamodel-code-generator
  3. 3Ask your AI to use the new skill in plain words.
  4. 4Test with a small task before real work.