Socket
Socket
Sign inDemoInstall

pwvalid

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pwvalid

Validate Emails with ease


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc