Validation of the email or international or local telephone number
Project description
PHONE & EMAIL Verifier V0.0.3
Description
Validation of the email or international or local telephone number.
Install
If you install with
pip install phone_email_verifier
1 : Download here https://github.com/Bogro/phone_email_verifier/blob/develop/phone_email_verifier/code.txt and drop it at the root of your project.
2 : Add the phone code dictionary path in the .env of your project.
#.env
DICT_CODE="dict_name.txt"
Note: This file is important for checking phone numbers
For direct downloads on github you do not need to follow the process above
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e0292030463aeb653ee637f54391f5df1de19c259e730b14b73df7360d9994 |
|
MD5 | 2d89119e7f2e67035465937f414b7829 |
|
BLAKE2b-256 | 25f9e09deb73367f3fc5d9e3b35a23c914b050f0cee498e61e9bcd20a4db09c0 |
Close
Hashes for phone_email_verifier-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a315d523dad6cddec0b20708b6369036e1194a9ff2274200583137a5cb5010 |
|
MD5 | 48b7582944124276673f17021d8bdf8f |
|
BLAKE2b-256 | b16e730b26e6e93373fc015c6246bd0d1351c8a9efdc19ca92ea3da556f0d982 |