Skip to main content

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

Support

If you are having issues, please create an issue for it. And feel free to contribute as well 😄.

Release files for verify-email 2.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verify-email 2.4.3
File Size Uploaded
verify_email-2.4.3.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for verify-email 2.4.3
File Interpreter ABI Platform
verify_email-2.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / verify_email-2.4.3.tar.gz

Download URL verify_email-2.4.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
133d31b467add344fc5bd4df5d57111698c67b8406368b29de4bbff20bb95c11
BLAKE2b-256 checksum
How to use checksums
8aa8b62d8c747ace8ba1b52b199f031c616c34eda907f530e3504038246d60ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / verify_email-2.4.3-py3-none-any.whl

Download URL verify_email-2.4.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c43060f6d4121be98d2ed94b64164772dba65c91ac93bc3650239349ded577
BLAKE2b-256 checksum
How to use checksums
c189a126dd635b9ce690ed1f3c97322a2c7167c1d05f10761529a27647479a5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

2.4.3 This release

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.2.0

2 release files

2.0.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page