verify-email
verify-email can verify the email by efficiently checking the domain name and pinging the handler to verify its existence.
Features
- Syntax checks
- MX(Mail Exchange records) verification
- Handler verification
- Cache domain lookups (For multiple emails)
- Multithread support (look in usage.py)
- Multiprocess efficient (look in fast_verify.py)
Compatibility
- It is written in Python 2.7.
- Not tested in python3.X.
- It should work on Linux, Mac and Windows.
Installation
From pypi.org
$ pip install verify-email
From source code
$ git clone https://github.com/kakshay21/verify_email
$ cd verify_email
$ virtualenv env
$ source env/bin/activate
$ python setup.py develop
Usage
For single email
>>> from verify_email.verify_email import validate_email
>>> validate_email("foo@bar.com", mass=False)
False
For multiple emails
>>> emails = ["foo@bar.com", "example@foo.com"]
>>> validate_email(emails, mass=True)
[False, False]
Multithreaded Version (Single/Multiple emails)
>>> from verify_email.verify_email import fast_validate_email
>>> fast_validate_email("foo@bar.com", mass=False)
False
see for more details usage.py
Contribute
- Issue Tracker: https://github.com/kakshay21/verify_email/issues
- Source Code: https://github.com/kakshay21/verify_email
Support
If you are having issues, please create an issue for it.
Release files for verify-email 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| verify_email-2.2.0.macosx-10.13-x86_64.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| verify_email-2.2.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.3 kB
Release files / verify_email-2.2.0.macosx-10.13-x86_64.tar.gz
| Download URL | verify_email-2.2.0.macosx-10.13-x86_64.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
216cfff78ba9dc750c4c6f9cfe41cb5bb6f1a0de3ff859ffd46e58496ee93dac
|
|
BLAKE2b-256 checksum How to use checksums |
b89a72bf39cce34118fe2d1a04e28bbfe7dcfd882d3c33d347114653b9d10530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / verify_email-2.2.0-py2-none-any.whl
| Download URL | verify_email-2.2.0-py2-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1e862261d2f1dac30331384f1e2609ff3779900cbd3473863b365ee61cc55427
|
|
BLAKE2b-256 checksum How to use checksums |
c406e38cdf8a295e68a10616f0723028276e964b0879d9a5b7edb0a3e015e254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |