validate_email-1.3
توضیحات
Validate_email verify if an email address is valid and really exists.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | validate_email-1.3 |
| نام | validate_email |
| نسخه کتابخانه | 1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Syrus Akbary |
| ایمیل نویسنده | me@syrusakbary.com |
| آدرس صفحه اصلی | http://github.com/syrusakbary/validate_email |
| آدرس اینترنتی | https://pypi.org/project/validate_email/ |
| مجوز | LGPL |
==============
Validate_email
==============
Validate_email is a package for Python that check if an email is valid, properly formatted and really exists.
INSTALLATION
============
First, you must do::
pip install validate_email
Extra
------
For check the domain mx and verify email exits you must have the `pyDNS` package installed::
pip install pyDNS
USAGE
=====
Basic usage::
from validate_email import validate_email
is_valid = validate_email('example@example.com')
Checking domain has SMTP Server
-------------------------------
Check if the host has SMTP Server::
from validate_email import validate_email
is_valid = validate_email('example@example.com',check_mx=True)
Verify email exists
-------------------
Check if the host has SMTP Server and the email really exists::
from validate_email import validate_email
is_valid = validate_email('example@example.com',verify=True)
TODOs and BUGS
==============
See: http://github.com/syrusakbary/validate_email/issues
نحوه نصب
نصب پکیج whl validate_email-1.3:
pip install validate_email-1.3.whl
نصب پکیج tar.gz validate_email-1.3:
pip install validate_email-1.3.tar.gz