pyIsEmail
Simple, robust email validation
What it is and what it does
pyIsEmail is a Python library for validating email addresses without relying on fragile regular expressions. It implements RFC-based parsing to check whether an email address conforms to valid syntax, and can optionally verify that the domain has valid DNS MX records—a strong signal that mail can be delivered there. The library also supports restricting validation to generic top-level domains and provides diagnostic output explaining why an address fails validation.
The package depends only on dnspython for DNS lookups and installs with minimal friction. It is marked Production/Stable and supports Python 3.7 through 3.10, but has been abandoned since October 2022 with no active maintenance. For straightforward email validation tasks where you need RFC compliance and optional DNS verification, it remains functional; however, you should be aware that no updates will be made for new Python versions or evolving email standards.
Use it for:
- Validate user-supplied email addresses during account registration or form submission to catch typos and malformed addresses before storing them.
- Filter or sort emails using address tagging (e.g., user+tag@domain.com) to organize incoming messages by source or purpose.
- Verify that a domain can receive mail by checking MX records before sending transactional emails to a new address.
- Reject email addresses with non-generic top-level domains if your application requires standard gTLDs only.
- Provide diagnostic feedback to users about why their email address failed validation, improving form UX.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Validates email addresses against RFC standards and optionally checks DNS records to confirm the domain can receive mail.
Yes, if you need straightforward RFC-compliant email validation with optional DNS checking and can accept that the package is no longer maintained. The code is stable and works on current Python versions, but do not expect bug fixes or support for future Python releases. For new projects, consider whether an actively maintained alternative better fits your risk tolerance.
Install
pyisemail on PyPI
pip
pip install pyisemailuv
uv add pyisemailpoetry
poetry add pyisemailInstalling pyIsEmail
Before you install
Low install friction with a single runtime dependency (dnspython). However, the package is abandoned—last release was 2022-10-25 and no commits since then. It remains marked Production/Stable and supports current Python versions (3.7+), but expect no maintenance for new issues or Python versions.
License in practice
MIT license (permissive). You can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pyIsEmail
from pyisemail import is_email
address = "test@example.com"
bool_result = is_email(address)
detailed_result = is_email(address, diagnose=True)
bool_with_dns = is_email(address, check_dns=True)
Requires Python 3.7 or later. DNS checking (check_dns=True) requires dnspython and network access to perform MX record lookups.
Verify before relying
- Whether the RFC standard implementation remains current with evolving email specifications.
- Performance characteristics when validating large batches of addresses with DNS checking enabled.
- Compatibility with recent Python 3.10+ releases beyond the stated classifier support.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — dnspython |
| Maintenance | abandoned — 1,389 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,103/month — #14,381 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyisemail-2.0.1-py3-none-any.whl
Keywords: email, validation
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
email-validatorValidates email address syntax and optionally…
permissive · top 1,000 on PyPI
validate_emailValidates email addresses for proper format and…
copyleft · top 15,000 on PyPI
email-normalizeNormalizes email addresses by detecting the…
permissive · top 15,000 on PyPI
free-email-domainsProvides a curated list of free email domains…
permissive · top 5,000 on PyPI
fqdnValidates fully-qualified domain names (FQDNs)…
copyleft · top 1,000 on PyPI
emvalValidates email addresses according to RFC 5322…
permissive · top 15,000 on PyPI
disposable-email-domainsProvides a Python set of known disposable email…
permissive · top 5,000 on PyPI
checkdmarcValidates SPF, DMARC, BIMI, MTA-STS, and…
permissive · top 15,000 on PyPI
dkimpyImplements DKIM (DomainKeys Identified Mail)…
permissive · top 5,000 on PyPI
zerobouncesdkPython SDK for the ZeroBounce email validation…
permissive · top 15,000 on PyPI