Generate Python models such as Pydantic classes, dataclasses, and TypedDicts from API specifications, schemas, sample data, or existing Python objects. Choose an output type and Python version that fit the project, then verify the generated result.
- Generate Pydantic models from an OpenAPI or JSON Schema file
- Create Python classes from JSON, YAML, or CSV examples
- Convert an existing dataclass or TypedDict into generated models
datamodel-code-generator/datamodel-code-generator4.1KUpdated Nov 27, 2026