Pydantic

E97057

Pydantic is a Python library for data validation and settings management that uses type hints to parse, validate, and serialize data.

Aliases (1)

Statements (51)
Predicate Object
instanceOf Python library
data validation library
settings management library
designGoal enable easy data serialization
leverage Python type hints for validation
provide clear error messages
license MIT License
programmingLanguage Python
repositoryPlatform GitHub
supports BaseModel
JSON Schema generation
JSON serialization
ORM mode
Optional types
Union types
alias for fields
custom data types
custom encoders
custom validators
data deserialization
data parsing
data serialization
data validation
dataclasses integration
default values
environment-based configuration
error reporting
field constraints
field validators
model configuration
model copying
model inheritance
model re-validation
model serialization to JSON
model serialization to dict
nested models
root validators
runtime type checking
schema generation
settings classes
settings management
strict mode
type coercion
typing.Annotated
validators
validators via decorators
typicalUseCase API request and response validation
configuration management
data ingestion pipelines
modeling domain objects
uses Python type hints

Referenced by (2)
Subject (surface form when different) Predicate
PEP 695 ("Python typing ecosystem")
belongsTo
FastAPI
uses

Please wait…