orionis 0.279.0__py3-none-any.whl → 0.281.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.
@@ -1,4 +1,4 @@
1
- from orionis.framework import NAME
1
+ from orionis.metadata.framework import NAME
2
2
  from orionis.console.base.command import BaseCommand
3
3
  from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
4
4
  from orionis._contracts.application import IApplication
@@ -1,4 +1,4 @@
1
- from orionis.framework import VERSION
1
+ from orionis.metadata.framework import VERSION
2
2
  from orionis.console.base.command import BaseCommand
3
3
  from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
4
4
 
File without changes
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.279.0"
8
+ VERSION = "0.281.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,9 +1,9 @@
1
1
  import requests
2
- from orionis.framework import API
2
+ from orionis.metadata.framework import API
3
3
 
4
- class OrionisFrameworkApi:
4
+ class PypiPackageApi:
5
5
  """
6
- OrionisFrameworkApi provides an interface to fetch and access metadata about the Orionis package from PyPI.
6
+ PypiPackageApi provides an interface to fetch and access metadata about the Orionis package from PyPI.
7
7
  This class initializes by retrieving package information from the PyPI JSON API for the 'orionis' package.
8
8
  It exposes various methods to access metadata such as the package name, version, author, description, license,
9
9
  classifiers, required Python version, keywords, and project URLs.
@@ -19,6 +19,7 @@ from orionis.test.entities.test_result import TestResult
19
19
  from orionis.test.enums.test_mode import ExecutionMode
20
20
  from orionis.test.enums.test_status import TestStatus
21
21
  from orionis.test.exceptions.test_failure_exception import OrionisTestFailureException
22
+ from rich.live import Live
22
23
 
23
24
  class UnitTest(IUnitTest):
24
25
  """
@@ -258,15 +259,28 @@ class UnitTest(IUnitTest):
258
259
  self.start_time = time.time()
259
260
  self._startMessage()
260
261
 
261
- # Setup output capture
262
- output_buffer = io.StringIO()
263
- error_buffer = io.StringIO()
262
+ # Elegant "running" message using Rich Panel
263
+ running_panel = Panel(
264
+ "[bold yellow]⏳ Running tests...[/bold yellow]\n[dim]This may take a few seconds. Please wait...[/dim]",
265
+ border_style="yellow",
266
+ title="In Progress",
267
+ title_align="left",
268
+ width=self.width_output_component,
269
+ padding=(1, 2)
270
+ )
264
271
 
265
- # Execute tests based on selected mode
266
- if self.execution_mode == ExecutionMode.PARALLEL.value:
267
- result = self._runTestsInParallel(output_buffer, error_buffer)
268
- else:
269
- result = self._runTestsSequentially(output_buffer, error_buffer)
272
+ # Print the panel and keep a reference to the live display
273
+ with Live(running_panel, console=self.rich_console, refresh_per_second=4, transient=True):
274
+
275
+ # Setup output capture
276
+ output_buffer = io.StringIO()
277
+ error_buffer = io.StringIO()
278
+
279
+ # Execute tests based on selected mode
280
+ if self.execution_mode == ExecutionMode.PARALLEL.value:
281
+ result = self._runTestsInParallel(output_buffer, error_buffer)
282
+ else:
283
+ result = self._runTestsSequentially(output_buffer, error_buffer)
270
284
 
271
285
  # Process results
272
286
  execution_time = time.time() - self.start_time
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.279.0
3
+ Version: 0.281.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
@@ -1,8 +1,6 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/_application.py,sha256=dMjJ0nFcIIOBGb5zr-tHNzcgTOZ1vJ7iMdFAlqSQph0,9405
3
3
  orionis/application.py,sha256=KrIj21LSoQCrpkkc8O_UeHrEMEJvSGVJuMGx-srrOXE,413
4
- orionis/framework.py,sha256=uetO5CMPalBt4DJqUCYeWB7NMDXFuggQZXGQXFbUj1k,4960
5
- orionis/framework_api.py,sha256=sbTUPVKHUYnlDYWyad6ncB5iU2t7slA2gSJoKaiBse8,6705
6
4
  orionis/unittesting.py,sha256=VzNyVcLWTFP5dAWLQ_A1Zfzwv_Oeb9LbvNYNSbTEFbs,1626
7
5
  orionis/_container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
6
  orionis/_container/container.py,sha256=0AOqTNwpN_OtWbq9mBI99qfJ7LMkN71y0lP0JWKzut0,18289
@@ -122,9 +120,9 @@ orionis/console/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
122
120
  orionis/console/base/command.py,sha256=ZAP-KdbTqgDU4_3MKb6OllxzoKRLNCh1xqvulk6VfdU,12318
123
121
  orionis/console/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
124
122
  orionis/console/commands/cache_clear.py,sha256=FBCnJnECdxoWFxd8EXKd7lNEddIzz7NdkPYLnnpELbw,2890
125
- orionis/console/commands/help.py,sha256=z-XMdpaNMwFgaAoIHcO64UTpyZclZIvlIMjKrUPOcVM,2527
123
+ orionis/console/commands/help.py,sha256=EX1ZzKdSlZi95l6WMDB7HpQc7paQaYGNksVbdysLKp8,2536
126
124
  orionis/console/commands/schedule_work.py,sha256=d6E_G_cgVqDagjZJA7T2Nk5PEjS7-710XTOL2q91mXY,2040
127
- orionis/console/commands/version.py,sha256=nX6j07xw26ThfTyzw5P8XXre1LpSklVT7TYYTpACY4s,1040
125
+ orionis/console/commands/version.py,sha256=A3qvjFl-TMBLDJxsWZhbcojcZa2p6owiVQvmBx0pFXU,1049
128
126
  orionis/console/dumper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
127
  orionis/console/dumper/dump_die.py,sha256=AsKrcuPwVgTT3UA8DxqFCzuZsGkaGm7bwkm-pr9XlaE,17089
130
128
  orionis/console/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -227,6 +225,9 @@ orionis/foundation/config/testing/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW
227
225
  orionis/foundation/config/testing/entities/testing.py,sha256=C_T054W0jv29JUH9aiK0mIDMa6yJyGYjsmEx5p4zVyE,10001
228
226
  orionis/foundation/config/testing/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
227
  orionis/foundation/config/testing/enums/test_mode.py,sha256=IbFpauu7J-iSAfmC8jDbmTEYl8eZr-AexL-lyOh8_74,337
228
+ orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
+ orionis/metadata/framework.py,sha256=SlTVFOuVJGZLeCZMsckhJOaW1jUWkTQ0Di4vE20nYbw,4960
230
+ orionis/metadata/package.py,sha256=5p4fxjPpaktsreJ458pAl-Oi1363MWACPQvqXi_N6oA,6704
230
231
  orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
231
232
  orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
233
  orionis/patterns/singleton/meta_class.py,sha256=YN5mSSQeIX_Gh_TK5HD-ms6IYBTRsRcuzoUtpX-9kYY,2134
@@ -317,11 +318,11 @@ orionis/test/output/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
317
318
  orionis/test/output/contracts/dumper.py,sha256=ZpzlSJixGNbjFUVl53mCg_5djC-xwiit4ozQlzUps4g,1161
318
319
  orionis/test/suites/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
319
320
  orionis/test/suites/test_suite.py,sha256=H7prpaZJUMcMUBWvBatejxAJh3lToNHYwYSAHISlTuc,4827
320
- orionis/test/suites/test_unit.py,sha256=u2sWLLyh0I41kanRjkNOt9p-do_Qh5IW5bHSx9N-x2g,41671
321
+ orionis/test/suites/test_unit.py,sha256=ldlIQwCcHXmqFMRZ3XMwF9AKJC9pTYuUsBKKRE51jpA,42299
321
322
  orionis/test/suites/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
322
323
  orionis/test/suites/contracts/test_suite.py,sha256=arJSxWGjOHTVGiJrmqdqDrb9Ymt3SitDPZKVMBsWCf8,888
323
324
  orionis/test/suites/contracts/test_unit.py,sha256=5gaGXqCx07aDlAQJi8J-GF83kVj3uIx_fdPF1HYMKcg,5596
324
- orionis-0.279.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
325
+ orionis-0.281.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
325
326
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
326
327
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
327
328
  tests/example/test_example.py,sha256=DUZU6lWVFsyHtBEXx0cBxMrSCpOtAOL3PUoi9-tXAas,583
@@ -385,7 +386,7 @@ tests/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
385
386
  tests/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
386
387
  tests/services/asynchrony/test_async_io.py,sha256=oS_PRgAluASK-7MEwEktRoPG6lSubWBPrtLMyhGOum4,1526
387
388
  tests/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
388
- tests/services/environment/test_env.py,sha256=bI6hAxhpGRU2rDsO01zllUo0tAS3k237sYcHCc1n22Q,7054
389
+ tests/services/environment/test_env.py,sha256=Wk3TiaIUd_w-OWJQw82ZPZLv0-cfpi6dZcl0h0LD2MI,7063
389
390
  tests/services/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
391
  tests/services/inspection/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
391
392
  tests/services/inspection/dependencies/test_reflect_dependencies.py,sha256=z0C9KkhV27Y7jKpLSCN9XCmHbjJDCPbBb7NkRFs3oMI,5803
@@ -419,8 +420,8 @@ tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=
419
420
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
420
421
  tests/testing/test_testing_result.py,sha256=54QDn6_v9feIcDcA6LPXcvYhlt_X8JqLGTYWS9XjKXM,3029
421
422
  tests/testing/test_testing_unit.py,sha256=MeVL4gc4cGRPXdVOOKJx6JPKducrZ8cN7F52Iiciixg,5443
422
- orionis-0.279.0.dist-info/METADATA,sha256=PaUj6JJLKN53oxPz9npQkfdw8MCYwdM0IiESE03goyk,4772
423
- orionis-0.279.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
424
- orionis-0.279.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
425
- orionis-0.279.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
426
- orionis-0.279.0.dist-info/RECORD,,
423
+ orionis-0.281.0.dist-info/METADATA,sha256=ewjvEk14IPdK37_Vsmpwq0USGt53y9xRirPXHKwXda8,4772
424
+ orionis-0.281.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
425
+ orionis-0.281.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
426
+ orionis-0.281.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
427
+ orionis-0.281.0.dist-info/RECORD,,
@@ -118,7 +118,7 @@ class TestEnv(TestCase):
118
118
  - The Env.get() method returns None for a non-existent key.
119
119
  - All constants are present in the dictionary returned by Env.all().
120
120
  """
121
- from orionis.framework import (
121
+ from orionis.metadata.framework import (
122
122
  NAME, VERSION, AUTHOR, AUTHOR_EMAIL, DESCRIPTION,
123
123
  SKELETON, FRAMEWORK, DOCS, API, PYTHON_REQUIRES
124
124
  )