Skip to content
Pydantic
Phone Numbers
Initializing search
pydantic/pydantic
Get Started
Concepts
API Documentation
Examples
Error Messages
Integrations
Blog
Pydantic
pydantic/pydantic
Get Started
Get Started
Welcome to Pydantic
Why use Pydantic
Help with Pydantic
Installation
Migration Guide
Version Policy
Contributing
Changelog
Concepts
Concepts
Models
Fields
JSON Schema
Types
Alias
Configuration
Serialization
Validators
Dataclasses
Postponed Annotations
Strict Mode
Validation Decorator
Conversion Table
Settings Management
Performance
Pydantic Plugins
API Documentation
API Documentation
Pydantic
Pydantic
BaseModel
RootModel
Pydantic Dataclasses
TypeAdapter
Validation Decorator
Fields
Configuration
JSON Schema
Errors
Functional Validators
Functional Serializers
Standard Library Types
Pydantic Types
Network Types
Version Information
Pydantic Plugins
Annotated Handlers
Pydantic Core
Pydantic Core
pydantic_core
pydantic_core.core_schema
Pydantic Settings
Pydantic Extra Types
Pydantic Extra Types
Color
Country
Payment
Phone Numbers
Phone Numbers
Page contents
pydantic_extra_types.phone_numbers
PhoneNumber
Routing Numbers
Coordinate
Mac Address
Examples
Examples
Secrets
Error Messages
Error Messages
Error Handling
Validation Errors
Usage Errors
Integrations
Integrations
Mypy
PyCharm
Hypothesis
Visual Studio Code
datamodel-code-generator
devtools
Rich
Blog
Blog
Pydantic V2 Is Here!
Pydantic V2 Pre Release
Pydantic V2 Plan
Page contents
pydantic_extra_types.phone_numbers
PhoneNumber
Phone Numbers
PhoneNumber
¶
Bases:
str
An international phone number