myl 0.8.3__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.3.dist-info → myl-0.8.5.dist-info}/METADATA +85 -9
- myl-0.8.5.dist-info/RECORD +7 -0
- myl.py +1 -1
- myl-0.8.3.dist-info/RECORD +0 -7
- {myl-0.8.3.dist-info → myl-0.8.5.dist-info}/LICENSE +0 -0
- {myl-0.8.3.dist-info → myl-0.8.5.dist-info}/WHEEL +0 -0
- {myl-0.8.3.dist-info → myl-0.8.5.dist-info}/entry_points.txt +0 -0
- {myl-0.8.3.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
|
@@ -683,21 +683,97 @@ Classifier: Programming Language :: Python :: 3
|
|
683
683
|
Requires-Python: >=3.8
|
684
684
|
Description-Content-Type: text/markdown
|
685
685
|
License-File: LICENSE
|
686
|
-
Requires-Dist: imap-tools
|
687
|
-
Requires-Dist: myl-discovery
|
688
|
-
Requires-Dist: rich
|
686
|
+
Requires-Dist: imap-tools (==1.0.0)
|
687
|
+
Requires-Dist: myl-discovery (==0.5.2)
|
688
|
+
Requires-Dist: rich (==13.4.2)
|
689
689
|
|
690
|
-
# myl
|
690
|
+
# 📧 myl
|
691
691
|
|
692
|
-
|
692
|
+
myl is a dead simple IMAP CLI client hosted on GitHub at
|
693
|
+
https://github.com/pschmitt/myl
|
693
694
|
|
694
|
-
|
695
|
+
## 📝 Description
|
696
|
+
|
697
|
+
myl is a command-line interface client for IMAP, designed to provide a
|
698
|
+
straightforward way to interact with IMAP servers.
|
699
|
+
|
700
|
+
## ⭐ Features
|
701
|
+
|
702
|
+
- Simple command-line interface
|
703
|
+
- Support for various IMAP operations
|
704
|
+
- Autodiscovery of the required server and port
|
705
|
+
- Support for Google IMAP settings
|
706
|
+
- Fetch a specific number of messages
|
707
|
+
- Mark messages as seen
|
708
|
+
- Fetch messages from a specific folder
|
709
|
+
- Search for specific strings in messages
|
710
|
+
- Output HTML email
|
711
|
+
- Output raw email
|
712
|
+
- Fetch a specific mail by ID
|
713
|
+
- Fetch a specific attachment
|
714
|
+
|
715
|
+
## 🚀 Installation
|
716
|
+
|
717
|
+
To install myl, follow these steps:
|
718
|
+
|
719
|
+
```bash
|
695
720
|
pipx install myl
|
696
721
|
```
|
697
722
|
|
723
|
+
## 🛠️ Usage
|
698
724
|
|
699
|
-
|
725
|
+
Here's how you can use myl:
|
700
726
|
|
701
|
-
```
|
727
|
+
```bash
|
702
728
|
myl --help
|
703
729
|
```
|
730
|
+
|
731
|
+
This command will display the help information for the `myl` command.
|
732
|
+
|
733
|
+
Here are some examples of using flags with the `myl` command:
|
734
|
+
|
735
|
+
```bash
|
736
|
+
# Connect to an IMAP server
|
737
|
+
myl --server imap.example.com --port 143 --starttls --username "$username" --password "$password"
|
738
|
+
|
739
|
+
# Use Google IMAP settings
|
740
|
+
myl --google --username "$username" --password "$password"
|
741
|
+
|
742
|
+
# Autodiscovery of the required server and port
|
743
|
+
myl --auto --username "$username" --password "$password"
|
744
|
+
|
745
|
+
# We won't repeat the server connection flags from here
|
746
|
+
alias myl="command myl --auto --username \"$username\" --password \"$password\""
|
747
|
+
|
748
|
+
# Fetch a specific number of messages
|
749
|
+
myl --count 5
|
750
|
+
|
751
|
+
# Mark messages as seen
|
752
|
+
myl --mark-seen
|
753
|
+
|
754
|
+
# Fetch messages from a specific folder
|
755
|
+
myl --folder "INBOX"
|
756
|
+
|
757
|
+
# Search for specific strings in messages
|
758
|
+
myl --search "important"
|
759
|
+
|
760
|
+
# Fetch a specific mail ID
|
761
|
+
myl "$MAILID"
|
762
|
+
|
763
|
+
# Show HTML
|
764
|
+
myl --html "$MAILID"
|
765
|
+
|
766
|
+
# raw email
|
767
|
+
myl --raw "$MAILID" > email.eml
|
768
|
+
|
769
|
+
# Fetch a specific attachment (outputs to stdout)
|
770
|
+
myl "$MAILID" "$ATT" > att.txt
|
771
|
+
```
|
772
|
+
|
773
|
+
Please replace `imap.example.com`, `$username`, `$password`, `$MAILID`,
|
774
|
+
and `$ATT` with your actual IMAP server details, username, password,
|
775
|
+
mail ID, and attachment name.
|
776
|
+
|
777
|
+
## 📜 License
|
778
|
+
|
779
|
+
This project is licensed under the GPL-3.0 license.
|
@@ -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.3.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
myl.py,sha256=-pnKR5_8AdbAlKvnyA-ZiqJWew9BO2VJr9eUlPcSpD8,6726
|
2
|
-
myl-0.8.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
3
|
-
myl-0.8.3.dist-info/METADATA,sha256=qu34BroF_QU_6kfU_ta-6b-ipRSOhCFUNE0TepycFxo,40986
|
4
|
-
myl-0.8.3.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
5
|
-
myl-0.8.3.dist-info/entry_points.txt,sha256=q6nr0Kzim7JzreXQE3BTU4asLh2sx5-D0w1yLBOcHxc,33
|
6
|
-
myl-0.8.3.dist-info/top_level.txt,sha256=Wn88OJVVWyYSsKVoqzlHXxfFxh5IbrJ_Yw-ldNLe7Po,4
|
7
|
-
myl-0.8.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|