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

Uploaded Python 2

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