Skip to content

Installation

Basic

pip install fields-metadata

With Pydantic Support

pip install "fields-metadata[pydantic]"

This installs pydantic>=2.0 and pydantic-extra-types>=2.0.

With uv

uv add fields-metadata
uv add "fields-metadata[pydantic]"   # with Pydantic extras

Requirements

  • Python 3.11+
  • annotated-types~=0.6
  • therismos