$npx skillfedfor your agent

pydantic-extra-types

Extra Pydantic types.

Worth itPyPI Python ModulesReleased Mar 202669.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pydantic_extra_types-2.11.1-py3-none-any.whl
v2.11.1 · released 2026-03-16 · Python >=3.9 · 2 runtime deps: pydantic, typing-extensions

Yes. Low install friction, permissive MIT license, active maintenance, zero known vulnerabilities, and tight integration with Pydantic v2 make this a safe, practical choice if you need types beyond Pydantic's standard set. Install only if you actually need one of its specialized types; it's not a general-purpose enhancement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later and pydantic v2 (as indicated by Framework :: Pydantic :: 2 classifier).
  • Low friction install with only two runtime dependencies (pydantic and typing-extensions).
  • Actively maintained as of August 2026 with recent commits; marked Production/Stable.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-03-16 (151 days) · last repo commit 2026-08-02 · 329 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 69,555,564 downloads/mo, #471 on PyPI

Verify before relying

pip install pydantic-extra-types

from pydantic import BaseModel
from pydantic_extra_types import SomeExtraType

class MyModel(BaseModel):
    field: SomeExtraType
  • Which specific extra types are included beyond what the excerpt mentions (pendulum support is shown as an optional extra).
  • Whether optional extras (like pendulum) require additional system dependencies or have their own install friction.
Same gist for agents: .md · .json

What it is and what it does

Pydantic Extra Types is a companion library to Pydantic v2 that houses type validators and serializers deemed too specialized or niche for inclusion in Pydantic itself. It acts as an incubator for domain-specific types that extend Pydantic's validation capabilities without bloating the core library. The package is designed to be lightweight and modular—you install only the extras you need via optional dependencies (e.g., pendulum support for date/time handling).

The library is actively maintained and production-ready, with a small but focused dependency footprint (only pydantic and typing-extensions at runtime). It supports modern Python versions (3.9 through 3.14) and integrates seamlessly into existing Pydantic v2 projects. If you need specialized types beyond Pydantic's standard offerings, this is where to find them without waiting for them to be added to the main library.

Use it for

  • Add domain-specific validators to Pydantic models when the built-in types don't cover your use case.
  • Use optional extras like pendulum for enhanced date/time handling in Pydantic schemas.
  • Extend Pydantic v2 projects with niche types without forking or maintaining custom validators.
  • Prototype new type validators that may eventually graduate to the main Pydantic library.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, permissive MIT license, active maintenance, zero known vulnerabilities, and tight integration with Pydantic v2 make this a safe, practical choice if you need types beyond Pydantic's standard set. Install only if you actually need one of its specialized types; it's not a general-purpose enhancement.

Install

pydantic-extra-types on PyPI

Before you install

Low friction install with only two runtime dependencies (pydantic and typing-extensions). Actively maintained as of August 2026 with recent commits; marked Production/Stable.

Requires Python 3.9 or later and pydantic v2 (as indicated by Framework :: Pydantic :: 2 classifier).

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pydantic-extra-types

from pydantic import BaseModel
from pydantic_extra_types import SomeExtraType

class MyModel(BaseModel):
    field: SomeExtraType

Verify before relying

  • Which specific extra types are included beyond what the excerpt mentions (pendulum support is shown as an optional extra).
  • Whether optional extras (like pendulum) require additional system dependencies or have their own install friction.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pydantictyping-extensions
MaintenanceActively maintained 151 days since the last release
Last repo commit
First released
Downloads69,555,564 / month, #471 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XFramework :: PydanticFramework :: Pydantic :: 2Intended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules

Evidence: pydantic_extra_types-2.11.1-py3-none-any.whl

Tags

Capabilities
pydantic custom typespydantic validatorspydantic extra typesspecialized pydantic typespydantic type extensionsdomain-specific pydantic types
Topics
pydantic-ecosystemtype-validation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pydantic custom types”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also django-pydantic-field · traittypes · drf-pydantic · numpydantic · pydantic-compat · autodoc_pydantic · pydantic_yaml · sigstore-rekor-types · eip712 · dbt-artifacts-parser