Codebase list python-emailahoy3 / fac6fdc
New upstream snapshot. Kali Janitor 1 year, 6 months ago
7 changed file(s) with 195 addition(s) and 162 deletion(s). Raw diff Collapse all Expand all
0 Copyright © Val Neekman ([Neekware Inc.](http://neekware.com)) [ [email protected], [@vneekman](https://twitter.com/vneekman) ]
1
2 All rights reserved.
3
4 Redistribution and use in source and binary forms, with or without modification,
5 are permitted provided that the following conditions are met:
6
7 1. Redistributions of source code must retain the above copyright notice,
8 this list of conditions and the following disclaimer.
9
10 2. Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the distribution.
13
14 3. Neither the name of this project nor the names of its contributors may be
15 used to endorse or promote products derived from this software without
16 specific prior written permission.
17
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
55 Author: Val Neekman and Félix Brezo
66 Author-email: [email protected]
77 License: BSD
8 Description: Python Email Ahoy 3
9 ====================
10
11 **A Python email utility that verifies existence of an email address**
12
13
14 Overview
15 ========
16
17 A Python email utility that verifies existence of an email address.
18 This package is based on [this](https://github.com/un33k/python-emailahoy) package which only run in Python 2.
19 It has been refactored to work in Python 3.
20
21 How to install
22 ==================
23
24 Use Pip (note that it works only for Python 3.6+ sicne it uses f-strings):
25
26 ```
27 pip3 install python-emailahoy3 --user
28 ```
29
30 How to use
31 =================
32
33 Use the shorthand function for quick check:
34
35 ```
36 from emailahoy3 import verify_email_address
37 status =verify_email_address('[email protected]')
38 print(status)
39 ```
40
41 Codes are defined as follows:
42 - `1`. The email exists.
43 - `0`. The email does not exist.
44 - `-1`. The existence of the email could not be verified.
45
46 You can also use the class for more control & more granular return status:
47
48 ```
49 from emailahoy3 import VerifyEmail
50 e = VerifyEmail()
51 status = e.verify_email_smtp(
52 email='[email protected]',
53 from_host='mydomain.com',
54 from_email='[email protected]'
55 )
56 if e.was_found(status):
57 print >> sys.stderr, "Found:", status
58 elif e.not_found(status):
59 print >> sys.stderr, "Not Found:", status
60 else:
61 print >> sys.stderr, "Unverifiable:", status
62 ```
63
64
65
66 Notes
67 =================
68
69 1. Not all email servers will return the correct status
70 2. Checking an invalid email address returns within 1 second
71 3. Checking a valid email address returns within 4 seconds or more
72
73 Running the tests
74 =================
75
76 To run the tests against the current environment:
77
78 ```
79 python3 -m unittest discover
80 ```
81
82 License
83 ====================
84
85 Released under a ([BSD](LICENSE.md)) license.
86
87 Platform: UNKNOWN
888 Classifier: Development Status :: 3 - Alpha
899 Classifier: Intended Audience :: Developers
9010 Classifier: License :: OSI Approved :: BSD License
9313 Classifier: Topic :: Software Development :: Libraries :: Python Modules
9414 Classifier: Topic :: Communications :: Email
9515 Description-Content-Type: text/markdown
16 License-File: LICENSE.md
17
18 Python Email Ahoy 3
19 ====================
20
21 **A Python email utility that verifies existence of an email address**
22
23
24 Overview
25 ========
26
27 A Python email utility that verifies existence of an email address.
28 This package is based on [this](https://github.com/un33k/python-emailahoy) package which only run in Python 2.
29 It has been refactored to work in Python 3.
30
31 How to install
32 ==================
33
34 Use Pip (note that it works only for Python 3.6+ sicne it uses f-strings):
35
36 ```
37 pip3 install python-emailahoy3 --user
38 ```
39
40 How to use
41 =================
42
43 Use the shorthand function for quick check:
44
45 ```
46 from emailahoy3 import verify_email_address
47 status =verify_email_address('[email protected]')
48 print(status)
49 ```
50
51 Codes are defined as follows:
52 - `1`. The email exists.
53 - `0`. The email does not exist.
54 - `-1`. The existence of the email could not be verified.
55
56 You can also use the class for more control & more granular return status:
57
58 ```
59 from emailahoy3 import VerifyEmail
60 e = VerifyEmail()
61 status = e.verify_email_smtp(
62 email='[email protected]',
63 from_host='mydomain.com',
64 from_email='[email protected]'
65 )
66 if e.was_found(status):
67 print >> sys.stderr, "Found:", status
68 elif e.not_found(status):
69 print >> sys.stderr, "Not Found:", status
70 else:
71 print >> sys.stderr, "Unverifiable:", status
72 ```
73
74
75
76 Notes
77 =================
78
79 1. Not all email servers will return the correct status
80 2. Checking an invalid email address returns within 1 second
81 3. Checking a valid email address returns within 4 seconds or more
82
83 Running the tests
84 =================
85
86 To run the tests against the current environment:
87
88 ```
89 python3 -m unittest discover
90 ```
91
92 License
93 ====================
94
95 Released under a ([BSD](LICENSE.md)) license.
0 python-emailahoy3 (0.1.3+git20190615.1.07db6ca-0kali1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Kali Janitor <[email protected]> Thu, 17 Nov 2022 00:31:30 -0000
5
06 python-emailahoy3 (0.1.3-0kali1) kali-dev; urgency=medium
17
28 * Initial release
emailahoy3/__pycache__/__init__.cpython-37.pyc less more
Binary diff not shown
emailahoy3/__pycache__/exceptions.cpython-37.pyc less more
Binary diff not shown
55 Author: Val Neekman and Félix Brezo
66 Author-email: [email protected]
77 License: BSD
8 Description: Python Email Ahoy 3
9 ====================
10
11 **A Python email utility that verifies existence of an email address**
12
13
14 Overview
15 ========
16
17 A Python email utility that verifies existence of an email address.
18 This package is based on [this](https://github.com/un33k/python-emailahoy) package which only run in Python 2.
19 It has been refactored to work in Python 3.
20
21 How to install
22 ==================
23
24 Use Pip (note that it works only for Python 3.6+ sicne it uses f-strings):
25
26 ```
27 pip3 install python-emailahoy3 --user
28 ```
29
30 How to use
31 =================
32
33 Use the shorthand function for quick check:
34
35 ```
36 from emailahoy3 import verify_email_address
37 status =verify_email_address('[email protected]')
38 print(status)
39 ```
40
41 Codes are defined as follows:
42 - `1`. The email exists.
43 - `0`. The email does not exist.
44 - `-1`. The existence of the email could not be verified.
45
46 You can also use the class for more control & more granular return status:
47
48 ```
49 from emailahoy3 import VerifyEmail
50 e = VerifyEmail()
51 status = e.verify_email_smtp(
52 email='[email protected]',
53 from_host='mydomain.com',
54 from_email='[email protected]'
55 )
56 if e.was_found(status):
57 print >> sys.stderr, "Found:", status
58 elif e.not_found(status):
59 print >> sys.stderr, "Not Found:", status
60 else:
61 print >> sys.stderr, "Unverifiable:", status
62 ```
63
64
65
66 Notes
67 =================
68
69 1. Not all email servers will return the correct status
70 2. Checking an invalid email address returns within 1 second
71 3. Checking a valid email address returns within 4 seconds or more
72
73 Running the tests
74 =================
75
76 To run the tests against the current environment:
77
78 ```
79 python3 -m unittest discover
80 ```
81
82 License
83 ====================
84
85 Released under a ([BSD](LICENSE.md)) license.
86
87 Platform: UNKNOWN
888 Classifier: Development Status :: 3 - Alpha
899 Classifier: Intended Audience :: Developers
9010 Classifier: License :: OSI Approved :: BSD License
9313 Classifier: Topic :: Software Development :: Libraries :: Python Modules
9414 Classifier: Topic :: Communications :: Email
9515 Description-Content-Type: text/markdown
16 License-File: LICENSE.md
17
18 Python Email Ahoy 3
19 ====================
20
21 **A Python email utility that verifies existence of an email address**
22
23
24 Overview
25 ========
26
27 A Python email utility that verifies existence of an email address.
28 This package is based on [this](https://github.com/un33k/python-emailahoy) package which only run in Python 2.
29 It has been refactored to work in Python 3.
30
31 How to install
32 ==================
33
34 Use Pip (note that it works only for Python 3.6+ sicne it uses f-strings):
35
36 ```
37 pip3 install python-emailahoy3 --user
38 ```
39
40 How to use
41 =================
42
43 Use the shorthand function for quick check:
44
45 ```
46 from emailahoy3 import verify_email_address
47 status =verify_email_address('[email protected]')
48 print(status)
49 ```
50
51 Codes are defined as follows:
52 - `1`. The email exists.
53 - `0`. The email does not exist.
54 - `-1`. The existence of the email could not be verified.
55
56 You can also use the class for more control & more granular return status:
57
58 ```
59 from emailahoy3 import VerifyEmail
60 e = VerifyEmail()
61 status = e.verify_email_smtp(
62 email='[email protected]',
63 from_host='mydomain.com',
64 from_email='[email protected]'
65 )
66 if e.was_found(status):
67 print >> sys.stderr, "Found:", status
68 elif e.not_found(status):
69 print >> sys.stderr, "Not Found:", status
70 else:
71 print >> sys.stderr, "Unverifiable:", status
72 ```
73
74
75
76 Notes
77 =================
78
79 1. Not all email servers will return the correct status
80 2. Checking an invalid email address returns within 1 second
81 3. Checking a valid email address returns within 4 seconds or more
82
83 Running the tests
84 =================
85
86 To run the tests against the current environment:
87
88 ```
89 python3 -m unittest discover
90 ```
91
92 License
93 ====================
94
95 Released under a ([BSD](LICENSE.md)) license.
0 LICENSE.md
01 README.md
12 setup.py
23 emailahoy3/__init__.py
34 emailahoy3/email.py
45 emailahoy3/exceptions.py
5 emailahoy3/__pycache__/__init__.cpython-37.pyc
6 emailahoy3/__pycache__/exceptions.cpython-37.pyc
76 python_emailahoy3.egg-info/PKG-INFO
87 python_emailahoy3.egg-info/SOURCES.txt
98 python_emailahoy3.egg-info/dependency_links.txt