Pydantic Types for Ethereum provides custom Pydantic data types for Ethereum addresses, hex strings, checksums, and more. Current version 0.2.6, actively maintained by ApeWorX, with monthly releases.
pip install eth-pydantic-typesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define a Pydantic model with Ethereum-specific types for validation.
Update imports: `from eth_pydantic_types import AddressType`.
Add custom validators for hex length if needed.
Run `pip install eth-pydantic-types` and ensure you're using the correct Python environment.
Change to `from eth_pydantic_types import AddressType`.
No dependency data recorded yet.