myl 0.9.6__tar.gz → 0.9.7__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.6 → myl-0.9.7}/PKG-INFO +1 -1
- {myl-0.9.6 → myl-0.9.7}/flake.lock +12 -12
- {myl-0.9.6 → myl-0.9.7}/flake.nix +7 -4
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/PKG-INFO +1 -1
- {myl-0.9.6 → myl-0.9.7}/myl.py +6 -5
- myl-0.9.7/version.txt +1 -0
- myl-0.9.6/version.txt +0 -1
- {myl-0.9.6 → myl-0.9.7}/.github/dependabot.yml +0 -0
- {myl-0.9.6 → myl-0.9.7}/.github/workflows/lint.yaml +0 -0
- {myl-0.9.6 → myl-0.9.7}/.github/workflows/pypi.yaml +0 -0
- {myl-0.9.6 → myl-0.9.7}/.github/workflows/release.yaml +0 -0
- {myl-0.9.6 → myl-0.9.7}/.gitignore +0 -0
- {myl-0.9.6 → myl-0.9.7}/LICENSE +0 -0
- {myl-0.9.6 → myl-0.9.7}/README.md +0 -0
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/SOURCES.txt +0 -0
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/dependency_links.txt +0 -0
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/entry_points.txt +0 -0
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/requires.txt +0 -0
- {myl-0.9.6 → myl-0.9.7}/myl.egg-info/top_level.txt +0 -0
- {myl-0.9.6 → myl-0.9.7}/pyproject.toml +0 -0
- {myl-0.9.6 → myl-0.9.7}/setup.cfg +0 -0
{myl-0.9.6 → myl-0.9.7}/PKG-INFO
RENAMED
@@ -5,11 +5,11 @@
|
|
5
5
|
"systems": "systems"
|
6
6
|
},
|
7
7
|
"locked": {
|
8
|
-
"lastModified":
|
9
|
-
"narHash": "sha256-
|
8
|
+
"lastModified": 1731533236,
|
9
|
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
10
10
|
"owner": "numtide",
|
11
11
|
"repo": "flake-utils",
|
12
|
-
"rev": "
|
12
|
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
13
13
|
"type": "github"
|
14
14
|
},
|
15
15
|
"original": {
|
@@ -23,11 +23,11 @@
|
|
23
23
|
"systems": "systems_2"
|
24
24
|
},
|
25
25
|
"locked": {
|
26
|
-
"lastModified":
|
27
|
-
"narHash": "sha256-
|
26
|
+
"lastModified": 1731533236,
|
27
|
+
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
28
28
|
"owner": "numtide",
|
29
29
|
"repo": "flake-utils",
|
30
|
-
"rev": "
|
30
|
+
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
31
31
|
"type": "github"
|
32
32
|
},
|
33
33
|
"original": {
|
@@ -44,11 +44,11 @@
|
|
44
44
|
]
|
45
45
|
},
|
46
46
|
"locked": {
|
47
|
-
"lastModified":
|
48
|
-
"narHash": "sha256-
|
47
|
+
"lastModified": 1745064666,
|
48
|
+
"narHash": "sha256-vN3QtLsU8hT0qKDI86XnguYAK1lUJx084QhCafr4JFo=",
|
49
49
|
"owner": "pschmitt",
|
50
50
|
"repo": "myl-discovery",
|
51
|
-
"rev": "
|
51
|
+
"rev": "412b2b4b4543f7713ccc3b280f2719ac7cd868a8",
|
52
52
|
"type": "github"
|
53
53
|
},
|
54
54
|
"original": {
|
@@ -59,11 +59,11 @@
|
|
59
59
|
},
|
60
60
|
"nixpkgs": {
|
61
61
|
"locked": {
|
62
|
-
"lastModified":
|
63
|
-
"narHash": "sha256-
|
62
|
+
"lastModified": 1744932701,
|
63
|
+
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=",
|
64
64
|
"owner": "NixOS",
|
65
65
|
"repo": "nixpkgs",
|
66
|
-
"rev": "
|
66
|
+
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef",
|
67
67
|
"type": "github"
|
68
68
|
},
|
69
69
|
"original": {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
description = "Flake for myl IMAP CLI client
|
2
|
+
description = "Flake for myl, an IMAP CLI client";
|
3
3
|
|
4
4
|
inputs = {
|
5
5
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
@@ -21,9 +21,11 @@
|
|
21
21
|
flake-utils.lib.eachDefaultSystem (
|
22
22
|
system:
|
23
23
|
let
|
24
|
+
mylDiscoveryPkg = myl-discovery.packages.${system}.myl-discovery;
|
25
|
+
|
24
26
|
pkgs = nixpkgs.legacyPackages.${system};
|
25
27
|
|
26
|
-
|
28
|
+
mylPkg = pkgs.python3Packages.buildPythonApplication {
|
27
29
|
pname = "myl";
|
28
30
|
version = builtins.readFile ./version.txt;
|
29
31
|
pyproject = true;
|
@@ -96,8 +98,9 @@
|
|
96
98
|
in
|
97
99
|
{
|
98
100
|
# pkgs
|
99
|
-
packages.myl =
|
100
|
-
|
101
|
+
packages.myl = mylPkg;
|
102
|
+
packages.myl-discovery = mylDiscoveryPkg;
|
103
|
+
defaultPackage = mylPkg;
|
101
104
|
|
102
105
|
devShells.default = devShell;
|
103
106
|
}
|
{myl-0.9.6 → myl-0.9.7}/myl.py
RENAMED
@@ -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.7/version.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.9.7
|
myl-0.9.6/version.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.9.6
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{myl-0.9.6 → myl-0.9.7}/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
|