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.
32 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
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.
Type dispatch and validation for run-time Python
JSON Schema Draft v7 (http://json-schema.org/) formatting with marshmallow
Polymorphic serializers for Django REST Framework.
JSON Merge Patch library (https://tools.ietf.org/html/rfc7386)
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.
Union fields for marshmallow.
Python library for extract property from data.
Standardized and easy-to-parse API error responses for DRF.
Handlebars template engine for composing LLM prompts, built on Pydantic
ShExJSG - Astract Syntax Tree Definition for the ShEx 2.0 language
A package containing a list of free email domains.
The shared semantic layer definitions that dbt-core and MetricFlow use
Tenacious & trustworthy tool calling built on LangGraph.
Dynamically generate pydantic models from JSON schema.