dycw-utilities 0.126.6__py3-none-any.whl → 0.126.7__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.
- {dycw_utilities-0.126.6.dist-info → dycw_utilities-0.126.7.dist-info}/METADATA +1 -1
- {dycw_utilities-0.126.6.dist-info → dycw_utilities-0.126.7.dist-info}/RECORD +6 -6
- utilities/__init__.py +1 -1
- utilities/click.py +15 -1
- {dycw_utilities-0.126.6.dist-info → dycw_utilities-0.126.7.dist-info}/WHEEL +0 -0
- {dycw_utilities-0.126.6.dist-info → dycw_utilities-0.126.7.dist-info}/licenses/LICENSE +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
utilities/__init__.py,sha256=
|
1
|
+
utilities/__init__.py,sha256=k4Q-FdII9KXkuYXSZgXMDtdGhp9lcKoxpPtcuL_YIlQ,60
|
2
2
|
utilities/altair.py,sha256=Gpja-flOo-Db0PIPJLJsgzAlXWoKUjPU1qY-DQ829ek,9156
|
3
3
|
utilities/asyncio.py,sha256=K5Kj7rsM0nA17-b7d7mrNgPR1U_NbkfQmTruq5LBLRA,51778
|
4
4
|
utilities/atomicwrites.py,sha256=geFjn9Pwn-tTrtoGjDDxWli9NqbYfy3gGL6ZBctiqSo,5393
|
5
5
|
utilities/atools.py,sha256=IYMuFSFGSKyuQmqD6v5IUtDlz8PPw0Sr87Cub_gRU3M,1168
|
6
6
|
utilities/cachetools.py,sha256=C1zqOg7BYz0IfQFK8e3qaDDgEZxDpo47F15RTfJM37Q,2910
|
7
|
-
utilities/click.py,sha256=
|
7
|
+
utilities/click.py,sha256=CianelgUj_M2SBpuvhmRPKOGxuvLM04FHllUWtL7hok,14647
|
8
8
|
utilities/concurrent.py,sha256=s2scTEd2AhXVTW4hpASU2qxV_DiVLALfms55cCQzCvM,2886
|
9
9
|
utilities/contextlib.py,sha256=lpaLJBy3X0UGLWjM98jkQZZq8so4fRmoK-Bheq0uOW4,1027
|
10
10
|
utilities/contextvars.py,sha256=RsSGGrbQqqZ67rOydnM7WWIsM2lIE31UHJLejnHJPWY,505
|
@@ -91,7 +91,7 @@ utilities/warnings.py,sha256=un1LvHv70PU-LLv8RxPVmugTzDJkkGXRMZTE2-fTQHw,1771
|
|
91
91
|
utilities/whenever.py,sha256=jS31ZAY5OMxFxLja_Yo5Fidi87Pd-GoVZ7Vi_teqVDA,16743
|
92
92
|
utilities/zipfile.py,sha256=24lQc9ATcJxHXBPc_tBDiJk48pWyRrlxO2fIsFxU0A8,699
|
93
93
|
utilities/zoneinfo.py,sha256=-5j7IQ9nb7gR43rdgA7ms05im-XuqhAk9EJnQBXxCoQ,1874
|
94
|
-
dycw_utilities-0.126.
|
95
|
-
dycw_utilities-0.126.
|
96
|
-
dycw_utilities-0.126.
|
97
|
-
dycw_utilities-0.126.
|
94
|
+
dycw_utilities-0.126.7.dist-info/METADATA,sha256=YC7obEXSZCW1WxlqW0Ljgu2ZI8uM1kUwPPrrODeVHvk,12849
|
95
|
+
dycw_utilities-0.126.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
96
|
+
dycw_utilities-0.126.7.dist-info/licenses/LICENSE,sha256=gppZp16M6nSVpBbUBrNL6JuYfvKwZiKgV7XoKKsHzqo,1066
|
97
|
+
dycw_utilities-0.126.7.dist-info/RECORD,,
|
utilities/__init__.py
CHANGED
utilities/click.py
CHANGED
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
2
2
|
|
3
3
|
import datetime as dt
|
4
4
|
import pathlib
|
5
|
-
from typing import TYPE_CHECKING, Generic, TypeVar, override
|
5
|
+
from typing import TYPE_CHECKING, Generic, TypedDict, TypeVar, override
|
6
6
|
from uuid import UUID
|
7
7
|
|
8
8
|
import click
|
@@ -49,6 +49,19 @@ ExistingDirPath = click.Path(
|
|
49
49
|
)
|
50
50
|
|
51
51
|
|
52
|
+
class _HelpOptionNames(TypedDict):
|
53
|
+
help_option_names: Sequence[str]
|
54
|
+
|
55
|
+
|
56
|
+
class _ContextSettings(TypedDict):
|
57
|
+
context_settings: _HelpOptionNames
|
58
|
+
|
59
|
+
|
60
|
+
CONTEXT_SETTINGS_HELP_OPTION_NAMES = _ContextSettings(
|
61
|
+
context_settings=_HelpOptionNames(help_option_names=["-h", "--help"])
|
62
|
+
)
|
63
|
+
|
64
|
+
|
52
65
|
# parameters
|
53
66
|
|
54
67
|
|
@@ -480,6 +493,7 @@ def _make_metavar(param: Parameter, desc: str, /) -> str:
|
|
480
493
|
|
481
494
|
|
482
495
|
__all__ = [
|
496
|
+
"CONTEXT_SETTINGS_HELP_OPTION_NAMES",
|
483
497
|
"Date",
|
484
498
|
"DirPath",
|
485
499
|
"Duration",
|
File without changes
|
File without changes
|