orionis 0.400.0__py3-none-any.whl → 0.401.0__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.
@@ -25,7 +25,7 @@ class Console(IConsole):
25
25
  """
26
26
  return f"{ANSIColors.TEXT_MUTED.value}{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}{ANSIColors.DEFAULT.value}"
27
27
 
28
- def __printWithBackground(self, label: str, bg_color: ANSIColors, message: str, timestamp: bool):
28
+ def __printWithBackground(self, label: str, bg_color: ANSIColors, message: str, timestamp: bool) -> None:
29
29
  """
30
30
  Prints a formatted message with a background color.
31
31
 
@@ -43,7 +43,7 @@ class Console(IConsole):
43
43
  str_time = self.__getTimestamp() if timestamp else ''
44
44
  print(f"{bg_color.value}{ANSIColors.TEXT_WHITE.value} {label} {ANSIColors.DEFAULT.value} {str_time} {message}{ANSIColors.DEFAULT.value}")
45
45
 
46
- def __printColored(self, message: str, text_color: ANSIColors):
46
+ def __printColored(self, message: str, text_color: ANSIColors) -> None:
47
47
  """
48
48
  Prints a message with a specified text color.
49
49
 
@@ -56,7 +56,7 @@ class Console(IConsole):
56
56
  """
57
57
  print(f"{text_color.value}{message}{ANSIColors.DEFAULT.value}")
58
58
 
59
- def success(self, message: str, timestamp: bool = True):
59
+ def success(self, message: str, timestamp: bool = True) -> None:
60
60
  """
61
61
  Prints a success message with a green background.
62
62
 
@@ -69,7 +69,7 @@ class Console(IConsole):
69
69
  """
70
70
  self.__printWithBackground("SUCCESS", ANSIColors.BG_SUCCESS, message, timestamp)
71
71
 
72
- def textSuccess(self, message: str):
72
+ def textSuccess(self, message: str) -> None:
73
73
  """
74
74
  Prints a success message in green.
75
75
 
@@ -80,7 +80,7 @@ class Console(IConsole):
80
80
  """
81
81
  self.__printColored(message, ANSIColors.TEXT_SUCCESS)
82
82
 
83
- def textSuccessBold(self, message: str):
83
+ def textSuccessBold(self, message: str) -> None:
84
84
  """
85
85
  Prints a bold success message in green.
86
86
 
@@ -91,7 +91,7 @@ class Console(IConsole):
91
91
  """
92
92
  self.__printColored(message, ANSIColors.TEXT_BOLD_SUCCESS)
93
93
 
94
- def info(self, message: str, timestamp: bool = True):
94
+ def info(self, message: str, timestamp: bool = True) -> None:
95
95
  """
96
96
  Prints an informational message with a blue background.
97
97
 
@@ -104,7 +104,7 @@ class Console(IConsole):
104
104
  """
105
105
  self.__printWithBackground("INFO", ANSIColors.BG_INFO, message, timestamp)
106
106
 
107
- def textInfo(self, message: str):
107
+ def textInfo(self, message: str) -> None:
108
108
  """
109
109
  Prints an informational message in blue.
110
110
 
@@ -115,7 +115,7 @@ class Console(IConsole):
115
115
  """
116
116
  self.__printColored(message, ANSIColors.TEXT_INFO)
117
117
 
118
- def textInfoBold(self, message: str):
118
+ def textInfoBold(self, message: str) -> None:
119
119
  """
120
120
  Prints a bold informational message in blue.
121
121
 
@@ -126,7 +126,7 @@ class Console(IConsole):
126
126
  """
127
127
  self.__printColored(message, ANSIColors.TEXT_BOLD_INFO)
128
128
 
129
- def warning(self, message: str, timestamp: bool = True):
129
+ def warning(self, message: str, timestamp: bool = True) -> None:
130
130
  """
131
131
  Prints a warning message with a yellow background.
132
132
 
@@ -139,7 +139,7 @@ class Console(IConsole):
139
139
  """
140
140
  self.__printWithBackground("WARNING", ANSIColors.BG_WARNING, message, timestamp)
141
141
 
142
- def textWarning(self, message: str):
142
+ def textWarning(self, message: str) -> None:
143
143
  """
144
144
  Prints a warning message in yellow.
145
145
 
@@ -150,7 +150,7 @@ class Console(IConsole):
150
150
  """
151
151
  self.__printColored(message, ANSIColors.TEXT_WARNING)
152
152
 
153
- def textWarningBold(self, message: str):
153
+ def textWarningBold(self, message: str) -> None:
154
154
  """
155
155
  Prints a bold warning message in yellow.
156
156
 
@@ -161,7 +161,7 @@ class Console(IConsole):
161
161
  """
162
162
  self.__printColored(message, ANSIColors.TEXT_BOLD_WARNING)
163
163
 
164
- def fail(self, message: str, timestamp: bool = True):
164
+ def fail(self, message: str, timestamp: bool = True) -> None:
165
165
  """
166
166
  Prints a failure message with a red background.
167
167
 
@@ -174,7 +174,7 @@ class Console(IConsole):
174
174
  """
175
175
  self.__printWithBackground("FAIL", ANSIColors.BG_FAIL, message, timestamp)
176
176
 
177
- def error(self, message: str, timestamp: bool = True):
177
+ def error(self, message: str, timestamp: bool = True) -> None:
178
178
  """
179
179
  Prints an error message with a red background.
180
180
 
@@ -187,7 +187,7 @@ class Console(IConsole):
187
187
  """
188
188
  self.__printWithBackground("ERROR", ANSIColors.BG_ERROR, message, timestamp)
189
189
 
190
- def textError(self, message: str):
190
+ def textError(self, message: str) -> None:
191
191
  """
192
192
  Prints an error message in red.
193
193
 
@@ -198,7 +198,7 @@ class Console(IConsole):
198
198
  """
199
199
  self.__printColored(message, ANSIColors.TEXT_ERROR)
200
200
 
201
- def textErrorBold(self, message: str):
201
+ def textErrorBold(self, message: str) -> None:
202
202
  """
203
203
  Prints a bold error message in red.
204
204
 
@@ -209,7 +209,7 @@ class Console(IConsole):
209
209
  """
210
210
  self.__printColored(message, ANSIColors.TEXT_BOLD_ERROR)
211
211
 
212
- def textMuted(self, message: str):
212
+ def textMuted(self, message: str) -> None:
213
213
  """
214
214
  Prints a muted (gray) message.
215
215
 
@@ -220,7 +220,7 @@ class Console(IConsole):
220
220
  """
221
221
  self.__printColored(message, ANSIColors.TEXT_MUTED)
222
222
 
223
- def textMutedBold(self, message: str):
223
+ def textMutedBold(self, message: str) -> None:
224
224
  """
225
225
  Prints a bold muted (gray) message.
226
226
 
@@ -231,7 +231,7 @@ class Console(IConsole):
231
231
  """
232
232
  self.__printColored(message, ANSIColors.TEXT_BOLD_MUTED)
233
233
 
234
- def textUnderline(self, message: str):
234
+ def textUnderline(self, message: str) -> None:
235
235
  """
236
236
  Prints an underlined message.
237
237
 
@@ -242,26 +242,26 @@ class Console(IConsole):
242
242
  """
243
243
  print(f"{ANSIColors.TEXT_STYLE_UNDERLINE.value}{message}{ANSIColors.DEFAULT.value}")
244
244
 
245
- def clear(self):
245
+ def clear(self) -> None:
246
246
  """
247
247
  Clears the console screen.
248
248
  """
249
249
  os.system('cls' if os.name == 'nt' else 'clear')
250
250
 
251
- def clearLine(self):
251
+ def clearLine(self) -> None:
252
252
  """
253
253
  Clears the current line in the console.
254
254
  """
255
255
  sys.stdout.write("\r \r")
256
256
  sys.stdout.flush()
257
257
 
258
- def line(self):
258
+ def line(self) -> None:
259
259
  """
260
260
  Prints a horizontal line in the console.
261
261
  """
262
262
  print("\n", end="")
263
263
 
264
- def newLine(self, count: int = 1):
264
+ def newLine(self, count: int = 1) -> None:
265
265
  """
266
266
  Prints multiple new lines.
267
267
 
@@ -279,7 +279,7 @@ class Console(IConsole):
279
279
  raise ValueError(f"Unsupported Value '{count}'")
280
280
  print("\n" * count, end="")
281
281
 
282
- def write(self, message: str):
282
+ def write(self, message: str) -> None:
283
283
  """
284
284
  Prints a message without moving to the next line.
285
285
 
@@ -291,7 +291,7 @@ class Console(IConsole):
291
291
  sys.stdout.write(f"{message}")
292
292
  sys.stdout.flush()
293
293
 
294
- def writeLine(self, message: str):
294
+ def writeLine(self, message: str) -> None:
295
295
  """
296
296
  Prints a message and moves to the next line.
297
297
 
@@ -355,7 +355,7 @@ class Console(IConsole):
355
355
  """
356
356
  return getpass.getpass(f"{ANSIColors.TEXT_INFO.value}{str(question).strip()}{ANSIColors.DEFAULT.value} ")
357
357
 
358
- def table(self, headers: list, rows: list):
358
+ def table(self, headers: list, rows: list) -> None:
359
359
  """
360
360
  Prints a table in the console with the given headers and rows, with bold headers.
361
361
 
@@ -402,7 +402,7 @@ class Console(IConsole):
402
402
 
403
403
  print(bottom_border)
404
404
 
405
- def anticipate(self, question: str, options: list, default=None):
405
+ def anticipate(self, question: str, options: list, default=None) -> str:
406
406
  """
407
407
  Provides autocomplete suggestions based on user input.
408
408
 
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.400.0"
8
+ VERSION = "0.401.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.400.0
3
+ Version: 0.401.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -106,7 +106,7 @@ orionis/console/dynamic/progress_bar.py,sha256=ZoBTpKa-3kef5dD58XF89dq4fjChOWUuJ
106
106
  orionis/console/dynamic/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
107
  orionis/console/dynamic/contracts/progress_bar.py,sha256=sOkQzQsliFemqZHMyzs4fWhNJfXDTk5KH3aExReetSE,1760
108
108
  orionis/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
- orionis/console/output/console.py,sha256=HO_s-3z0nEglp0euodYJ4-p5FpSHZoMGJnfwwbo-Xhs,18376
109
+ orionis/console/output/console.py,sha256=QYV4M2NCGMb2GBUmle5_iAJSXkfbBjfj9gfygiMCCrI,18583
110
110
  orionis/console/output/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
111
  orionis/console/output/contracts/console.py,sha256=F2c1jC_O61o7jDiXwAeZAOEodEhuCppMbx_yDJvm6rU,11915
112
112
  orionis/console/output/enums/__init__.py,sha256=LAaAxg-DpArCjf_jqZ0_9s3p8899gntDYkSU_ppTdC8,66
@@ -249,7 +249,7 @@ orionis/foundation/providers/path_resolver_provider.py,sha256=rXvaVc5sSqmDgRzWJo
249
249
  orionis/foundation/providers/progress_bar_provider.py,sha256=75Jr4iEgUOUGl8Di1DioeP5_HRQlR-1lVzPmS96sWjA,737
250
250
  orionis/foundation/providers/workers_provider.py,sha256=WWlji3C69_-Y0c42aZDbR_bmcE_qZEh2SaA_cNkCivI,702
251
251
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
252
- orionis/metadata/framework.py,sha256=cjv4CHVM62AzFx5-htVVpWEHinon7yMVjzb5Y-1YemA,4960
252
+ orionis/metadata/framework.py,sha256=MLtGTsXjWHcB5c3RgU7UBQwFK4J8P7LcyvlGs6KMKkc,4960
253
253
  orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
254
254
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -386,7 +386,7 @@ orionis/test/records/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
386
386
  orionis/test/records/logs.py,sha256=EOQcloMVdhlNl2lU9igQz8H4b-OtKtiwh2pgr_QZWOI,13186
387
387
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
388
388
  orionis/test/view/render.py,sha256=zd7xDvVfmQ2HxZamDTzL2-z2PpyL99EaolbbM7wTah4,5014
389
- orionis-0.400.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
389
+ orionis-0.401.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
390
390
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
391
391
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
392
  tests/example/test_example.py,sha256=yctjQT5ocYEu__kNvJxmQJ-l5yxRMkohwcfYWSjWDVo,25566
@@ -487,8 +487,8 @@ tests/support/wrapper/test_services_wrapper_docdict.py,sha256=nTNrvJkMSPx_aopEQ9
487
487
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
488
488
  tests/testing/test_testing_result.py,sha256=fnH7hjumNSErAFGITJgq2LHxSzvPF2tdtmHL9kyAv-Y,4409
489
489
  tests/testing/test_testing_unit.py,sha256=d3CRGo6608fMzYcZKIKapjx_af2aigqWiKSiuK9euIY,7600
490
- orionis-0.400.0.dist-info/METADATA,sha256=UEh4Wj-neUiv_E3PcTpu72nc1EoshadIzPwiSAPh_QU,4772
491
- orionis-0.400.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
- orionis-0.400.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
- orionis-0.400.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
- orionis-0.400.0.dist-info/RECORD,,
490
+ orionis-0.401.0.dist-info/METADATA,sha256=zemxSu70wMLycOtdjYYtp5aW6MjkdPBBhBEkC8yWLg4,4772
491
+ orionis-0.401.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
+ orionis-0.401.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
+ orionis-0.401.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
+ orionis-0.401.0.dist-info/RECORD,,