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.

Files for py-validate-email, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size py_validate_email-1.0.2-py2-none-any.whl (7.4 kB) File type Wheel Python version py2 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page