myl 0.9.4__tar.gz → 0.9.6__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.
- {myl-0.9.4 → myl-0.9.6}/PKG-INFO +5 -4
- {myl-0.9.4 → myl-0.9.6}/myl.egg-info/PKG-INFO +5 -4
- myl-0.9.6/myl.egg-info/requires.txt +4 -0
- {myl-0.9.4 → myl-0.9.6}/myl.py +12 -1
- {myl-0.9.4 → myl-0.9.6}/pyproject.toml +2 -2
- myl-0.9.6/version.txt +1 -0
- myl-0.9.4/myl.egg-info/requires.txt +0 -4
- myl-0.9.4/version.txt +0 -1
- {myl-0.9.4 → myl-0.9.6}/.github/dependabot.yml +0 -0
- {myl-0.9.4 → myl-0.9.6}/.github/workflows/lint.yaml +0 -0
- {myl-0.9.4 → myl-0.9.6}/.github/workflows/pypi.yaml +0 -0
- {myl-0.9.4 → myl-0.9.6}/.github/workflows/release.yaml +0 -0
- {myl-0.9.4 → myl-0.9.6}/.gitignore +0 -0
- {myl-0.9.4 → myl-0.9.6}/LICENSE +0 -0
- {myl-0.9.4 → myl-0.9.6}/README.md +0 -0
- {myl-0.9.4 → myl-0.9.6}/flake.lock +0 -0
- {myl-0.9.4 → myl-0.9.6}/flake.nix +0 -0
- {myl-0.9.4 → myl-0.9.6}/myl.egg-info/SOURCES.txt +0 -0
- {myl-0.9.4 → myl-0.9.6}/myl.egg-info/dependency_links.txt +0 -0
- {myl-0.9.4 → myl-0.9.6}/myl.egg-info/entry_points.txt +0 -0
- {myl-0.9.4 → myl-0.9.6}/myl.egg-info/top_level.txt +0 -0
- {myl-0.9.4 → myl-0.9.6}/setup.cfg +0 -0
{myl-0.9.4 → myl-0.9.6}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: myl
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.6
|
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,9 +688,10 @@ 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.
|
692
|
-
Requires-Dist: rich<
|
691
|
+
Requires-Dist: myl-discovery>=0.6.3
|
692
|
+
Requires-Dist: rich<15.0.0,>=13.0.0
|
693
693
|
Requires-Dist: html2text>=2024.2.26
|
694
|
+
Dynamic: license-file
|
694
695
|
|
695
696
|
# 📧 myl
|
696
697
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: myl
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.6
|
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,9 +688,10 @@ 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.
|
692
|
-
Requires-Dist: rich<
|
691
|
+
Requires-Dist: myl-discovery>=0.6.3
|
692
|
+
Requires-Dist: rich<15.0.0,>=13.0.0
|
693
693
|
Requires-Dist: html2text>=2024.2.26
|
694
|
+
Dynamic: license-file
|
694
695
|
|
695
696
|
# 📧 myl
|
696
697
|
|
{myl-0.9.4 → myl-0.9.6}/myl.py
RENAMED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
from importlib.metadata import version, PackageNotFoundError
|
5
5
|
import argparse
|
6
|
+
import base64
|
6
7
|
import logging
|
7
8
|
import ssl
|
8
9
|
import sys
|
@@ -59,7 +60,17 @@ def mail_to_dict(msg, date_format="%Y-%m-%d %H:%M:%S"):
|
|
59
60
|
"html": msg.html,
|
60
61
|
"text": msg.text,
|
61
62
|
},
|
62
|
-
"attachments":
|
63
|
+
"attachments": [
|
64
|
+
{
|
65
|
+
"filename": x.filename,
|
66
|
+
"content_id": x.content_id,
|
67
|
+
"content_type": x.content_type,
|
68
|
+
"content_disposition": x.content_disposition,
|
69
|
+
"payload": base64.b64encode(x.payload).decode("utf-8"),
|
70
|
+
"size": x.size,
|
71
|
+
}
|
72
|
+
for x in msg.attachments
|
73
|
+
],
|
63
74
|
}
|
64
75
|
|
65
76
|
|
@@ -17,8 +17,8 @@ classifiers = [
|
|
17
17
|
]
|
18
18
|
dependencies = [
|
19
19
|
"imap-tools >= 1.5.0, < 2.0.0",
|
20
|
-
"myl-discovery >= 0.6.
|
21
|
-
"rich >= 13.0.0, <
|
20
|
+
"myl-discovery >= 0.6.3",
|
21
|
+
"rich >= 13.0.0, < 15.0.0",
|
22
22
|
"html2text >= 2024.2.26"
|
23
23
|
]
|
24
24
|
dynamic = ["version"]
|
myl-0.9.6/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.9.6
|
myl-0.9.4/version.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.9.4
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{myl-0.9.4 → myl-0.9.6}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|