# pydantic-extra-types

> Extra Pydantic types.

- **URL**: https://www.freshcrate.ai/projects/pydantic-extra-types
- **Author**: pypi
- **Category**: Frameworks
- **Latest version**: `2.11.1` (2026-04-21)
- **License**: Unknown
- **Source**: https://github.com/pydantic/pydantic-extra-types/releases
- **Homepage**: https://pypi.org/project/pydantic-extra-types/
- **Language**: Python
- **GitHub**: 315 stars, 93 forks
- **Registry**: pypi (`pydantic-extra-types`)
- **Tags**: `pypi`

## Description

# Pydantic Extra Types

[![CI](https://github.com/pydantic/pydantic-extra-types/actions/workflows/ci.yml/badge.svg)](https://github.com/pydantic/pydantic-extra-types/actions/workflows/ci.yml)
[![Coverage](https://codecov.io/gh/pydantic/pydantic-extra-types/branch/main/graph/badge.svg)](https://codecov.io/gh/pydantic/pydantic-extra-types)
[![pypi](https://img.shields.io/pypi/v/pydantic-extra-types.svg)](https://pypi.python.org/pypi/pydantic-extra-types)
[![license](https://img.shields.io/github/license/pydantic/pydantic-extra-types.svg)](https://github.com/pydantic/pydantic-extra-types/blob/main/LICENSE)

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

See [pydantic/pydantic#5012](https://github.com/pydantic/pydantic/issues/5012) for more info.

## Installation

Install this library with the desired extras dependencies as listed in [project.optional-dependencies](./pyproject.toml).

For example, if pendulum support was desired:

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

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

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `2.11.1` | 2026-04-21 | Low | Imported from PyPI (2.11.1) |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |
| `v2.11.2` | 2026-04-05 | Medium | ## What's Changed * fix: accept common timezone abbreviations like EDT in TimeZoneName validator by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/376 * fix: correct ISO 8601 serialization for negative pendulum Duration values by @r266-tech in https://github.com/pydantic/pydantic-extra-types/pull/377 * ⬆ Bump the python-packages group with 3 updates by @dependabot[bot] in https://github.com/pydantic/pydantic-extra-types/pull/378 * fix(python): add missing Pendulum Interv |

## Citation

- HTML: https://www.freshcrate.ai/projects/pydantic-extra-types
- Markdown: https://www.freshcrate.ai/projects/pydantic-extra-types.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/pydantic-extra-types/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
