Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Super simple and/or basic email validator without using external libraries (i.e. just python std functions)

Project description

Basic Email Validator (bemval)

Super simple and/or basic email validator without using external libraries (i.e. just python std functions)

Installation

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('is.this-an@email.com')

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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page