myl-discovery 0.6.1__py3-none-any.whl → 0.6.3__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_discovery-0.6.1.dist-info → myl_discovery-0.6.3.dist-info}/METADATA +9 -8
- myl_discovery-0.6.3.dist-info/RECORD +10 -0
- {myl_discovery-0.6.1.dist-info → myl_discovery-0.6.3.dist-info}/WHEEL +1 -1
- myldiscovery/main.py +12 -0
- myl_discovery-0.6.1.dist-info/RECORD +0 -10
- {myl_discovery-0.6.1.dist-info → myl_discovery-0.6.3.dist-info}/entry_points.txt +0 -0
- {myl_discovery-0.6.1.dist-info → myl_discovery-0.6.3.dist-info/licenses}/LICENSE +0 -0
- {myl_discovery-0.6.1.dist-info → myl_discovery-0.6.3.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,9 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: myl-discovery
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.3
|
4
4
|
Summary: email autodiscovery
|
5
5
|
Author-email: Philipp Schmitt <philipp@schmitt.co>
|
6
|
-
License:
|
6
|
+
License: GNU GENERAL PUBLIC LICENSE
|
7
7
|
Version 3, 29 June 2007
|
8
8
|
|
9
9
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
@@ -687,11 +687,12 @@ Classifier: Programming Language :: Python :: 3
|
|
687
687
|
Requires-Python: >=3.8
|
688
688
|
Description-Content-Type: text/markdown
|
689
689
|
License-File: LICENSE
|
690
|
-
Requires-Dist: dnspython
|
691
|
-
Requires-Dist: exchangelib
|
692
|
-
Requires-Dist: requests
|
693
|
-
Requires-Dist: rich
|
694
|
-
Requires-Dist: xmltodict
|
690
|
+
Requires-Dist: dnspython<3.0.0,>=2.0.0
|
691
|
+
Requires-Dist: exchangelib<6.0.0,>=5.0.0
|
692
|
+
Requires-Dist: requests<3.0.0,>=2.0.0
|
693
|
+
Requires-Dist: rich<15.0.0,>=13.0.0
|
694
|
+
Requires-Dist: xmltodict<1.0.0,>=0.13.0
|
695
|
+
Dynamic: license-file
|
695
696
|
|
696
697
|
# 📩 myl-discovery
|
697
698
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
myl_discovery-0.6.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
2
|
+
myldiscovery/__init__.py,sha256=L_XVC06ZVdjhnV5up1MBnywTuGUIyjt8PUoQDUOzfAk,381
|
3
|
+
myldiscovery/__main__.py,sha256=5BjNuyet8AY-POwoF5rGt722rHQ7tJ0Vf0UFUfzzi-I,58
|
4
|
+
myldiscovery/discovery.py,sha256=MPNFGmkxy_XRk-24E-Rrc4O3Y0OhuJVoqSwKzrNfjiQ,9330
|
5
|
+
myldiscovery/main.py,sha256=peCDXqhrYtygAOW9gB9T_rvotSc9vI_th9AdS2WAjw4,2482
|
6
|
+
myl_discovery-0.6.3.dist-info/METADATA,sha256=itlHRUDwUzxvQyujhkihAIsKbmeYjrezZSGp_K2QgvQ,45251
|
7
|
+
myl_discovery-0.6.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
myl_discovery-0.6.3.dist-info/entry_points.txt,sha256=nyyAyvgvu6iO9mPEA6uVrPfd0lIrUyo9AQWeH2asEY0,52
|
9
|
+
myl_discovery-0.6.3.dist-info/top_level.txt,sha256=v_h72JexaacqBNY6iOMD9PpGg8lnGoL-pkmUIzxdiVU,13
|
10
|
+
myl_discovery-0.6.3.dist-info/RECORD,,
|
myldiscovery/main.py
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
import argparse
|
5
5
|
import logging
|
6
|
+
from importlib.metadata import PackageNotFoundError, version
|
6
7
|
|
7
8
|
from rich import print_json
|
8
9
|
from rich.console import Console
|
@@ -11,11 +12,22 @@ from rich.table import Table
|
|
11
12
|
|
12
13
|
from myldiscovery import autodiscover
|
13
14
|
|
15
|
+
try:
|
16
|
+
__version__ = version("myl-discovery")
|
17
|
+
except PackageNotFoundError:
|
18
|
+
pass
|
19
|
+
|
14
20
|
LOGGER = logging.getLogger(__name__)
|
15
21
|
|
16
22
|
|
17
23
|
def parse_args():
|
18
24
|
parser = argparse.ArgumentParser()
|
25
|
+
parser.add_argument(
|
26
|
+
"-V",
|
27
|
+
"--version",
|
28
|
+
action="version",
|
29
|
+
version=f"%(prog)s {__version__}",
|
30
|
+
)
|
19
31
|
parser.add_argument("-j", "--json", action="store_true", default=False)
|
20
32
|
parser.add_argument("-d", "--debug", action="store_true", default=False)
|
21
33
|
parser.add_argument(
|
@@ -1,10 +0,0 @@
|
|
1
|
-
myldiscovery/__init__.py,sha256=L_XVC06ZVdjhnV5up1MBnywTuGUIyjt8PUoQDUOzfAk,381
|
2
|
-
myldiscovery/__main__.py,sha256=5BjNuyet8AY-POwoF5rGt722rHQ7tJ0Vf0UFUfzzi-I,58
|
3
|
-
myldiscovery/discovery.py,sha256=MPNFGmkxy_XRk-24E-Rrc4O3Y0OhuJVoqSwKzrNfjiQ,9330
|
4
|
-
myldiscovery/main.py,sha256=KfWTcc3kmvrHITCvA2Xvck19JmyoGZgRo5I-7YQR0X0,2199
|
5
|
-
myl_discovery-0.6.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
6
|
-
myl_discovery-0.6.1.dist-info/METADATA,sha256=DzURCdfeAIZXaynhga3CI_D34K4Blt5AUgKlWZkRx1A,45214
|
7
|
-
myl_discovery-0.6.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
8
|
-
myl_discovery-0.6.1.dist-info/entry_points.txt,sha256=nyyAyvgvu6iO9mPEA6uVrPfd0lIrUyo9AQWeH2asEY0,52
|
9
|
-
myl_discovery-0.6.1.dist-info/top_level.txt,sha256=v_h72JexaacqBNY6iOMD9PpGg8lnGoL-pkmUIzxdiVU,13
|
10
|
-
myl_discovery-0.6.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|