IMAPClient 2.0.0__tar.gz → 3.1.0__tar.gz
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.
- imapclient-3.1.0/AUTHORS.rst +49 -0
- imapclient-3.1.0/IMAPClient.egg-info/PKG-INFO +56 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/IMAPClient.egg-info/SOURCES.txt +23 -18
- imapclient-3.1.0/IMAPClient.egg-info/requires.txt +3 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/MANIFEST.in +1 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/NEWS.rst +2 -2
- imapclient-3.1.0/PKG-INFO +56 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/README.rst +13 -40
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_modules/imapclient/exceptions.html +50 -56
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_modules/imapclient/imapclient.html +803 -398
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_modules/imapclient/response_types.html +60 -62
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_modules/imapclient/testable_imapclient.html +56 -63
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_modules/imapclient/tls.html +64 -68
- imapclient-3.1.0/doc/html/_modules/index.html +77 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/concepts.rst.txt +20 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/contributing.rst.txt +19 -5
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/index.rst.txt +2 -2
- IMAPClient-2.0.0/doc/html/_sources/releases.txt → imapclient-3.1.0/doc/html/_sources/releases.rst.txt +123 -24
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_static/basic.css +401 -70
- imapclient-3.1.0/doc/html/_static/contents.png +0 -0
- imapclient-3.1.0/doc/html/_static/file.png +0 -0
- imapclient-3.1.0/doc/html/_static/minus.png +0 -0
- imapclient-3.1.0/doc/html/_static/navigation.png +0 -0
- imapclient-3.1.0/doc/html/_static/plus.png +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_static/pygments.css +10 -1
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_static/sphinxdoc.css +11 -6
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/advanced.html +165 -168
- imapclient-3.1.0/doc/html/api.html +1196 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/concepts.html +166 -127
- imapclient-3.1.0/doc/html/contributing.html +210 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/index.html +180 -156
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/installation.html +89 -87
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/py-modindex.html +34 -40
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/releases.html +706 -594
- imapclient-3.1.0/doc/html/search.html +96 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/advanced.rst +1 -1
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/concepts.rst +20 -7
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/conf.py +52 -56
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/contributing.rst +19 -5
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/index.rst +7 -6
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/releases.rst +128 -25
- imapclient-3.1.0/imapclient/__init__.py +13 -0
- imapclient-3.1.0/imapclient/config.py +219 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/datetime_util.py +12 -15
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/exceptions.py +6 -5
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/fixed_offset.py +14 -15
- imapclient-3.1.0/imapclient/imap4.py +27 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/imap_utf7.py +32 -30
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/imapclient.py +756 -333
- imapclient-3.1.0/imapclient/interact.py +155 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/response_lexer.py +35 -35
- imapclient-3.1.0/imapclient/response_parser.py +287 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/imapclient/response_types.py +44 -22
- imapclient-3.1.0/imapclient/testable_imapclient.py +41 -0
- imapclient-3.1.0/imapclient/tls.py +45 -0
- imapclient-3.1.0/imapclient/typing_imapclient.py +4 -0
- imapclient-3.1.0/imapclient/util.py +50 -0
- imapclient-3.1.0/imapclient/version.py +24 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/interact.py +1 -2
- {IMAPClient-2.0.0 → imapclient-3.1.0}/livetest.py +368 -253
- imapclient-3.1.0/pyproject.toml +89 -0
- imapclient-3.1.0/setup.cfg +7 -0
- imapclient-3.1.0/setup.py +67 -0
- imapclient-3.1.0/tests/__init__.py +3 -0
- imapclient-3.1.0/tests/imapclient_test.py +8 -0
- imapclient-3.1.0/tests/test_auth.py +32 -0
- imapclient-3.1.0/tests/test_datetime_util.py +80 -0
- imapclient-3.1.0/tests/test_enable.py +69 -0
- imapclient-3.1.0/tests/test_fixed_offset.py +70 -0
- imapclient-3.1.0/tests/test_folder_status.py +61 -0
- imapclient-3.1.0/tests/test_imap_utf7.py +50 -0
- imapclient-3.1.0/tests/test_imapclient.py +1114 -0
- imapclient-3.1.0/tests/test_init.py +105 -0
- imapclient-3.1.0/tests/test_response_lexer.py +96 -0
- imapclient-3.1.0/tests/test_response_parser.py +716 -0
- imapclient-3.1.0/tests/test_search.py +164 -0
- imapclient-3.1.0/tests/test_sort.py +42 -0
- imapclient-3.1.0/tests/test_starttls.py +65 -0
- imapclient-3.1.0/tests/test_store.py +136 -0
- imapclient-3.1.0/tests/test_thread.py +43 -0
- imapclient-3.1.0/tests/test_util_functions.py +177 -0
- imapclient-3.1.0/tests/test_version.py +24 -0
- IMAPClient-2.0.0/IMAPClient.egg-info/PKG-INFO +0 -38
- IMAPClient-2.0.0/IMAPClient.egg-info/requires.txt +0 -7
- IMAPClient-2.0.0/PKG-INFO +0 -38
- IMAPClient-2.0.0/doc/html/_modules/index.html +0 -82
- IMAPClient-2.0.0/doc/html/_sources/advanced.txt +0 -148
- IMAPClient-2.0.0/doc/html/_sources/api.txt +0 -68
- IMAPClient-2.0.0/doc/html/_sources/concepts.txt +0 -139
- IMAPClient-2.0.0/doc/html/_sources/contributing.txt +0 -83
- IMAPClient-2.0.0/doc/html/_sources/index.txt +0 -129
- IMAPClient-2.0.0/doc/html/_sources/installation.txt +0 -30
- IMAPClient-2.0.0/doc/html/_sources/quickstart.rst.txt +0 -7
- IMAPClient-2.0.0/doc/html/_sources/quickstart.txt +0 -29
- IMAPClient-2.0.0/doc/html/_sources/releases.rst.txt +0 -869
- IMAPClient-2.0.0/doc/html/_static/comment-bright.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/comment-close.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/comment.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/contents.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/down-pressed.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/down.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/file.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/minus.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/navigation.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/plus.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/up-pressed.png +0 -0
- IMAPClient-2.0.0/doc/html/_static/up.png +0 -0
- IMAPClient-2.0.0/doc/html/api.html +0 -1025
- IMAPClient-2.0.0/doc/html/contributing.html +0 -196
- IMAPClient-2.0.0/doc/html/quickstart.html +0 -119
- IMAPClient-2.0.0/doc/html/search.html +0 -93
- IMAPClient-2.0.0/imapclient/__init__.py +0 -13
- IMAPClient-2.0.0/imapclient/config.py +0 -202
- IMAPClient-2.0.0/imapclient/imap4.py +0 -16
- IMAPClient-2.0.0/imapclient/interact.py +0 -96
- IMAPClient-2.0.0/imapclient/response_parser.py +0 -236
- IMAPClient-2.0.0/imapclient/testable_imapclient.py +0 -50
- IMAPClient-2.0.0/imapclient/tls.py +0 -63
- IMAPClient-2.0.0/imapclient/util.py +0 -39
- IMAPClient-2.0.0/imapclient/version.py +0 -23
- IMAPClient-2.0.0/setup.cfg +0 -16
- IMAPClient-2.0.0/setup.py +0 -80
- {IMAPClient-2.0.0 → imapclient-3.1.0}/COPYING +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/IMAPClient.egg-info/dependency_links.txt +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/IMAPClient.egg-info/top_level.txt +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/advanced.rst.txt +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/api.rst.txt +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/html/_sources/installation.rst.txt +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/api.rst +0 -0
- {IMAPClient-2.0.0 → imapclient-3.1.0}/doc/src/installation.rst +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
IMAPClient was created by Menno Finlay-Smits <inbox@menno.io>. The
|
|
2
|
+
project is now maintained by Nicolas Le Manchet and Menno
|
|
3
|
+
Finlay-Smits.
|
|
4
|
+
|
|
5
|
+
Many thanks go to the following people for their help with this
|
|
6
|
+
project:
|
|
7
|
+
|
|
8
|
+
- Maxime Lorant
|
|
9
|
+
- Mathieu Agopian
|
|
10
|
+
- Chris Arndt
|
|
11
|
+
- Jp Calderone
|
|
12
|
+
- John Louis del Rosario
|
|
13
|
+
- Dave Eckhardt
|
|
14
|
+
- Eben Freeman
|
|
15
|
+
- Helder Guerreiro
|
|
16
|
+
- Mark Hammond
|
|
17
|
+
- Johannes Heckel
|
|
18
|
+
- Thomas Jost
|
|
19
|
+
- Lukasz Mierzwa
|
|
20
|
+
- Naveen Nathan
|
|
21
|
+
- Brian Neal
|
|
22
|
+
- Phil Peterson
|
|
23
|
+
- Aviv Salem
|
|
24
|
+
- Andrew Scheller
|
|
25
|
+
- Thomas Steinacher
|
|
26
|
+
- Zac Witte
|
|
27
|
+
- Hans-Peter Jansen
|
|
28
|
+
- Carson Ip
|
|
29
|
+
- Jonny Hatch
|
|
30
|
+
- Jasper Spaans
|
|
31
|
+
- Fabio Manganiello
|
|
32
|
+
- Samir M
|
|
33
|
+
- Devin Bayer
|
|
34
|
+
- Mantas Mikulėnas
|
|
35
|
+
- @zrose584
|
|
36
|
+
- Michał Górny
|
|
37
|
+
- François Deppierraz
|
|
38
|
+
- Jasper Spaans
|
|
39
|
+
- Boni Lindsley
|
|
40
|
+
- Tobias Kölling
|
|
41
|
+
- @pinoatrome
|
|
42
|
+
- Shoaib Ahmed
|
|
43
|
+
- John Villalovos
|
|
44
|
+
- Claude Paroz
|
|
45
|
+
- Stefan Wójcik
|
|
46
|
+
- Andrzej Bartosiński
|
|
47
|
+
- @axoroll7
|
|
48
|
+
- Sean Whalen
|
|
49
|
+
- Peter Wienemann
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: IMAPClient
|
|
3
|
+
Version: 3.1.0
|
|
4
|
+
Summary: Easy-to-use, Pythonic and complete IMAP client library
|
|
5
|
+
Home-page: https://github.com/mjs/imapclient/
|
|
6
|
+
Author: Menno Finlay-Smits
|
|
7
|
+
Author-email: hello@menno.io
|
|
8
|
+
Maintainer: IMAPClient Maintainers
|
|
9
|
+
Maintainer-email: imapclient@groups.io
|
|
10
|
+
License: 3-Clause BSD License
|
|
11
|
+
Keywords: imap client email mail
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Topic :: Communications :: Email :: Post-Office :: IMAP
|
|
20
|
+
Classifier: Topic :: Internet
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: System :: Networking
|
|
23
|
+
Requires-Python: >=3.8.0
|
|
24
|
+
License-File: COPYING
|
|
25
|
+
License-File: AUTHORS.rst
|
|
26
|
+
Provides-Extra: doc
|
|
27
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
28
|
+
Dynamic: author
|
|
29
|
+
Dynamic: author-email
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: keywords
|
|
34
|
+
Dynamic: license
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
Dynamic: maintainer
|
|
37
|
+
Dynamic: maintainer-email
|
|
38
|
+
Dynamic: provides-extra
|
|
39
|
+
Dynamic: requires-python
|
|
40
|
+
Dynamic: summary
|
|
41
|
+
|
|
42
|
+
IMAPClient is an easy-to-use, Pythonic and complete IMAP client library.
|
|
43
|
+
|
|
44
|
+
Features:
|
|
45
|
+
* Arguments and return values are natural Python types.
|
|
46
|
+
* IMAP server responses are fully parsed and readily usable.
|
|
47
|
+
* IMAP unique message IDs (UIDs) are handled transparently.
|
|
48
|
+
* Internationalised mailbox names are transparently handled.
|
|
49
|
+
* Time zones are correctly handled.
|
|
50
|
+
* Convenience methods are provided for commonly used functionality.
|
|
51
|
+
* Exceptions are raised when errors occur.
|
|
52
|
+
|
|
53
|
+
Python versions 3.8 through 3.13 are officially supported.
|
|
54
|
+
|
|
55
|
+
IMAPClient includes comprehensive units tests and automated
|
|
56
|
+
functional tests that can be run against a live IMAP server.
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
AUTHORS.rst
|
|
1
2
|
COPYING
|
|
2
3
|
MANIFEST.in
|
|
3
4
|
NEWS.rst
|
|
4
5
|
README.rst
|
|
5
6
|
interact.py
|
|
6
7
|
livetest.py
|
|
8
|
+
pyproject.toml
|
|
7
9
|
setup.cfg
|
|
8
10
|
setup.py
|
|
9
11
|
IMAPClient.egg-info/PKG-INFO
|
|
@@ -18,7 +20,6 @@ doc/html/contributing.html
|
|
|
18
20
|
doc/html/index.html
|
|
19
21
|
doc/html/installation.html
|
|
20
22
|
doc/html/py-modindex.html
|
|
21
|
-
doc/html/quickstart.html
|
|
22
23
|
doc/html/releases.html
|
|
23
24
|
doc/html/search.html
|
|
24
25
|
doc/html/_modules/index.html
|
|
@@ -28,36 +29,20 @@ doc/html/_modules/imapclient/response_types.html
|
|
|
28
29
|
doc/html/_modules/imapclient/testable_imapclient.html
|
|
29
30
|
doc/html/_modules/imapclient/tls.html
|
|
30
31
|
doc/html/_sources/advanced.rst.txt
|
|
31
|
-
doc/html/_sources/advanced.txt
|
|
32
32
|
doc/html/_sources/api.rst.txt
|
|
33
|
-
doc/html/_sources/api.txt
|
|
34
33
|
doc/html/_sources/concepts.rst.txt
|
|
35
|
-
doc/html/_sources/concepts.txt
|
|
36
34
|
doc/html/_sources/contributing.rst.txt
|
|
37
|
-
doc/html/_sources/contributing.txt
|
|
38
35
|
doc/html/_sources/index.rst.txt
|
|
39
|
-
doc/html/_sources/index.txt
|
|
40
36
|
doc/html/_sources/installation.rst.txt
|
|
41
|
-
doc/html/_sources/installation.txt
|
|
42
|
-
doc/html/_sources/quickstart.rst.txt
|
|
43
|
-
doc/html/_sources/quickstart.txt
|
|
44
37
|
doc/html/_sources/releases.rst.txt
|
|
45
|
-
doc/html/_sources/releases.txt
|
|
46
38
|
doc/html/_static/basic.css
|
|
47
|
-
doc/html/_static/comment-bright.png
|
|
48
|
-
doc/html/_static/comment-close.png
|
|
49
|
-
doc/html/_static/comment.png
|
|
50
39
|
doc/html/_static/contents.png
|
|
51
|
-
doc/html/_static/down-pressed.png
|
|
52
|
-
doc/html/_static/down.png
|
|
53
40
|
doc/html/_static/file.png
|
|
54
41
|
doc/html/_static/minus.png
|
|
55
42
|
doc/html/_static/navigation.png
|
|
56
43
|
doc/html/_static/plus.png
|
|
57
44
|
doc/html/_static/pygments.css
|
|
58
45
|
doc/html/_static/sphinxdoc.css
|
|
59
|
-
doc/html/_static/up-pressed.png
|
|
60
|
-
doc/html/_static/up.png
|
|
61
46
|
doc/src/advanced.rst
|
|
62
47
|
doc/src/api.rst
|
|
63
48
|
doc/src/concepts.rst
|
|
@@ -80,5 +65,25 @@ imapclient/response_parser.py
|
|
|
80
65
|
imapclient/response_types.py
|
|
81
66
|
imapclient/testable_imapclient.py
|
|
82
67
|
imapclient/tls.py
|
|
68
|
+
imapclient/typing_imapclient.py
|
|
83
69
|
imapclient/util.py
|
|
84
|
-
imapclient/version.py
|
|
70
|
+
imapclient/version.py
|
|
71
|
+
tests/__init__.py
|
|
72
|
+
tests/imapclient_test.py
|
|
73
|
+
tests/test_auth.py
|
|
74
|
+
tests/test_datetime_util.py
|
|
75
|
+
tests/test_enable.py
|
|
76
|
+
tests/test_fixed_offset.py
|
|
77
|
+
tests/test_folder_status.py
|
|
78
|
+
tests/test_imap_utf7.py
|
|
79
|
+
tests/test_imapclient.py
|
|
80
|
+
tests/test_init.py
|
|
81
|
+
tests/test_response_lexer.py
|
|
82
|
+
tests/test_response_parser.py
|
|
83
|
+
tests/test_search.py
|
|
84
|
+
tests/test_sort.py
|
|
85
|
+
tests/test_starttls.py
|
|
86
|
+
tests/test_store.py
|
|
87
|
+
tests/test_thread.py
|
|
88
|
+
tests/test_util_functions.py
|
|
89
|
+
tests/test_version.py
|
|
@@ -2,6 +2,6 @@ IMAPClient's release history is now part of the main
|
|
|
2
2
|
documentation_. See the `release documentation`_ on `Read the Docs`_ for
|
|
3
3
|
the most up-to-date details of IMAPClient's releases.
|
|
4
4
|
|
|
5
|
-
.. _documentation:
|
|
6
|
-
.. _release documentation:
|
|
5
|
+
.. _documentation: https://imapclient.readthedocs.io/en/master/
|
|
6
|
+
.. _release documentation: https://imapclient.readthedocs.io/en/master/#release-history
|
|
7
7
|
.. _Read the Docs: http://readthedocs.org
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: IMAPClient
|
|
3
|
+
Version: 3.1.0
|
|
4
|
+
Summary: Easy-to-use, Pythonic and complete IMAP client library
|
|
5
|
+
Home-page: https://github.com/mjs/imapclient/
|
|
6
|
+
Author: Menno Finlay-Smits
|
|
7
|
+
Author-email: hello@menno.io
|
|
8
|
+
Maintainer: IMAPClient Maintainers
|
|
9
|
+
Maintainer-email: imapclient@groups.io
|
|
10
|
+
License: 3-Clause BSD License
|
|
11
|
+
Keywords: imap client email mail
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Topic :: Communications :: Email :: Post-Office :: IMAP
|
|
20
|
+
Classifier: Topic :: Internet
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: System :: Networking
|
|
23
|
+
Requires-Python: >=3.8.0
|
|
24
|
+
License-File: COPYING
|
|
25
|
+
License-File: AUTHORS.rst
|
|
26
|
+
Provides-Extra: doc
|
|
27
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
28
|
+
Dynamic: author
|
|
29
|
+
Dynamic: author-email
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: keywords
|
|
34
|
+
Dynamic: license
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
Dynamic: maintainer
|
|
37
|
+
Dynamic: maintainer-email
|
|
38
|
+
Dynamic: provides-extra
|
|
39
|
+
Dynamic: requires-python
|
|
40
|
+
Dynamic: summary
|
|
41
|
+
|
|
42
|
+
IMAPClient is an easy-to-use, Pythonic and complete IMAP client library.
|
|
43
|
+
|
|
44
|
+
Features:
|
|
45
|
+
* Arguments and return values are natural Python types.
|
|
46
|
+
* IMAP server responses are fully parsed and readily usable.
|
|
47
|
+
* IMAP unique message IDs (UIDs) are handled transparently.
|
|
48
|
+
* Internationalised mailbox names are transparently handled.
|
|
49
|
+
* Time zones are correctly handled.
|
|
50
|
+
* Convenience methods are provided for commonly used functionality.
|
|
51
|
+
* Exceptions are raised when errors occur.
|
|
52
|
+
|
|
53
|
+
Python versions 3.8 through 3.13 are officially supported.
|
|
54
|
+
|
|
55
|
+
IMAPClient includes comprehensive units tests and automated
|
|
56
|
+
functional tests that can be run against a live IMAP server.
|
|
@@ -4,32 +4,20 @@ IMAPClient is an easy-to-use, Pythonic and complete IMAP client
|
|
|
4
4
|
library.
|
|
5
5
|
|
|
6
6
|
========================= ========================================
|
|
7
|
-
Current version
|
|
8
|
-
Supported Python versions
|
|
7
|
+
Current version 3.0.1
|
|
8
|
+
Supported Python versions 3.8 - 3.14
|
|
9
9
|
License New BSD
|
|
10
10
|
Project home https://github.com/mjs/imapclient/
|
|
11
11
|
PyPI https://pypi.python.org/pypi/IMAPClient
|
|
12
12
|
Documentation https://imapclient.readthedocs.io/
|
|
13
|
-
|
|
13
|
+
Discussions https://github.com/mjs/imapclient/discussions
|
|
14
|
+
Test Status |build master|
|
|
14
15
|
========================= ========================================
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
===================== ==============
|
|
20
|
-
``1.x`` unit tests |build 1.x|
|
|
21
|
-
``master`` unit tests |build master|
|
|
22
|
-
===================== ==============
|
|
23
|
-
|
|
24
|
-
.. |build 1.x| image:: https://travis-ci.org/mjs/imapclient.svg?branch=1.x
|
|
25
|
-
:target: https://travis-ci.org/mjs/imapclient/branches
|
|
26
|
-
:alt: 1.x branch
|
|
27
|
-
|
|
28
|
-
.. |build master| image:: https://travis-ci.org/mjs/imapclient.svg?branch=master
|
|
29
|
-
:target: https://travis-ci.org/mjs/imapclient/branches
|
|
17
|
+
.. |build master| image:: https://github.com/mjs/imapclient/actions/workflows/main.yml/badge.svg
|
|
18
|
+
:target: https://github.com/mjs/imapclient/actions
|
|
30
19
|
:alt: master branch
|
|
31
20
|
|
|
32
|
-
|
|
33
21
|
Features
|
|
34
22
|
--------
|
|
35
23
|
- Arguments and return values are natural Python types.
|
|
@@ -108,8 +96,7 @@ examples of how to use IMAPClient.
|
|
|
108
96
|
|
|
109
97
|
Current Status
|
|
110
98
|
--------------
|
|
111
|
-
You should feel confident using IMAPClient for production
|
|
112
|
-
purposes. Any problems found will be fixed quickly once reported.
|
|
99
|
+
You should feel confident using IMAPClient for production purposes.
|
|
113
100
|
|
|
114
101
|
In order to clearly communicate version compatibility, IMAPClient
|
|
115
102
|
will strictly adhere to the `Semantic Versioning <http://semver.org>`_
|
|
@@ -122,26 +109,12 @@ tracker on Github. The maintainers also blog about IMAPClient
|
|
|
122
109
|
news. Those articles can be found `here
|
|
123
110
|
<http://menno.io/tags/imapclient>`_.
|
|
124
111
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
will also be announced there.
|
|
130
|
-
|
|
131
|
-
The mailing list is hosted at `Groups.io
|
|
132
|
-
<http://groups.io>`_. Interaction via both email and the web is
|
|
133
|
-
supported. To join the list, see the list archives or just find out
|
|
134
|
-
more, visit https://groups.io/g/imapclient. The key details of the
|
|
135
|
-
list are:
|
|
136
|
-
|
|
137
|
-
* Post: imapclient@groups.io
|
|
138
|
-
* Subscribe: imapclient+subscribe@groups.io
|
|
139
|
-
* Unsubscribe: imapclient+unsubscribe@groups.io
|
|
140
|
-
* Web: https://groups.io/g/imapclient
|
|
141
|
-
* Web archives: https://groups.io/g/imapclient/messages
|
|
112
|
+
Discussions
|
|
113
|
+
-----------
|
|
114
|
+
`Github Discussions`_ can be used to ask questions, propose changes or praise
|
|
115
|
+
the project maintainers :)
|
|
142
116
|
|
|
143
|
-
|
|
144
|
-
inbox@menno.io.
|
|
117
|
+
.. _`Github Discussions`: https://github.com/mjs/imapclient/discussions
|
|
145
118
|
|
|
146
119
|
Working on IMAPClient
|
|
147
120
|
---------------------
|
|
@@ -192,7 +165,7 @@ limits its activity to a folder it creates and subfolders of that
|
|
|
192
165
|
folder. It *should* be safe to use with any IMAP account but please
|
|
193
166
|
don't run livetest against a truly important IMAP account.
|
|
194
167
|
|
|
195
|
-
Please
|
|
168
|
+
Please include the output of livetest.py with an issue if it fails
|
|
196
169
|
to run successfully against a particular IMAP server. Reports of
|
|
197
170
|
successful runs are also welcome. Please include the type and version
|
|
198
171
|
of the IMAP server, if known.
|
|
@@ -1,56 +1,31 @@
|
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
1
|
|
|
2
|
+
<!DOCTYPE html>
|
|
4
3
|
|
|
5
|
-
<html
|
|
4
|
+
<html lang="en">
|
|
6
5
|
<head>
|
|
7
|
-
<meta
|
|
8
|
-
|
|
9
|
-
<title>imapclient.exceptions
|
|
10
|
-
|
|
11
|
-
<link rel="stylesheet"
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
<script
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
FILE_SUFFIX: '.html',
|
|
20
|
-
HAS_SOURCE: true
|
|
21
|
-
};
|
|
22
|
-
</script>
|
|
23
|
-
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
|
24
|
-
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
|
25
|
-
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
|
26
|
-
<link rel="top" title="IMAPClient 2.0.0 documentation" href="../../index.html" />
|
|
27
|
-
<link rel="up" title="Module code" href="../index.html" />
|
|
28
|
-
</head>
|
|
29
|
-
<body role="document">
|
|
6
|
+
<meta charset="utf-8" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
+
<title>imapclient.exceptions — IMAPClient 2.3.1 documentation</title>
|
|
9
|
+
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
|
|
10
|
+
<link rel="stylesheet" type="text/css" href="../../_static/sphinxdoc.css" />
|
|
11
|
+
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
|
|
12
|
+
<script src="../../_static/jquery.js"></script>
|
|
13
|
+
<script src="../../_static/underscore.js"></script>
|
|
14
|
+
<script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
|
|
15
|
+
<script src="../../_static/doctools.js"></script>
|
|
16
|
+
<link rel="search" title="Search" href="../../search.html" />
|
|
17
|
+
</head><body>
|
|
30
18
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
31
19
|
<h3>Navigation</h3>
|
|
32
20
|
<ul>
|
|
33
|
-
<li class="
|
|
34
|
-
<
|
|
21
|
+
<li class="right" style="margin-right: 10px">
|
|
22
|
+
<a href="../../py-modindex.html" title="Python Module Index"
|
|
23
|
+
>modules</a></li>
|
|
24
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">IMAPClient 2.3.1 documentation</a> »</li>
|
|
25
|
+
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Module code</a> »</li>
|
|
26
|
+
<li class="nav-item nav-item-this"><a href="">imapclient.exceptions</a></li>
|
|
35
27
|
</ul>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
38
|
-
<div class="sphinxsidebarwrapper">
|
|
39
|
-
<div id="searchbox" style="display: none" role="search">
|
|
40
|
-
<h3>Quick search</h3>
|
|
41
|
-
<form class="search" action="../../search.html" method="get">
|
|
42
|
-
<input type="text" name="q" />
|
|
43
|
-
<input type="submit" value="Go" />
|
|
44
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
|
45
|
-
<input type="hidden" name="area" value="default" />
|
|
46
|
-
</form>
|
|
47
|
-
<p class="searchtip" style="font-size: 90%">
|
|
48
|
-
Enter search terms or a module, class or function name.
|
|
49
|
-
</p>
|
|
50
|
-
</div>
|
|
51
|
-
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
28
|
+
</div>
|
|
54
29
|
|
|
55
30
|
<div class="document">
|
|
56
31
|
<div class="documentwrapper">
|
|
@@ -58,7 +33,7 @@
|
|
|
58
33
|
<div class="body" role="main">
|
|
59
34
|
|
|
60
35
|
<h1>Source code for imapclient.exceptions</h1><div class="highlight"><pre>
|
|
61
|
-
<span class="kn">import</span> <span class="nn">imaplib</span>
|
|
36
|
+
<span></span><span class="kn">import</span> <span class="nn">imaplib</span>
|
|
62
37
|
|
|
63
38
|
<span class="c1"># Base class allowing to catch any IMAPClient related exceptions</span>
|
|
64
39
|
<span class="c1"># To ensure backward compatibility, we "rename" the imaplib general</span>
|
|
@@ -70,15 +45,15 @@
|
|
|
70
45
|
|
|
71
46
|
|
|
72
47
|
<div class="viewcode-block" id="CapabilityError"><a class="viewcode-back" href="../../api.html#imapclient.exceptions.CapabilityError">[docs]</a><span class="k">class</span> <span class="nc">CapabilityError</span><span class="p">(</span><span class="n">IMAPClientError</span><span class="p">):</span>
|
|
73
|
-
<span class="sd">"""
|
|
74
|
-
<span class="sd"> The command tried by the user needs a capability not installed
|
|
48
|
+
<span class="sd">"""</span>
|
|
49
|
+
<span class="sd"> The command tried by the user needs a capability not installed</span>
|
|
75
50
|
<span class="sd"> on the IMAP server</span>
|
|
76
51
|
<span class="sd"> """</span></div>
|
|
77
52
|
|
|
78
53
|
|
|
79
54
|
<div class="viewcode-block" id="LoginError"><a class="viewcode-back" href="../../api.html#imapclient.exceptions.LoginError">[docs]</a><span class="k">class</span> <span class="nc">LoginError</span><span class="p">(</span><span class="n">IMAPClientError</span><span class="p">):</span>
|
|
80
55
|
<span class="sd">"""</span>
|
|
81
|
-
<span class="sd"> A connection has been established with the server but an error
|
|
56
|
+
<span class="sd"> A connection has been established with the server but an error</span>
|
|
82
57
|
<span class="sd"> occurred during the authentication.</span>
|
|
83
58
|
<span class="sd"> """</span></div>
|
|
84
59
|
|
|
@@ -92,8 +67,8 @@
|
|
|
92
67
|
|
|
93
68
|
|
|
94
69
|
<div class="viewcode-block" id="InvalidCriteriaError"><a class="viewcode-back" href="../../api.html#imapclient.exceptions.InvalidCriteriaError">[docs]</a><span class="k">class</span> <span class="nc">InvalidCriteriaError</span><span class="p">(</span><span class="n">IMAPClientError</span><span class="p">):</span>
|
|
95
|
-
<span class="sd">"""
|
|
96
|
-
<span class="sd"> A command using a search criteria failed, probably due to a syntax
|
|
70
|
+
<span class="sd">"""</span>
|
|
71
|
+
<span class="sd"> A command using a search criteria failed, probably due to a syntax</span>
|
|
97
72
|
<span class="sd"> error in the criteria string.</span>
|
|
98
73
|
<span class="sd"> """</span></div>
|
|
99
74
|
|
|
@@ -102,21 +77,40 @@
|
|
|
102
77
|
<span class="sd">"""The server replied with a response that violates the IMAP protocol."""</span></div>
|
|
103
78
|
</pre></div>
|
|
104
79
|
|
|
80
|
+
<div class="clearer"></div>
|
|
105
81
|
</div>
|
|
106
82
|
</div>
|
|
107
83
|
</div>
|
|
84
|
+
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
85
|
+
<div class="sphinxsidebarwrapper">
|
|
86
|
+
<div id="searchbox" style="display: none" role="search">
|
|
87
|
+
<h3 id="searchlabel">Quick search</h3>
|
|
88
|
+
<div class="searchformwrapper">
|
|
89
|
+
<form class="search" action="../../search.html" method="get">
|
|
90
|
+
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
|
91
|
+
<input type="submit" value="Go" />
|
|
92
|
+
</form>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<script>document.getElementById('searchbox').style.display = "block"</script>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
108
98
|
<div class="clearer"></div>
|
|
109
99
|
</div>
|
|
110
100
|
<div class="related" role="navigation" aria-label="related navigation">
|
|
111
101
|
<h3>Navigation</h3>
|
|
112
102
|
<ul>
|
|
113
|
-
<li class="
|
|
114
|
-
<
|
|
103
|
+
<li class="right" style="margin-right: 10px">
|
|
104
|
+
<a href="../../py-modindex.html" title="Python Module Index"
|
|
105
|
+
>modules</a></li>
|
|
106
|
+
<li class="nav-item nav-item-0"><a href="../../index.html">IMAPClient 2.3.1 documentation</a> »</li>
|
|
107
|
+
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> »</li>
|
|
108
|
+
<li class="nav-item nav-item-this"><a href="">imapclient.exceptions</a></li>
|
|
115
109
|
</ul>
|
|
116
110
|
</div>
|
|
117
111
|
<div class="footer" role="contentinfo">
|
|
118
|
-
|
|
119
|
-
Created using <a href="
|
|
112
|
+
© Copyright 2014, Menno Smits.
|
|
113
|
+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2.
|
|
120
114
|
</div>
|
|
121
115
|
</body>
|
|
122
116
|
</html>
|