myl 0.9.5__py3-none-any.whl → 0.9.7__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.
- {myl-0.9.5.dist-info → myl-0.9.7.dist-info}/METADATA +2 -2
- myl-0.9.7.dist-info/RECORD +7 -0
- {myl-0.9.5.dist-info → myl-0.9.7.dist-info}/WHEEL +1 -1
- myl.py +6 -5
- myl-0.9.5.dist-info/RECORD +0 -7
- {myl-0.9.5.dist-info → myl-0.9.7.dist-info}/entry_points.txt +0 -0
- {myl-0.9.5.dist-info → myl-0.9.7.dist-info}/licenses/LICENSE +0 -0
- {myl-0.9.5.dist-info → myl-0.9.7.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: myl
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.7
|
4
4
|
Summary: Dead simple IMAP CLI client
|
5
5
|
Author-email: Philipp Schmitt <philipp@schmitt.co>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -688,7 +688,7 @@ Requires-Python: >=3.8
|
|
688
688
|
Description-Content-Type: text/markdown
|
689
689
|
License-File: LICENSE
|
690
690
|
Requires-Dist: imap-tools<2.0.0,>=1.5.0
|
691
|
-
Requires-Dist: myl-discovery>=0.6.
|
691
|
+
Requires-Dist: myl-discovery>=0.6.3
|
692
692
|
Requires-Dist: rich<15.0.0,>=13.0.0
|
693
693
|
Requires-Dist: html2text>=2024.2.26
|
694
694
|
Dynamic: license-file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
myl.py,sha256=DIgFsiGZjHV9JHFC-zdVNpD-hfIAC9p79h0nhXNBG5M,15286
|
2
|
+
myl-0.9.7.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
3
|
+
myl-0.9.7.dist-info/METADATA,sha256=JGIDR83DhSgOfKN4Z2VF9HGPdnEonGJvq671Kg73CkQ,43464
|
4
|
+
myl-0.9.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
5
|
+
myl-0.9.7.dist-info/entry_points.txt,sha256=q6nr0Kzim7JzreXQE3BTU4asLh2sx5-D0w1yLBOcHxc,33
|
6
|
+
myl-0.9.7.dist-info/top_level.txt,sha256=Wn88OJVVWyYSsKVoqzlHXxfFxh5IbrJ_Yw-ldNLe7Po,4
|
7
|
+
myl-0.9.7.dist-info/RECORD,,
|
myl.py
CHANGED
@@ -10,12 +10,12 @@ import sys
|
|
10
10
|
from json import dumps as json_dumps
|
11
11
|
|
12
12
|
import html2text
|
13
|
-
from imap_tools
|
14
|
-
from imap_tools.mailbox import (
|
13
|
+
from imap_tools import (
|
15
14
|
BaseMailBox,
|
16
15
|
MailBox,
|
17
|
-
|
16
|
+
MailBoxStartTls,
|
18
17
|
MailBoxUnencrypted,
|
18
|
+
MailMessageFlags,
|
19
19
|
)
|
20
20
|
from imap_tools.query import AND
|
21
21
|
from myldiscovery import autodiscover
|
@@ -301,8 +301,9 @@ def mb_connect(console, args) -> BaseMailBox:
|
|
301
301
|
)
|
302
302
|
raise MissingServerException()
|
303
303
|
|
304
|
-
ssl_context =
|
304
|
+
ssl_context = None
|
305
305
|
if args.insecure:
|
306
|
+
ssl_context = ssl.create_default_context()
|
306
307
|
ssl_context.check_hostname = False
|
307
308
|
ssl_context.verify_mode = ssl.CERT_NONE
|
308
309
|
|
@@ -311,7 +312,7 @@ def mb_connect(console, args) -> BaseMailBox:
|
|
311
312
|
mb = MailBox
|
312
313
|
mb_kwargs["ssl_context"] = ssl_context
|
313
314
|
elif args.starttls:
|
314
|
-
mb =
|
315
|
+
mb = MailBoxStartTls
|
315
316
|
mb_kwargs["ssl_context"] = ssl_context
|
316
317
|
else:
|
317
318
|
mb = MailBoxUnencrypted
|
myl-0.9.5.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
myl.py,sha256=kpqFXlQHFwFaQkL7tUQyAlxvhZrbqAb4m5wu8WueoCY,15282
|
2
|
-
myl-0.9.5.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
3
|
-
myl-0.9.5.dist-info/METADATA,sha256=yKk6uf8gGT56MmtyiCkinWNlvC6Yl5NI90bYL9Jd6zI,43469
|
4
|
-
myl-0.9.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
5
|
-
myl-0.9.5.dist-info/entry_points.txt,sha256=q6nr0Kzim7JzreXQE3BTU4asLh2sx5-D0w1yLBOcHxc,33
|
6
|
-
myl-0.9.5.dist-info/top_level.txt,sha256=Wn88OJVVWyYSsKVoqzlHXxfFxh5IbrJ_Yw-ldNLe7Po,4
|
7
|
-
myl-0.9.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|