Install pydantic-extra-types
mainInstall pydantic-extra-types using your preferred package manager. This library provides additional Pydantic types that are maintained separately from the core Pydantic library.
Note that you should install the specific extras dependencies required for the types you intend to use (e.g., pendulum for pendulum-based types) as defined in the project's optional dependencies.
# via uv
$ uv add "pydantic-extra-types[pendulum]"
# via pip
$ pip install -U "pydantic-extra-types[pendulum]"