myl 0.8.4__py3-none-any.whl → 0.8.5__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.8.4.dist-info → myl-0.8.5.dist-info}/METADATA +15 -15
- myl-0.8.5.dist-info/RECORD +7 -0
- myl.py +1 -1
- myl-0.8.4.dist-info/RECORD +0 -7
- {myl-0.8.4.dist-info → myl-0.8.5.dist-info}/LICENSE +0 -0
- {myl-0.8.4.dist-info → myl-0.8.5.dist-info}/WHEEL +0 -0
- {myl-0.8.4.dist-info → myl-0.8.5.dist-info}/entry_points.txt +0 -0
- {myl-0.8.4.dist-info → myl-0.8.5.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: myl
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.5
|
4
4
|
Summary: Dead simple IMAP CLI client
|
5
5
|
Author-email: Philipp Schmitt <philipp@schmitt.co>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -684,7 +684,7 @@ Requires-Python: >=3.8
|
|
684
684
|
Description-Content-Type: text/markdown
|
685
685
|
License-File: LICENSE
|
686
686
|
Requires-Dist: imap-tools (==1.0.0)
|
687
|
-
Requires-Dist: myl-discovery (==0.
|
687
|
+
Requires-Dist: myl-discovery (==0.5.2)
|
688
688
|
Requires-Dist: rich (==13.4.2)
|
689
689
|
|
690
690
|
# 📧 myl
|
@@ -710,7 +710,7 @@ straightforward way to interact with IMAP servers.
|
|
710
710
|
- Output HTML email
|
711
711
|
- Output raw email
|
712
712
|
- Fetch a specific mail by ID
|
713
|
-
- Fetch a specific attachment
|
713
|
+
- Fetch a specific attachment
|
714
714
|
|
715
715
|
## 🚀 Installation
|
716
716
|
|
@@ -734,7 +734,7 @@ Here are some examples of using flags with the `myl` command:
|
|
734
734
|
|
735
735
|
```bash
|
736
736
|
# Connect to an IMAP server
|
737
|
-
myl --server imap.example.com --username $username --password "$password"
|
737
|
+
myl --server imap.example.com --port 143 --starttls --username "$username" --password "$password"
|
738
738
|
|
739
739
|
# Use Google IMAP settings
|
740
740
|
myl --google --username "$username" --password "$password"
|
@@ -742,32 +742,32 @@ myl --google --username "$username" --password "$password"
|
|
742
742
|
# Autodiscovery of the required server and port
|
743
743
|
myl --auto --username "$username" --password "$password"
|
744
744
|
|
745
|
+
# We won't repeat the server connection flags from here
|
746
|
+
alias myl="command myl --auto --username \"$username\" --password \"$password\""
|
747
|
+
|
745
748
|
# Fetch a specific number of messages
|
746
|
-
myl --count 5
|
749
|
+
myl --count 5
|
747
750
|
|
748
751
|
# Mark messages as seen
|
749
|
-
myl --mark-seen
|
752
|
+
myl --mark-seen
|
750
753
|
|
751
754
|
# Fetch messages from a specific folder
|
752
|
-
myl --folder "INBOX"
|
755
|
+
myl --folder "INBOX"
|
753
756
|
|
754
757
|
# Search for specific strings in messages
|
755
|
-
myl --search "important"
|
756
|
-
|
757
|
-
# Show raw email
|
758
|
-
myl --raw --username "$username" --password "$password"
|
758
|
+
myl --search "important"
|
759
759
|
|
760
760
|
# Fetch a specific mail ID
|
761
|
-
myl
|
761
|
+
myl "$MAILID"
|
762
762
|
|
763
763
|
# Show HTML
|
764
|
-
myl --html
|
764
|
+
myl --html "$MAILID"
|
765
765
|
|
766
766
|
# raw email
|
767
|
-
myl --raw
|
767
|
+
myl --raw "$MAILID" > email.eml
|
768
768
|
|
769
769
|
# Fetch a specific attachment (outputs to stdout)
|
770
|
-
myl
|
770
|
+
myl "$MAILID" "$ATT" > att.txt
|
771
771
|
```
|
772
772
|
|
773
773
|
Please replace `imap.example.com`, `$username`, `$password`, `$MAILID`,
|
@@ -0,0 +1,7 @@
|
|
1
|
+
myl.py,sha256=QPQuL8yqqUWZ98uzsHagR_sXPnxEouxUYiTDYwqI4J0,6750
|
2
|
+
myl-0.8.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
3
|
+
myl-0.8.5.dist-info/METADATA,sha256=34sZ7iXJdhAptHyDXMQloKmOfD3wDD4YPDbtSfnMpac,43019
|
4
|
+
myl-0.8.5.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
5
|
+
myl-0.8.5.dist-info/entry_points.txt,sha256=q6nr0Kzim7JzreXQE3BTU4asLh2sx5-D0w1yLBOcHxc,33
|
6
|
+
myl-0.8.5.dist-info/top_level.txt,sha256=Wn88OJVVWyYSsKVoqzlHXxfFxh5IbrJ_Yw-ldNLe7Po,4
|
7
|
+
myl-0.8.5.dist-info/RECORD,,
|
myl.py
CHANGED
@@ -112,7 +112,7 @@ def main():
|
|
112
112
|
else:
|
113
113
|
if args.auto:
|
114
114
|
try:
|
115
|
-
settings = autodiscover(args.username).get("imap")
|
115
|
+
settings = autodiscover(args.username, password=args.password).get("imap")
|
116
116
|
except Exception:
|
117
117
|
error_msg("Failed to autodiscover IMAP settings")
|
118
118
|
if args.debug:
|
myl-0.8.4.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
myl.py,sha256=-pnKR5_8AdbAlKvnyA-ZiqJWew9BO2VJr9eUlPcSpD8,6726
|
2
|
-
myl-0.8.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
3
|
-
myl-0.8.4.dist-info/METADATA,sha256=syBdVcznUYkDGU03exETsovZCrK5C2cJUm2zavqfJFg,43319
|
4
|
-
myl-0.8.4.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
5
|
-
myl-0.8.4.dist-info/entry_points.txt,sha256=q6nr0Kzim7JzreXQE3BTU4asLh2sx5-D0w1yLBOcHxc,33
|
6
|
-
myl-0.8.4.dist-info/top_level.txt,sha256=Wn88OJVVWyYSsKVoqzlHXxfFxh5IbrJ_Yw-ldNLe7Po,4
|
7
|
-
myl-0.8.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|