email-validator 2.0.0.dev2__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
 
File without changes
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: email-validator
3
- Version: 2.0.0.dev2
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
7
7
  Author-email: jt@occams.info
8
8
  License: CC0 (copyright waived)
9
9
  Keywords: email address validator
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 5 - Production/Stable
12
11
  Classifier: Intended Audience :: Developers
13
12
  Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
@@ -450,5 +449,3 @@ git push --tags
450
449
 
451
450
  Notes: The wheel is specified as universal in the file `setup.cfg` by the `universal = 1` key in the
452
451
  `[bdist_wheel]` section.
453
-
454
-
@@ -0,0 +1,14 @@
1
+ email_validator/__init__.py,sha256=-Gs0n7DCBGoWFRJz_pKoBvIdhJZOonKFCswtPXasT6E,4133
2
+ email_validator/__main__.py,sha256=S9vY7-TQ1iVsW-bRIXRGl2JKT-2aRtAwE6hc-kYfzgk,1516
3
+ email_validator/deliverability.py,sha256=wNcSvP4wJTuE5JmtSd56X8Nln1DkZ40RRsqBDobevQ0,5749
4
+ email_validator/exceptions_types.py,sha256=fc-XFD9NsPQLhp3zJDO6IOCG-7dqSpkPNGKqEG56Sdc,4835
5
+ email_validator/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ email_validator/rfc_constants.py,sha256=bEQky-cBf_wWMReAsA86c5zpoOcU-Y1gGHZEJAcohKc,1802
7
+ email_validator/syntax.py,sha256=UgltlJ2IKxJehFc5w3fUfy9-Ndgm-in5eik81vfUuFs,17571
8
+ email_validator/validate_email.py,sha256=49_lOGLg_fC2DKiSidYEkPpUIx3CySiKM_6jRdoUNl0,6201
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,,
@@ -1,3 +1,2 @@
1
1
  [console_scripts]
2
2
  email_validator = email_validator:main
3
-
@@ -1,13 +0,0 @@
1
- email_validator/__init__.py,sha256=piJ6OIPSyuMjJz9fiMvtj6XtrTWAUEeSDh_DxCFB6jc,3887
2
- email_validator/__main__.py,sha256=S9vY7-TQ1iVsW-bRIXRGl2JKT-2aRtAwE6hc-kYfzgk,1516
3
- email_validator/deliverability.py,sha256=wNcSvP4wJTuE5JmtSd56X8Nln1DkZ40RRsqBDobevQ0,5749
4
- email_validator/exceptions_types.py,sha256=UXLzUUTS7kdOqCC0VQp2Hl74oQzgnOLAAkv7mR70nFE,4992
5
- email_validator/rfc_constants.py,sha256=bEQky-cBf_wWMReAsA86c5zpoOcU-Y1gGHZEJAcohKc,1802
6
- email_validator/syntax.py,sha256=UgltlJ2IKxJehFc5w3fUfy9-Ndgm-in5eik81vfUuFs,17571
7
- email_validator/validate_email.py,sha256=49_lOGLg_fC2DKiSidYEkPpUIx3CySiKM_6jRdoUNl0,6201
8
- email_validator-2.0.0.dev2.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
9
- email_validator-2.0.0.dev2.dist-info/METADATA,sha256=L5SYqe40wbR26emRHLoF0sX5DMAIko5CCSaITOm1nl0,22900
10
- email_validator-2.0.0.dev2.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
11
- email_validator-2.0.0.dev2.dist-info/entry_points.txt,sha256=wNs-98c7HUZ5a3_v6wkTha-8tSFn_QF1wzkLjRfaaMI,58
12
- email_validator-2.0.0.dev2.dist-info/top_level.txt,sha256=fYDOSWFZke46ut7WqdOAJjjhlpPYAaOwOwIsh3s8oWI,16
13
- email_validator-2.0.0.dev2.dist-info/RECORD,,