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.

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.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

pwvalid-0.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file pwvalid-0.3.tar.gz.

File metadata

  • Download URL: pwvalid-0.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for pwvalid-0.3.tar.gz
Algorithm Hash digest
SHA256 5c47a668ad393911412bcebe7071dce523377e42f6e4c25ea3d07ec70bc76117
MD5 20f8bbf1c94fd65610dcbd51f3b8f55c
BLAKE2b-256 056701caf517cd620169f6afa243610d2979786b51aacfba236cac904d0f33ec

See more details on using hashes here.

File details

Details for the file pwvalid-0.3-py3-none-any.whl.

File metadata

  • Download URL: pwvalid-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for pwvalid-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 147f970a6505f7a952b1bbd017a80a621834ba58efc55b3125c5959de91ea18b
MD5 bee976247b725ddc25e00350501f780c
BLAKE2b-256 cb5ff7f55b346c556434e7ad0e97a3c33534fc967442ae658f3ea6063d7aecc3

See more details on using hashes here.

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