Skip to main content

A Python port to validate disposable emails

Project description

ValidateEmail

Build Status License: MIT

Validate if an email is a disposable email.

from py_validate_email import is_valid_email

def register(email, password):
    if not is_valid_email(email):
        raise ValueError('Cannot register email with invalid email')

Contributing

Pull requests welcome

  1. Fork the repository

  2. Create a new branch

  3. Make the necessary changes including your tests

  4. Lint your code via make lint

  5. Check the coverage report via make test

  6. Create a Pull Request

Acknowledgements

Email list was sourced from hallelujah/valid_email, licensed under MIT.

License

Reference

Change Log

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_validate_email-1.0.2-py2-none-any.whl (7.4 kB view details)

Uploaded Python 2

File details

Details for the file py_validate_email-1.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for py_validate_email-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 92dce5a3a03c17ec5f87d8fca473b9045d97e5593dc28107bc92d2e66a59e77c
MD5 a379f5d2bb6b017b06a4f5c807bc5565
BLAKE2b-256 9262d054150f21183d270226b9fcb33b2f41e20edb05f36679bdc8e967fec7d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page