Skip to main content

Validate Emails with ease

Project description

PWValid Email Validation

PWValid is a powerful and very simple Python package to validate and check emails. It helps developers tackle spam and disposable emails.

Downloads

Features:

  • Fast Response
  • Very Accurate
  • Easy to Implement
  • No Need to use External APIs
  • No Need for Any API Key

Installation

Pip Command

pip install pwvalid

How to use?

Import pwvalid Package

import pwvalid

InBuilt Functions:

EmailValidate Fuction:

It checks and validates the emails and returns a complete response with all available metrics.

pwvalid.EmailValidate('youremail@gmail.com')

Avaliable Metrics

result = pwvalid.EmailValidate('youremail@gmail.com')
  • email_address : result['email_address'] | Response Type: String
  • domain : result['domain'] | Response Type: String
  • disposables : result['disposable'] | Response Type: Bool
  • webmails : result['webmail'] | Response Type: Bool
  • deliverable : result['deliverable'] | Response Type: Bool
  • valid_syntax : result['valid_syntax'] | Response Type: Bool
  • catch_all : result['catch_all'] | Response Type: Bool
  • gibberish : result['gibberish'] | Response Type: Bool
  • spam : result['spam'] | Response Type: Bool

Example Response:

{
  'email_address': 'kush@gmail.com',
  'domain': 'gmail.com',
  'valid_syntax': True,
  'disposable': False,
  'webmail': True,
  'deliverable': False,
  'catch_all': False,
  'gibberish': False,
  'spam': False
}

isDisposable Fuction:

It checks if an email is disposable or not. It returns a boolean response (True/False).

pwvalid.isDisposable('youremail@gmail.com')

isDeliverable Fuction:

It Checks if an email is Deliverable or not. it returns a Bool response. (True/False)

pwvalid.isDeliverable('youremail@gmail.com')

isSpam Fuction:

It Checks if an email is Spam or not. it returns a Bool response. (True/False)

pwvalid.isSpam('youremail@gmail.com')

Code Examples

import pwvalid 
email = input('Enter Email:')
result = pwvalid.isSpam(email)
print(result)

Support This Project

paypal

coffee

Author

The PWValid Package is created by Vinay Chaudhary. This Project is Powered by Regem Enterprises

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

pwvalid-0.4.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

pwvalid-0.4-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page