←Leaderboard/Software Engineering/datamodel-code-generator
Last commit on November 5, 2026·Created on May 29, 2019

datamodel-code-generator/datamodel-code-generator

“Generates Pydantic models, dataclasses, and type-safe Python classes from OpenAPI, AsyncAPI, JSON Schema, GraphQL, Protobuf, and Avro specifications.”
Combined rank
#143
across all skills
In Software Engineering
#14
category rank
Stars
4k
+0.1% in last 7d
Forks
488
Watchers
23
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

This skill helps backend and data engineers eliminate manual boilerplate by converting OpenAPI, AsyncAPI, and JSON Schema specifications into Pydantic models or dataclasses. It streamlines the process of translating external API contracts and data serialization formats into structured Python code.

By supporting a wide range of inputs—including GraphQL, Protocol Buffers, and Apache Avro—it ensures that data models remain consistent with their source schemas without requiring hand-written definitions.

WHO IT'S FOR
Backend engineers
generate Pydantic models from OpenAPI specs
Data engineers
convert Avro or Protobuf schemas to Python
AI agent builders
create Python types from MCP tool schemas
Python developers
parse JSON or YAML samples into dataclasses
Repository contents

2 skill files

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.
Want to install it?
Claude Plugin · CLI Installer · Clone to ClaudeRepository instructions