Skip to main content

Easily validate emails

Project description

Basic Email Validator (beval)

This is a super simple and/or basic example of an email validator without using external libraries. Just python std functions


Run the following command in your terminal: pip3 install -U bemval

How to use

from bemval.validator import EmailValidator

validator = EmailValidator()
valid, errors = validator.validate('')

print('Is a valid email? -> %s' % ('YES' if valid else 'NO'))
if len(errors) > 0:
    print('Errors:\n- %s' % '\n- '.join(errors))

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 bemval, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size bemval-0.0.5-py3-none-any.whl (2.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bemval-0.0.5.tar.gz (2.1 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