Metadata-Version: 2.1
Name: bemval
Version: 0.0.6
Summary: Easily validate emails
Home-page: https://github.com/jahirfiquitiva/bemval
Author: Sebastian Mayorga - Jahir Fiquitiva
Author-email: hi@jahir.xyz
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown

# Basic Email Validator (bemval)

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

## Installation

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

## How to use

```python
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))

```

