A small package for email verification
Project description
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
- Multithread support (look in usage.py)
- Multiprocess efficient (not recommended but have a look in fast_verify.py)
Compatibility
- It is written in Python 2.7.
- Works on 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]
Multithreaded
>>> from verify_email import fast_verify_email
>>> fast_validate_email(["foo@bar.com",
"bar@bar.com", "foo@foo.com", "bar@foo.com"])
[False, False, False, False]
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.
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.3.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for verify_email-2.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48affaac15cfc28092e1a0ef9082cf893db82d7b9b6c2cca370e296f115a5b3 |
|
MD5 | 1a38b13fcd2d55437cac58d117eb9bdc |
|
BLAKE2b-256 | 525b5710b02b8e9b51f686b01c1d444e710aa498b715d937aed348896fd8626f |