Bug#1124794: ITP: json-schema-to-pydantic -- Python library for automatically generating Pydantic v2 models from JSON Schema definitions
Package: wnpp
Severity: wishlist
Owner: Antoine Beaupre <anarcat@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : json-schema-to-pydantic
Version : 0.4.7
Upstream Contact: https://github.com/richard-gyiko
* URL : https://github.com/richard-gyiko/json-schema-to-pydantic
* License : Expat
Programming Lang: Python
Description : Python library for automatically generating Pydantic v2 models from JSON Schema definitions
Features:
- Converts JSON Schema to Pydantic v2 models
- Supports complex schema features including:
- References ($ref) with circular reference detection
- Combiners (allOf, anyOf, oneOf) with proper type discrimination
- Type constraints and validations
- Array and object validations
- Format validations (email, uri, uuid, date-time)
- Full type hinting support
- Clean, simple API
---
This is a dependency of newer llm packages.
Reply to: