email-validator 2.0.0.dev3__py2.py3-none-any.whl → 2.0.0.dev4__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,15 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  # Export the main method, helper methods, and the public data types.
4
- from .exceptions_types import * # noqa: F401,F403
5
- from .validate_email import validate_email # noqa: F401
4
+ from .exceptions_types import ValidatedEmail, EmailNotValidError, \
5
+ EmailSyntaxError, EmailUndeliverableError
6
+ from .validate_email import validate_email
7
+
8
+
9
+ __all__ = ["validate_email",
10
+ "ValidatedEmail", "EmailNotValidError",
11
+ "EmailSyntaxError", "EmailUndeliverableError",
12
+ "caching_resolver"]
6
13
 
7
14
 
8
15
  def caching_resolver(*args, **kwargs):
@@ -63,10 +63,6 @@ class ValidatedEmail(object):
63
63
  for k, v in kwargs.items():
64
64
  setattr(self, k, v)
65
65
 
66
- """As a convenience, str(...) on instances of this class return the normalized address."""
67
- def __self__(self):
68
- return self.normalized_email
69
-
70
66
  def __repr__(self):
71
67
  return f"<ValidatedEmail {self.email}>"
72
68
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: email-validator
3
- Version: 2.0.0.dev3
3
+ Version: 2.0.0.dev4
4
4
  Summary: A robust email address syntax and deliverability validation library.
5
5
  Home-page: https://github.com/JoshData/python-email-validator
6
6
  Author: Joshua Tauberer
@@ -1,14 +1,14 @@
1
- email_validator/__init__.py,sha256=piJ6OIPSyuMjJz9fiMvtj6XtrTWAUEeSDh_DxCFB6jc,3887
1
+ email_validator/__init__.py,sha256=-Gs0n7DCBGoWFRJz_pKoBvIdhJZOonKFCswtPXasT6E,4133
2
2
  email_validator/__main__.py,sha256=S9vY7-TQ1iVsW-bRIXRGl2JKT-2aRtAwE6hc-kYfzgk,1516
3
3
  email_validator/deliverability.py,sha256=wNcSvP4wJTuE5JmtSd56X8Nln1DkZ40RRsqBDobevQ0,5749
4
- email_validator/exceptions_types.py,sha256=UXLzUUTS7kdOqCC0VQp2Hl74oQzgnOLAAkv7mR70nFE,4992
4
+ email_validator/exceptions_types.py,sha256=fc-XFD9NsPQLhp3zJDO6IOCG-7dqSpkPNGKqEG56Sdc,4835
5
5
  email_validator/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  email_validator/rfc_constants.py,sha256=bEQky-cBf_wWMReAsA86c5zpoOcU-Y1gGHZEJAcohKc,1802
7
7
  email_validator/syntax.py,sha256=UgltlJ2IKxJehFc5w3fUfy9-Ndgm-in5eik81vfUuFs,17571
8
8
  email_validator/validate_email.py,sha256=49_lOGLg_fC2DKiSidYEkPpUIx3CySiKM_6jRdoUNl0,6201
9
- email_validator-2.0.0.dev3.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
10
- email_validator-2.0.0.dev3.dist-info/METADATA,sha256=9Cc5wbjc9y9IHUZu3GLUKh6ChgckFQqprQi74s5LO-U,22880
11
- email_validator-2.0.0.dev3.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
12
- email_validator-2.0.0.dev3.dist-info/entry_points.txt,sha256=DiP9magTC_pGdQ7tDRDKP7i3l8-2b8GgwF0APpq8w54,57
13
- email_validator-2.0.0.dev3.dist-info/top_level.txt,sha256=fYDOSWFZke46ut7WqdOAJjjhlpPYAaOwOwIsh3s8oWI,16
14
- email_validator-2.0.0.dev3.dist-info/RECORD,,
9
+ email_validator-2.0.0.dev4.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
10
+ email_validator-2.0.0.dev4.dist-info/METADATA,sha256=VBt7IPupugC-S7XftF9g-7Tl05HXTgdbEWoElTudCn4,22880
11
+ email_validator-2.0.0.dev4.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
12
+ email_validator-2.0.0.dev4.dist-info/entry_points.txt,sha256=DiP9magTC_pGdQ7tDRDKP7i3l8-2b8GgwF0APpq8w54,57
13
+ email_validator-2.0.0.dev4.dist-info/top_level.txt,sha256=fYDOSWFZke46ut7WqdOAJjjhlpPYAaOwOwIsh3s8oWI,16
14
+ email_validator-2.0.0.dev4.dist-info/RECORD,,