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
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
Built Distribution
File details
Details for the file pwvalid-0.4.tar.gz
.
File metadata
- Download URL: pwvalid-0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4009346cb123895db63f4ece7fa88187cc8f6b93c55c3dfc307ba82276b4d58 |
|
MD5 | 739794aa22751119633ab1eb0166e755 |
|
BLAKE2b-256 | abf8c52846710b3f5205a5d80d55e4edc13d4dbe4211b7914ed945f09807c465 |
File details
Details for the file pwvalid-0.4-py3-none-any.whl
.
File metadata
- Download URL: pwvalid-0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5087f2602259da3c527d1b53ae24b84272e23396b9157edccc0f956c2e938c |
|
MD5 | 4d30cef8a7c002308b446a447fb410a2 |
|
BLAKE2b-256 | d10f347d66c059c54cae6b53d153781a705677525cd68ff293f308d246fbca83 |