Pydantic

GPTKB entity

Statements (28)
Predicate Object
gptkbp:instanceOf Python library
gptkbp:archives https://github.com/samuelcolvin/pydantic
gptkbp:compatibleWith Django
Flask
FastAPI
gptkbp:dependency typing
dataclasses
gptkbp:developedBy Samuel_Colvin
gptkbp:examples user.dict()
class_User(BaseModel):_name:_str;_age:_int
from_pydantic_import_BaseModel
user_=_User(name='John',_age=30)
gptkbp:features custom validators
JSON schema generation
automatic data validation
model inheritance
settings management with environment variables
gptkbp:hasVersion 1.10.2
gptkbp:historicalSignificance https://pydantic-docs.helpmanual.io/
https://www.w3.org/2000/01/rdf-schema#label Pydantic
gptkbp:language Python
gptkbp:license MIT License
gptkbp:releaseDate 2018
gptkbp:supports data classes
type annotations
gptkbp:usedFor data validation
data parsing
settings management