Registry / communication / py3-validate-email

py3-validate-email

JSON →
library1.0.5.post2pypypi✓ verified 86d ago

Email validator that uses regex pattern, blacklisted domain check, and optional SMTP verification to confirm deliverability. Current version 1.0.5.post2. Released sporadically; last release in 2021.

pip install py3-validate-email
INSTALL
IMPORT
SIG · PY3-VALIDATE-EMAIL
P
py3-validate-email
communicationpythonv1.0.5.post2
Install
1.9s avg
Import
510ms
Disk
20MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.5.post2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.550s · 21.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.9s · import 0.470s · 22MB
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

validate_email
from validate_email import validate_email
from py3_validate_email import validate_email
Package name differs from import module

Basic usage with default settings (only regex check).

from validate_email import validate_email is_valid = validate_email('test@example.com') print(is_valid)
Debug
Known issues
gotchaThe import module is 'validate_email', not 'py3_validate_email'.
fix
Use 'from validate_email import validate_email'.
affects: all
deprecatedThe function signature changed in 1.0.0: default is now regex-only, no SMTP check.
fix
Enable SMTP check by passing smtp_check=True.
affects: >=1.0.0
gotchaIf you omit smtp_check, SMTP verification is disabled even if you provide a from_domain.
fix
Always pass smtp_check=True if you want SMTP verification.
affects: >=1.0.0
gotchaFalse negative possible: Some valid emails may fail SMTP check due to temporary server issues.
fix
Use SMTP check as a hint, not a definitive test; implement retries.
affects: all
Errors
Common errors & fixes
ImportError: No module named 'py3_validate_email'
Misimporting due to package name vs module name mismatch.
fix
Run: pip install py3-validate-email  then use: from validate_email import validate_email
TypeError: validate_email() missing 1 required positional argument: 'email_address'
Calling validate_email() without arguments in older versions or incorrect signature.
fix
Use: validate_email('user@example.com')
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted')
SMTP check with invalid credentials for from_domain.
fix
Provide valid from_domain and credentials for SMTP check, or disable smtp_check.
Upgrade
Version history
1.0.5.post2latest on PyPI · released Jun 1, 2024
Audit
Dependencies
dnspythonoptionalUsed for SMTP checking
Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
py3-validate-email — pip install py3-validate-email · libregistry