Validation & Serialization
Data validation, schemas, typed data models, serialization and deserialization of objects to JSON.
Data validation, schemas, typed data models, serialization and deserialization of objects to JSON.
110 packages
JSON Matching Expressions
Easily serialize dataclasses to and from JSON.
Simple data validation library
Persistent/Functional/Immutable data structures
OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator
Editable interval tree data structure for Python 2 and 3
Parse US addresses using conditional random fields
Python library to convert dataclasses into marshmallow schemas.
Enforce the output format (JSON Schema, Regex etc) of a language model
client-side and server-side support for the OpenAPI Specification v3
Parse partial JSON generated by LLM
A dataclasses serializer for Django REST Framework
JSONSchema Spec with object-oriented paths
Camel case JSON support for Django REST framework.
A flexible & capable API layer for Django.
Python module for interacting with nested dicts as a single level dict with delimited keys.
A dataframe modelling library built on top of polars and pydantic.
An easy-to-use library for recommender systems.
Type dispatch and validation for run-time Python
JSON Schema Draft v7 (http://json-schema.org/) formatting with marshmallow
A better Protobuf / gRPC generator & library
Polymorphic serializers for Django REST Framework.
A simple schema-based serialization and deserialization library
Visions
Flask extension for integration with Pydantic library.
JSON Merge Patch library (https://tools.ietf.org/html/rfc7386)
Python icalendar (rfc5545) parser
Typed Argument Parsing with Pydantic
Load and dump data from json-like format into typed data structures
typepy is a Python library for variable type checker/validator/converter at a run time.