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.

Built Distribution

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

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page