--- id: email-validator version: "2.3.0" license: Unlicense license_treatment: permissive maintenance: active --- # email-validator — A robust email address syntax and deliverability validation library. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install email-validator uv add email-validator poetry add email-validator ## Description email-validator: Validate Email Addresses ========================================= A robust email address syntax and deliverability validation library for Python 3.8+ by [Joshua Tauberer](https://joshdata.me). 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 form. 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 (like `@ツ.life`), internationalized local parts (like `ツ@example.com`), and optionally parses display names (e.g. `"My Name" `). * Rejects addresses with invalid or unsafe Unicode characters, obsolete email address syntax that you'd find unexpected, special use domain... ## AI interpretation — verify before relying Validates email address syntax and optionally checks domain deliverability via DNS queries, returning normalized addresses suitable for databases and user-facing error messages. Verdict: Production-ready, actively maintained library with zero known vulnerabilities, permissive licensing, and minimal dependencies. Well-suited for email validation in registration and login workflows; the opinionated design rejects obsolete syntax and unsafe Unicode by default, which is appropriate for modern applications. [View on SkillFed](https://skillfed.io/packages/email-validator) · [View on PyPI](https://pypi.org/project/email-validator/)