Skip to content

pydantic/pydantic-extra-types

Repository files navigation

Pydantic Extra Types

CI Coverage pypi license

A place for pydantic types that probably shouldn't exist in the main pydantic lib.

See pydantic/pydantic#5012 for more info.

Installation

Install this library with the desired extras dependencies as listed in project.optional-dependencies.

For example, if pendulum support was desired:

# via uv
$ uv add "pydantic-extra-types[pendulum]"

# via pip
$ pip install -U "pydantic-extra-types[pendulum]"