Comparison
json-schema-to-pydantic vs jsonschema-pydantic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python library for automatically generating Pydantic v2 models from JSON Schema definitions
Maintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
$
pip install json-schema-to-pydanticConvert JSON Schemas to Pydantic models
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install jsonschema-pydanticIn short
- jsonschema-pydantic is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- json-schema-to-pydantic is the most used: 3.8M downloads a month, 20× more than jsonschema-pydantic.
- json-schema-to-pydantic also has the best Pythie’s Index (67).
- json-schema-to-pydantic is growing fastest: downloads +19% over the last month.
- json-schema-to-pydantic is the newcomer: first released Dec 2024.
- Safe default for a new project: json-schema-to-pydantic.
Side by side
| Metric | json-schema-to-pydantic | jsonschema-pydantic |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | 18 |