Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bemval-0.0.7.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bemval-0.0.7-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file bemval-0.0.7.tar.gz.

File metadata

  • Download URL: bemval-0.0.7.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.7

File hashes

Hashes for bemval-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e4e21c9bb7e1847e560b956ab9e712301335804d8a798cfdd0deaf84197ac1d4
MD5 a9ebbd8d9af27081ee27879677526fd9
BLAKE2b-256 eb55c99ea4a91f9049540070bd2ac6b041f5344b16ac56282e86aa3f41c66d5c

See more details on using hashes here.

File details

Details for the file bemval-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: bemval-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.7

File hashes

Hashes for bemval-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f40c3e045c70b053d84c3e9418118645a280a9cd642dea814d5da77c5595c475
MD5 acdd6074938df2966df344c5acb65843
BLAKE2b-256 fe28e7eca5f6b621d25d19076af85c86ce3c6c55f2b9f66e482265f7ca30dcc6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page