ut-wdp 1.3.1.20250909__py3-none-any.whl → 1.3.3.20251008__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.
- ut_wdp/__version__.py +2 -2
- ut_wdp/pmeh/wdp.py +4 -2
- {ut_wdp-1.3.1.20250909.dist-info → ut_wdp-1.3.3.20251008.dist-info}/METADATA +30 -40
- ut_wdp-1.3.3.20251008.dist-info/RECORD +10 -0
- ut_wdp-1.3.1.20250909.dist-info/RECORD +0 -10
- {ut_wdp-1.3.1.20250909.dist-info → ut_wdp-1.3.3.20251008.dist-info}/WHEEL +0 -0
- {ut_wdp-1.3.1.20250909.dist-info → ut_wdp-1.3.3.20251008.dist-info}/licenses/LICENSE.txt +0 -0
- {ut_wdp-1.3.1.20250909.dist-info → ut_wdp-1.3.3.20251008.dist-info}/top_level.txt +0 -0
ut_wdp/__version__.py
CHANGED
@@ -15,9 +15,9 @@ from datetime import datetime
|
|
15
15
|
_now = datetime.now().strftime("%Y%m%d")
|
16
16
|
|
17
17
|
__title__ = 'ut_wdp'
|
18
|
-
__description__ = 'Watch Dog
|
18
|
+
__description__ = 'Watch Dog Processor Utilities.'
|
19
19
|
__url__ = 'https://ut-wdp.readthedocs.io/en/latest'
|
20
|
-
__version__ = f'1.3.
|
20
|
+
__version__ = f'1.3.3.{_now}'
|
21
21
|
__build__ = _now
|
22
22
|
__author__ = 'Bernd Stroehle'
|
23
23
|
__author_email__ = 'bernd.stroehle@gmail.com'
|
ut_wdp/pmeh/wdp.py
CHANGED
@@ -9,7 +9,7 @@ from watchdog.events import PatternMatchingEventHandler
|
|
9
9
|
|
10
10
|
from ut_log.log import Log, LogEq
|
11
11
|
from ut_dic.dic import Dic
|
12
|
-
from ut_path.pathnm import
|
12
|
+
from ut_path.pathnm import Pathnm
|
13
13
|
from ut_path.path import Path
|
14
14
|
from ut_path.path import AoPath
|
15
15
|
from ut_ctl.journalctl import Journalctl
|
@@ -118,7 +118,9 @@ class WdP:
|
|
118
118
|
"""
|
119
119
|
WatchDog Task for pattern matching of files paths
|
120
120
|
"""
|
121
|
-
_in_dir =
|
121
|
+
_in_dir: TnPath = Pathnm.sh_path('in_dir', kwargs)
|
122
|
+
if not _in_dir:
|
123
|
+
return
|
122
124
|
_in_patterns: TyArr = Dic.get_as_array(kwargs, 'in_patterns')
|
123
125
|
_scripts: TyArr = cls.sh_scripts(kwargs)
|
124
126
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ut_wdp
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.3.20251008
|
4
4
|
Summary: Utilities for Watchdog Processors
|
5
5
|
Author-email: Bernd Stroehle <bernd.stroehle@gmail.com>
|
6
6
|
Maintainer-email: Bernd Stroehle <bernd.stroehle@gmail.com>
|
@@ -13,10 +13,10 @@ Project-URL: GPLv3 License, https://www.gnu.org/licenses/gpl-3.0.en.html
|
|
13
13
|
Requires-Python: >=3.10
|
14
14
|
Description-Content-Type: text/x-rst
|
15
15
|
License-File: LICENSE.txt
|
16
|
-
Requires-Dist: ut_ctl>=1.1.
|
17
|
-
Requires-Dist: ut_dic>=1.3.
|
18
|
-
Requires-Dist: ut_log>=1.3.
|
19
|
-
Requires-Dist: ut_path>=1.3.
|
16
|
+
Requires-Dist: ut_ctl>=1.1.2.20251008
|
17
|
+
Requires-Dist: ut_dic>=1.5.3.20251008
|
18
|
+
Requires-Dist: ut_log>=1.3.3.20251008
|
19
|
+
Requires-Dist: ut_path>=1.3.5.20251005
|
20
20
|
Requires-Dist: watchdog>=6.0.0
|
21
21
|
Dynamic: license-file
|
22
22
|
|
@@ -30,7 +30,7 @@ Overview
|
|
30
30
|
|
31
31
|
.. start short_desc
|
32
32
|
|
33
|
-
**
|
33
|
+
**Watchdog Processor Utilities**
|
34
34
|
|
35
35
|
.. end short_desc
|
36
36
|
|
@@ -74,21 +74,19 @@ The Package ``ut_wdp`` consist of the following file types (c.f.: **Appendix**:
|
|
74
74
|
a. *__init__.py*
|
75
75
|
#. *__version__.py*
|
76
76
|
|
77
|
-
|
77
|
+
a. **Sub-package pmeh**
|
78
78
|
|
79
|
-
|
79
|
+
#. **Special files:**
|
80
80
|
|
81
|
-
|
81
|
+
a. *py.typed*
|
82
82
|
|
83
|
-
|
84
|
-
|
85
|
-
#. **Special modules:**
|
83
|
+
#. **Special modules:**
|
86
84
|
|
87
|
-
|
85
|
+
a. *__init__.py*
|
88
86
|
|
89
|
-
|
87
|
+
#. **Modules**
|
90
88
|
|
91
|
-
|
89
|
+
#. modules: wdp.py
|
92
90
|
|
93
91
|
Sub-package: `pmeh`
|
94
92
|
===================
|
@@ -96,37 +94,29 @@ Sub-package: `pmeh`
|
|
96
94
|
Modules
|
97
95
|
-------
|
98
96
|
|
99
|
-
The Sub-package ``pmeh`` contains the
|
100
|
-
|
101
|
-
.. pmeh-Modules-label:
|
102
|
-
.. table:: *pmeh Modules*
|
103
|
-
|
104
|
-
+------+-------------------+
|
105
|
-
|Name |Decription |
|
106
|
-
+======+===================+
|
107
|
-
|wdp.py|Watch Dog Processor|
|
108
|
-
+------+-------------------+
|
97
|
+
The Sub-package ``pmeh`` contains the module ``wdp.py`` which provides watchdog services
|
98
|
+
for pattern matchng events of file paths.
|
109
99
|
|
110
100
|
Module: wdp.py
|
111
101
|
--------------
|
112
102
|
|
113
103
|
The Module ``wdp.py`` contains the following classes:
|
114
104
|
|
115
|
-
|
116
|
-
|Name
|
117
|
-
|
118
|
-
|
|
119
|
-
|
120
|
-
|WdP
|
121
|
-
|
105
|
+
+----------+------+-------------------------------------------------------------+
|
106
|
+
|Name |Type |Description |
|
107
|
+
+==========+======+=============================================================+
|
108
|
+
|PmeHandler|normal|Custom Handler of the superclass PatternMatchingEventHandler.|
|
109
|
+
+----------+------+-------------------------------------------------------------+
|
110
|
+
|WdP |static|Watch Dog Processor |
|
111
|
+
+----------+------+-------------------------------------------------------------+
|
122
112
|
|
123
|
-
|
124
|
-
|
113
|
+
Class: PmeHandler
|
114
|
+
-----------------
|
125
115
|
|
126
116
|
The class ``CustomHandler`` contains the subsequent methods.
|
127
117
|
|
128
|
-
|
129
|
-
|
118
|
+
Methods
|
119
|
+
^^^^^^^
|
130
120
|
|
131
121
|
.. Methods-of-class-CustomHandler-label:
|
132
122
|
.. table:: *Methods of class CustomHandler*
|
@@ -141,13 +131,13 @@ CustomHandler Methods
|
|
141
131
|
|on_modified|instance|Process 'File referred by file path is modified' event|
|
142
132
|
+-----------+--------+------------------------------------------------------+
|
143
133
|
|
144
|
-
|
145
|
-
|
134
|
+
Class: WdP
|
135
|
+
----------
|
146
136
|
|
147
137
|
The static class ``WdP`` contains the subsequent methods.
|
148
138
|
|
149
|
-
|
150
|
-
|
139
|
+
Methods
|
140
|
+
^^^^^^^
|
151
141
|
|
152
142
|
.. Methods-of-class-WdP-label:
|
153
143
|
.. table:: *Methods-of-class-WdP*
|
@@ -0,0 +1,10 @@
|
|
1
|
+
ut_wdp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
ut_wdp/__version__.py,sha256=pBK0Om1dS7dpOSR2OFntXFfJf5EgdWAMoNnXO_rByh4,850
|
3
|
+
ut_wdp/pmeh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
ut_wdp/pmeh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
ut_wdp/pmeh/wdp.py,sha256=Rk2BXRoPXmZkxTdZU750xI5DXixAStE6Sr4wdVx7r24,4692
|
6
|
+
ut_wdp-1.3.3.20251008.dist-info/licenses/LICENSE.txt,sha256=J_iuINKTDamw5ae3f9kSe4pHFmUHQAn8FL_bWQfJgcg,850
|
7
|
+
ut_wdp-1.3.3.20251008.dist-info/METADATA,sha256=luDqAUTfAPLXoRGVbBZNAhkT64wrItD2nk1r7GJ_0Bg,32534
|
8
|
+
ut_wdp-1.3.3.20251008.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
ut_wdp-1.3.3.20251008.dist-info/top_level.txt,sha256=8DGyc0kJPvjla4PLttEyuCBMSXkHz3y_18J9ri0ca0k,7
|
10
|
+
ut_wdp-1.3.3.20251008.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
ut_wdp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
ut_wdp/__version__.py,sha256=Ffq9AVL9hPq0BvjQ0LwpOEoXvHx5nGWtom_D1k8Fvno,851
|
3
|
-
ut_wdp/pmeh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
ut_wdp/pmeh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
ut_wdp/pmeh/wdp.py,sha256=SZmV8oZNxtqrd0GPpW51uQrndLtPn9SLjiDbIohgoVI,4641
|
6
|
-
ut_wdp-1.3.1.20250909.dist-info/licenses/LICENSE.txt,sha256=J_iuINKTDamw5ae3f9kSe4pHFmUHQAn8FL_bWQfJgcg,850
|
7
|
-
ut_wdp-1.3.1.20250909.dist-info/METADATA,sha256=HLa2nVt6_kAFBRdqwaX1k-LXQ3viNTggbeZwKbGjotY,32687
|
8
|
-
ut_wdp-1.3.1.20250909.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
ut_wdp-1.3.1.20250909.dist-info/top_level.txt,sha256=8DGyc0kJPvjla4PLttEyuCBMSXkHz3y_18J9ri0ca0k,7
|
10
|
-
ut_wdp-1.3.1.20250909.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|