Pydantic Extra Types

repository·main·Indexed 43 days ago

https://github.com/pydantic/pydantic-extra-types

A collection of specialized Pydantic types maintained outside of the core Pydantic library to keep the main package lightweight.

Tokens
158
Snippets
1
Records
1
Agent score
6%

What's inside Pydantic Extra Types

  1. Install pydantic-extra-types

    main

    Install 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]"