skillfed

pyIsEmail

Simple, robust email validation

pyisemail v2.0.1 79.1K downloads/30d#14,381 on PyPI135
Permissive license Abandoned released

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 pyisemail

uv

uv add pyisemail

poetry

poetry add pyisemail

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Communications :: EmailTopic :: Software Development :: Libraries :: Python Modules

Tags

email validationemail address checkerRFC email formatDNS MX record lookupemail domain verificationemail syntax validatoremail address parser
email-validationdns-verificationabandoned

More Python Modules packages