This is an email validator to avoid phishing and mistakes made by end-users while typing in forms.
Once installed, you need to import adn call the mixin MailValidatorFormMixin
whenever
you need to check for phishing and mistakes in email addresses.
Here is an usage example in a Django project:
from validator.forms import MailValidatorFormMixin
class HighSchoolForm(MailValidatorFormMixin, forms.ModelForm):
...
Here are the settings to set the maximum number of consonants, vowels and numbers in a row with their default values thah could be overriden:
BRIEFME_VALIDATOR_MAX_CONSONANTS_IN_A_ROW = 5
BRIEFME_VALIDATOR_MAX_VOWELS_IN_A_ROW = 5
BRIEFME_VALIDATOR_MAX_NUMBERS_IN_A_ROW = 8