Package python3-email-validator
A robust email syntax and deliverability validation library
https://github.com/JoshData/python-email-validator
This library validates that a string is of the form name@example.com and optionally checks that the domain name is set up to receive email. This is the sort of validation you would want when you are identifying users by their email address like on a registration/login form (but not necessarily for composing an email message). Key features: • Checks that an email address has the correct syntax – great for email-based registration/login forms or validating data. • Gives friendly English error messages when validation fails that you can display to end-users. • Checks deliverability (optional): Does the domain name resolve? (You can override the default DNS resolver to add query caching.) • Supports internationalized domain names and internationalized local parts. • Rejects addresses with unsafe Unicode characters, obsolete email address syntax that you’d find unexpected, special use domain names like @localhost, and domains without a dot by default. This is an opinionated library! • Normalizes email addresses (important for internationalized and quoted-string addresses!) • Python type annotations are used.
Version: 2.2.0
General Commands | |
email_validator | email_validator – Validate email addresses |