encommon 0.22.10__py3-none-any.whl → 0.22.11__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.
- encommon/times/timers.py +2 -1
- encommon/times/windows.py +2 -1
- encommon/types/__init__.py +2 -0
- encommon/types/notate.py +3 -2
- encommon/types/types.py +1 -0
- encommon/version.txt +1 -1
- {encommon-0.22.10.dist-info → encommon-0.22.11.dist-info}/METADATA +1 -1
- {encommon-0.22.10.dist-info → encommon-0.22.11.dist-info}/RECORD +11 -11
- {encommon-0.22.10.dist-info → encommon-0.22.11.dist-info}/WHEEL +1 -1
- {encommon-0.22.10.dist-info → encommon-0.22.11.dist-info}/licenses/LICENSE +0 -0
- {encommon-0.22.10.dist-info → encommon-0.22.11.dist-info}/top_level.txt +0 -0
encommon/times/timers.py
CHANGED
@@ -30,6 +30,7 @@ from .time import Time
|
|
30
30
|
from .timer import Timer
|
31
31
|
from ..types import BaseModel
|
32
32
|
from ..types import DictStrAny
|
33
|
+
from ..types import LDictStrAny
|
33
34
|
|
34
35
|
if TYPE_CHECKING:
|
35
36
|
from .params import TimerParams
|
@@ -366,7 +367,7 @@ class Timers:
|
|
366
367
|
childs = self.__childs
|
367
368
|
|
368
369
|
|
369
|
-
inserts:
|
370
|
+
inserts: LDictStrAny = []
|
370
371
|
|
371
372
|
update = Time('now')
|
372
373
|
|
encommon/times/windows.py
CHANGED
@@ -30,6 +30,7 @@ from .time import Time
|
|
30
30
|
from .window import Window
|
31
31
|
from ..types import BaseModel
|
32
32
|
from ..types import DictStrAny
|
33
|
+
from ..types import LDictStrAny
|
33
34
|
|
34
35
|
if TYPE_CHECKING:
|
35
36
|
from .params import WindowParams
|
@@ -417,7 +418,7 @@ class Windows:
|
|
417
418
|
childs = self.__childs
|
418
419
|
|
419
420
|
|
420
|
-
inserts:
|
421
|
+
inserts: LDictStrAny = []
|
421
422
|
|
422
423
|
update = Time('now')
|
423
424
|
|
encommon/types/__init__.py
CHANGED
@@ -28,6 +28,7 @@ from .strings import instr
|
|
28
28
|
from .strings import rplstr
|
29
29
|
from .strings import strplwr
|
30
30
|
from .types import DictStrAny
|
31
|
+
from .types import LDictStrAny
|
31
32
|
from .types import NCFalse
|
32
33
|
from .types import NCNone
|
33
34
|
from .types import NCTrue
|
@@ -51,6 +52,7 @@ __all__ = [
|
|
51
52
|
'inrepr',
|
52
53
|
'instr',
|
53
54
|
'lattrs',
|
55
|
+
'LDictStrAny',
|
54
56
|
'merge_dicts',
|
55
57
|
'rplstr',
|
56
58
|
'setate',
|
encommon/types/notate.py
CHANGED
@@ -16,6 +16,7 @@ from typing import Union
|
|
16
16
|
|
17
17
|
from .empty import Empty
|
18
18
|
from .types import DictStrAny
|
19
|
+
from .types import LDictStrAny
|
19
20
|
|
20
21
|
|
21
22
|
|
@@ -194,13 +195,13 @@ def delate(
|
|
194
195
|
|
195
196
|
|
196
197
|
def impate( # noqa: CFQ001,CFQ004
|
197
|
-
source: DictStrAny |
|
198
|
+
source: DictStrAny | LDictStrAny,
|
198
199
|
delim: str = '/',
|
199
200
|
parent: Optional[str] = None,
|
200
201
|
*,
|
201
202
|
implode_list: bool = True,
|
202
203
|
recurse_list: bool = True,
|
203
|
-
) -> DictStrAny |
|
204
|
+
) -> DictStrAny | LDictStrAny:
|
204
205
|
"""
|
205
206
|
Implode the dictionary into a single depth of notation.
|
206
207
|
|
encommon/types/types.py
CHANGED
encommon/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.22.
|
1
|
+
0.22.11
|
@@ -1,7 +1,7 @@
|
|
1
1
|
encommon/__init__.py,sha256=YDGzuhpk5Gd1hq54LI0hw1NrrDvrJDrvH20TEy_0l5E,443
|
2
2
|
encommon/conftest.py,sha256=I7Zl2cMytnA-mwSPh0rRjsU0YSlES94jQq6mocRhVUE,1884
|
3
3
|
encommon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
encommon/version.txt,sha256=
|
4
|
+
encommon/version.txt,sha256=ILE5n6OSAOfC9vtNH6pNZaWxTvz5tEy32fg3v7LSwUk,8
|
5
5
|
encommon/colors/__init__.py,sha256=XRiGimMj8oo040NO5a5ZsbsIUxaGVW4tf4xWTPWgnZY,269
|
6
6
|
encommon/colors/color.py,sha256=vdOqOsJYJcrGq0b4udegrn4E8gcuVGx6iTRg3_s8Z-Q,11798
|
7
7
|
encommon/colors/test/__init__.py,sha256=PjrnBYT0efyvbaGeNx94dm3tP3EVHUHSVs-VGeLEv5g,218
|
@@ -39,11 +39,11 @@ encommon/times/params.py,sha256=qg0mLkXVsl54m72kd9uXRvmYKqUR_Ag5PBfnTsrwQhE,4360
|
|
39
39
|
encommon/times/parse.py,sha256=KGHGdtimrqpbyTwjhZUPgXHQqGaeDdxX8t8PrVEbwSc,6626
|
40
40
|
encommon/times/time.py,sha256=Px_9Ifae7GKSY557FAbG1g9cwy3a6VZL09puAbinztQ,11745
|
41
41
|
encommon/times/timer.py,sha256=xxS6KVXFuRLq-RkXWMR7MMX5x0HGrEhLlOhRCecuCZY,3225
|
42
|
-
encommon/times/timers.py,sha256=
|
42
|
+
encommon/times/timers.py,sha256=UhrrrRHkeA-3ek3hOA2Y9zHJImvurjFuaPJ7LxHvlPc,12279
|
43
43
|
encommon/times/unitime.py,sha256=MwYUJBdX_Rj7pW8QoMtZMUyHa4lsdZKryTdBCpVjnpY,1316
|
44
44
|
encommon/times/utils.py,sha256=PJ5QsKb3_pYEnD3Sz81d8QDhYQtTIj4HJfMoC9gNwmo,3100
|
45
45
|
encommon/times/window.py,sha256=_b55R4U5X5oeTS2PbTZHfOaNANl2WM2TRCP4-J6QLnE,8423
|
46
|
-
encommon/times/windows.py,sha256=
|
46
|
+
encommon/times/windows.py,sha256=THZ9qwwwYctAbVP4cQWdVUINTdndbhKES3kWzphSDN4,14098
|
47
47
|
encommon/times/test/__init__.py,sha256=PjrnBYT0efyvbaGeNx94dm3tP3EVHUHSVs-VGeLEv5g,218
|
48
48
|
encommon/times/test/test_duration.py,sha256=3Tw6Y_ah36GCJl4vZ76z4Jt7rIxcm9P18-A69qsbLjI,4224
|
49
49
|
encommon/times/test/test_params.py,sha256=kHvs-WvKfPQCdCDnPU9tAyMVXmzH3eUjwQN-QdWBeh4,1407
|
@@ -55,15 +55,15 @@ encommon/times/test/test_unitime.py,sha256=5i4UjBCw8R9h-Lw963GfB_dHBMEQhjvv1k-t2
|
|
55
55
|
encommon/times/test/test_utils.py,sha256=WkzHJY6zOt02Ujg5FItOo1nPtktz5ss8ODmG1tRQaaw,2056
|
56
56
|
encommon/times/test/test_window.py,sha256=6ySO5DaYzg1bsVNCqB6u71rKWc0vpolxQ09ruoswN2c,6138
|
57
57
|
encommon/times/test/test_windows.py,sha256=HCx3SmAgAcuFoAm4YbRVWooKO38fcajul1zf6rsTIUk,4810
|
58
|
-
encommon/types/__init__.py,sha256=
|
58
|
+
encommon/types/__init__.py,sha256=GWrmG11ebTpTtNEHEZB8paeVuTnpj0Ktrjjq1F2rjpg,1319
|
59
59
|
encommon/types/classes.py,sha256=FYFTu8Uj-74JWudHOlhaOrsXXPxitorBfM9_QM3EGSU,1689
|
60
60
|
encommon/types/dicts.py,sha256=IuLoVdtilhM83ujT74mcz0Zi1HI87P4k7wjnnyMxPag,2821
|
61
61
|
encommon/types/empty.py,sha256=5ykxcpoGtOyxDPW0DPPrT1q1mZxTOL2KuBqwkM5SXHc,2738
|
62
62
|
encommon/types/funcs.py,sha256=2nCAwFKY9XEsDb8bC9l5AsXyec1XyTdEIJLRzaXp_8w,964
|
63
63
|
encommon/types/lists.py,sha256=AX-siqXfLwm_5mGDsomg_7XWalZOYLE60D3wHwbNEzo,2358
|
64
|
-
encommon/types/notate.py,sha256=
|
64
|
+
encommon/types/notate.py,sha256=AhV-zdS2pg-sApm1nl-R9yfnAm9ggz_IIL4C1539gic,10719
|
65
65
|
encommon/types/strings.py,sha256=LW2WZND64cKE1LhNip3vqsoP3elLsUP6cpS0dYnUKGE,2800
|
66
|
-
encommon/types/types.py,sha256=
|
66
|
+
encommon/types/types.py,sha256=XkfQAN7EglavutOE2VMEClQi21T0yuIAxGB9lzfnQBg,353
|
67
67
|
encommon/types/test/__init__.py,sha256=WZm1yZbFd2VQg-E1b6a02E6V2QXmIWiW5TIiKFFPV-s,910
|
68
68
|
encommon/types/test/test_classes.py,sha256=PopL2yuB9-JaEor6fUJkK9TZ9-SRfYWAIH8ZZd-mGbI,1502
|
69
69
|
encommon/types/test/test_dicts.py,sha256=W--IcPwvdKaFGs_00tvWBGziFSA0wtDQMuPk4rl0gKU,3651
|
@@ -131,8 +131,8 @@ encommon/webkit/test/test_moderate.py,sha256=KitKGBtwHOQm0pXXZA5nl9MwAi2pbHOsKhM
|
|
131
131
|
encommon/webkit/test/test_numeric.py,sha256=9Jqiyo-Bh572QJSyd3gqRwYTifnqqzE7_cNCmLn0CG0,3531
|
132
132
|
encommon/webkit/test/test_statate.py,sha256=4VvmyJhsK3TSK-hq3TzkzwPkXY-GPTU_7uJf-zG_y_s,1760
|
133
133
|
encommon/webkit/test/test_tagues.py,sha256=LQWk6rSBoBxAu-YmUOU8uWNki5RBzk5lp0dbFpySg68,1431
|
134
|
-
encommon-0.22.
|
135
|
-
encommon-0.22.
|
136
|
-
encommon-0.22.
|
137
|
-
encommon-0.22.
|
138
|
-
encommon-0.22.
|
134
|
+
encommon-0.22.11.dist-info/licenses/LICENSE,sha256=otnXKCtMjPlbHs0wgZ_BWULrp3g_2dWQJ6icRk9nkgg,1071
|
135
|
+
encommon-0.22.11.dist-info/METADATA,sha256=Qf98OZonvm0VnWo3zh1polb1w1qcuR5L8iYIaxyQuEU,4305
|
136
|
+
encommon-0.22.11.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
137
|
+
encommon-0.22.11.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
|
138
|
+
encommon-0.22.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|