iker-python-common 1.0.48__py3-none-any.whl → 1.0.49__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.
@@ -46,16 +46,16 @@ def basic_date_format() -> str:
46
46
 
47
47
 
48
48
  @memorized
49
- def basic_time_format(with_ms: bool = False, with_tz: bool = False) -> str:
49
+ def basic_time_format(with_us: bool = False, with_tz: bool = False) -> str:
50
50
  """
51
- Returns the basic time format string, with optional milliseconds and timezone.
51
+ Returns the basic time format string, with optional microseconds and timezone.
52
52
 
53
- :param with_ms: If ``True``, include milliseconds in the format.
53
+ :param with_us: If ``True``, include microseconds in the format.
54
54
  :param with_tz: If ``True``, include timezone in the format.
55
55
  :return: The basic time format string.
56
56
  """
57
57
  fmt_str = "T%H%M%S"
58
- if with_ms:
58
+ if with_us:
59
59
  fmt_str = fmt_str + ".%f"
60
60
  if with_tz:
61
61
  fmt_str = fmt_str + "%z"
@@ -63,15 +63,15 @@ def basic_time_format(with_ms: bool = False, with_tz: bool = False) -> str:
63
63
 
64
64
 
65
65
  @memorized
66
- def basic_format(with_ms: bool = False, with_tz: bool = False) -> str:
66
+ def basic_format(with_us: bool = False, with_tz: bool = False) -> str:
67
67
  """
68
- Returns the basic combined date and time format string, with optional milliseconds and timezone.
68
+ Returns the basic combined date and time format string, with optional microseconds and timezone.
69
69
 
70
- :param with_ms: If ``True``, include milliseconds in the time format.
70
+ :param with_us: If ``True``, include microseconds in the time format.
71
71
  :param with_tz: If ``True``, include timezone in the time format.
72
72
  :return: The basic combined date and time format string.
73
73
  """
74
- return basic_date_format() + basic_time_format(with_ms, with_tz)
74
+ return basic_date_format() + basic_time_format(with_us, with_tz)
75
75
 
76
76
 
77
77
  @singleton
@@ -85,16 +85,16 @@ def extended_date_format() -> str:
85
85
 
86
86
 
87
87
  @memorized
88
- def extended_time_format(with_ms: bool = False, with_tz: bool = False) -> str:
88
+ def extended_time_format(with_us: bool = False, with_tz: bool = False) -> str:
89
89
  """
90
- Returns the extended time format string, with optional milliseconds and timezone.
90
+ Returns the extended time format string, with optional microseconds and timezone.
91
91
 
92
- :param with_ms: If ``True``, include milliseconds in the format.
92
+ :param with_us: If ``True``, include microseconds in the format.
93
93
  :param with_tz: If ``True``, include timezone in the format.
94
94
  :return: The extended time format string.
95
95
  """
96
96
  fmt_str = "T%H:%M:%S"
97
- if with_ms:
97
+ if with_us:
98
98
  fmt_str = fmt_str + ".%f"
99
99
  if with_tz:
100
100
  fmt_str = fmt_str + "%:z"
@@ -102,15 +102,15 @@ def extended_time_format(with_ms: bool = False, with_tz: bool = False) -> str:
102
102
 
103
103
 
104
104
  @memorized
105
- def extended_format(with_ms: bool = False, with_tz: bool = False) -> str:
105
+ def extended_format(with_us: bool = False, with_tz: bool = False) -> str:
106
106
  """
107
- Returns the extended combined date and time format string, with optional milliseconds and timezone.
107
+ Returns the extended combined date and time format string, with optional microseconds and timezone.
108
108
 
109
- :param with_ms: If ``True``, include milliseconds in the time format.
109
+ :param with_us: If ``True``, include microseconds in the time format.
110
110
  :param with_tz: If ``True``, include timezone in the time format.
111
111
  :return: The extended combined date and time format string.
112
112
  """
113
- return extended_date_format() + extended_time_format(with_ms, with_tz)
113
+ return extended_date_format() + extended_time_format(with_us, with_tz)
114
114
 
115
115
 
116
116
  iso_date_format = extended_date_format
@@ -122,7 +122,7 @@ iso_format = extended_format
122
122
  def iso_formats() -> list[str]:
123
123
  """
124
124
  Returns a list of supported ISO 8601 date and time format strings, including both basic and extended forms, with
125
- optional milliseconds and timezone.
125
+ optional microseconds and timezone.
126
126
 
127
127
  :return: A list of ISO 8601 format strings.
128
128
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iker-python-common
3
- Version: 1.0.48
3
+ Version: 1.0.49
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.11
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -5,7 +5,7 @@ iker/common/utils/config.py,sha256=z8rLqli961A-qAV9EaELp-pKuhNUNaq1Btdv-uwG7_I,4
5
5
  iker/common/utils/csv.py,sha256=_V9OUrKcojec2L-hWagEIVnL2uvGjyJAFTrD7tHNr48,7573
6
6
  iker/common/utils/dbutils.py,sha256=lUcYKP26y4FGygMPs8SlW-PjDSZcvZO0e-cOkT2XqCY,11076
7
7
  iker/common/utils/dockerutils.py,sha256=n2WuzXaZB6_WocSljvPOnfExSIjIHRUbuWp2oBbaPKQ,8004
8
- iker/common/utils/dtutils.py,sha256=7O_VyzK2RjFTGtYosGxSmPcq3GdG-p-Q1L5rOgkd_o8,11908
8
+ iker/common/utils/dtutils.py,sha256=fY7nVb0UBX5f4P8s_dHBv3vL0hTDbr3jlV3OjU89sxs,11908
9
9
  iker/common/utils/funcutils.py,sha256=A08f5wjoLgLQKyRJcYeWJnqVm2QcerIx0l-Se2600bc,5869
10
10
  iker/common/utils/jsonutils.py,sha256=xYKimWtsqQKiQDQr3EMIhpGrmWSNPzgZR1Sdz60CxSo,16536
11
11
  iker/common/utils/logger.py,sha256=FJaai6Sbchy4wKHcUMUCrrkBcXvIxq4qByERZ_TJBps,3881
@@ -19,7 +19,7 @@ iker/common/utils/span.py,sha256=yiXqk86cLKxkMdkO3pAHEfU5bUvHsGo3p--pAWo_yfM,599
19
19
  iker/common/utils/strutils.py,sha256=Tu_qFeH3K-SfwvMxdrZAc9iLPV8ZmtX4ntyyFGNslf8,5094
20
20
  iker/common/utils/testutils.py,sha256=60c3DAZxj0D6EKOhDRQdcBiqV4kMBJGXFpbnyKkfgvg,5554
21
21
  iker/common/utils/typeutils.py,sha256=RVkYkFRgDrx77OHFH7PavMV0AIB0S8ly40rs4g7JWE4,8220
22
- iker_python_common-1.0.48.dist-info/METADATA,sha256=R907c-XccNxFFT_2g4JSYi_yuRMHokqm12NxIwvq8CA,1001
23
- iker_python_common-1.0.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- iker_python_common-1.0.48.dist-info/top_level.txt,sha256=4_B8Prfc_lxFafFYTQThIU1ZqOYQ4pHHHnJ_fQ_oHs8,5
25
- iker_python_common-1.0.48.dist-info/RECORD,,
22
+ iker_python_common-1.0.49.dist-info/METADATA,sha256=2UvkILO7DuIVXXS-pLIHJmeHOZ-ZcxZc892J8jNUO5k,1001
23
+ iker_python_common-1.0.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ iker_python_common-1.0.49.dist-info/top_level.txt,sha256=4_B8Prfc_lxFafFYTQThIU1ZqOYQ4pHHHnJ_fQ_oHs8,5
25
+ iker_python_common-1.0.49.dist-info/RECORD,,