Validation of the email or international or local telephone number
Project description
PHONE & EMAIL Verifier
Description
Validation of the email or international or local telephone number
Install
pip install phone_email_verifier
Usage
>>> from phone_email_verifier import phone_email_verifier
>>> filter = phone_email_verifier()
E-mail list
email = ['test@mail.tx', 'demo@mail.test', 'e.mail@mailer.com']
>>> filter.set_email_list(email, )
>>> filter.exec()
{'OK': ['test@mail.tx', 'e.mail@mailer.com'], 'ERROR': ['demo@mail.test']}
Phone
Number phone list
#simple use
phone = ['+22547000000', '+225-47-00-00-00', '+225 47 00 00 00 00', '+33 00 25 00 11 00', '47 02 00 00']
>>> filter.set_phone_list(phone)
{'OK': ['+22547000000', '+22547000000', '+2254700000000', '+330025001100'], 'ERROR': ['47020000']}
appartie d'un fichier
#simple use of a contact list
name_list = list_phone.csv
>>> filter.set_phone_in_file(name_list, colum=0) # colum is column of numbers
>>> filter.exec()
{'OK': ['+22547000000', '22547000010'], 'ERROR': ['030020585', '4578', '33024558452', '55552222', '658945898']}
It is important to specify the number column when the file is a csv file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for phone_email_verifier-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d4d56378ac1129f9c4fe6234bfa003785160e0085db70b783c99f762103cd06 |
|
MD5 | 8fd1d78a74bb7551502d1ba530567962 |
|
BLAKE2b-256 | 4adffb6289d081d784048419d8d4f2337126ea32e275bf497b8699fd6e9ca4a6 |
Close
Hashes for phone_email_verifier-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f10ddd400c5b8fc15ca7590c8e0360a5e0e74b9870be8e17be1b9e69de59f2d |
|
MD5 | e3590a5637435dfb60838eaada6fd369 |
|
BLAKE2b-256 | fb4ebbb09fd14a2458a954645249c460eec06f9e27a9a0a12d4d60d0a7cc2c90 |