项目介绍

datamodel-code-generator/datamodel-code-generator 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 4.1k 个 Star、491 次 Fork。

仓库全名
datamodel-code-generator/datamodel-code-generator

README 摘要

datamodel-code-generator 🚀 Generate Python models, typed clients and FastAPI servers (experimental) from schemas, deterministically, with --check for drift. 📚 Documentation · 🧪 Playground · 💼 Lead maintainer available for work [!NOTE] Playground privacy: Generation runs locally in your browser with Pyodide. Your schema and options are not sent to a backend. Shared repro URLs encode them in the URL fragment…

完整内容见 GitHub 原始 README 或本页 。

常见问题

datamodel-code-generator 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 4.1k 个 Star。

datamodel-code-generator 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 datamodel-code-generator 的源码?

可以直接克隆仓库:git clone https://github.com/datamodel-code-generator/datamodel-code-generator.git,默认分支为 main;安装与运行步骤见仓库 README。

datamodel-code-generator 最近还在维护吗?

仓库最近一次更新为 17 小时前,当前有 130 个未关闭 Issue;Star 数为 4.1k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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.

以下为仓库作者撰写的原始描述。

简要分析

热度分
5075
价值分
2585
活跃状态
活跃

语言占比

Dockerfile
HTML
JavaScript
Jinja
Python
Shell

Release