Skip to main content

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

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.

Files for phone-email-verifier, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size phone_email_verifier-0.0.1-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size phone_email_verifier-0.0.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page