A small package for email verification
Project description
verify-email
verify-email
can verify any email address by efficiently checking the domain name and pinging the handler to verify its existence.
Features
- Syntax checks
- MX(Mail Exchange records) verification
- Email Handler verification
- Caching domain lookups to improve performance
- Supports
asyncio
for concurrency - For
multiprocessing
usage, see fast_verify.py).
Compatibility
- Written in Python 3.7.
- Supports Python 3.7+.
- 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
>>> from verify_email import verify_email
>>> verify_email('foo@bar.com')
False
>>> verify_email(['foo@bar.com', 'example@foo.com'])
[False, False]
Also, note that some emails will likely fail in validation, if so you can check the reason of failure using debug flag.
>>> from verify_email import verify_email
>>> verify_email('foo@bar.com', debug=True)
see for more examples examples.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. And feel free to contribute as well 😄.
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
verify_email-2.4.3.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for verify_email-2.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6c43060f6d4121be98d2ed94b64164772dba65c91ac93bc3650239349ded577 |
|
MD5 | a03664c685001bd29ceddd7122da36cc |
|
BLAKE2b-256 | c189a126dd635b9ce690ed1f3c97322a2c7167c1d05f10761529a27647479a5e |