Email validator with regex and SMTP checking.
Project description
py3-validate-email
py3-validate-email is a package for Python that check if an email is valid, properly formatted and really exists.
This module is for Python 3.6 and above!
INSTALLATION
You can install the package with pip:
pip install py3-validate-email
USAGE
Basic usage:
from validate_email import validate_email is_valid = validate_email(email_address='example@example.com', check_regex=True, check_mx=True, from_address='my@from.addr.ess', helo_host='my.host.name', smtp_timeout=10, use_blacklist=True)
check_regex will check will the email address has a valid structure and defaults to True
check_mx: check the mx-records and check whether the email actually exists
from_address: the email address the probe will be sent from,
helo_host: the host to use in SMTP HELO when checking for an email,
smtp_timeout: seconds until SMTP timeout
use_blacklist: use the blacklist of domains downloaded from https://github.com/martenson/disposable-email-domains
TODOs and BUGS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py3-validate-email-0.1.7.tar.gz.
File metadata
- Download URL: py3-validate-email-0.1.7.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a235fef1e337e82d157a98b8340544ada2b00bae0b661ecd69d22addedeeb6db
|
|
| MD5 |
c07ca5a780b9343bf971065fe44cfcb2
|
|
| BLAKE2b-256 |
565415ac25b9809ceabda64d82ee0172f9e0990e07aee432759768be2a69261a
|
File details
Details for the file py3_validate_email-0.1.7-py3-none-any.whl.
File metadata
- Download URL: py3_validate_email-0.1.7-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10290932b25657c923c1eb22fb55481520e4533dc0462fc17bd4a032b0b5784d
|
|
| MD5 |
c2054de1b261bcbce093484302091d61
|
|
| BLAKE2b-256 |
5226f4e60656015bff44f9b508b5d2ac75e5087318f36f1f627f0c51078182cc
|