orionis 0.446.0__py3-none-any.whl → 0.447.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,26 @@
1
1
  class Reactor:
2
2
 
3
- def __init__(self):
3
+ def __init__(
4
+ self
5
+ ):
4
6
  self.__reactors = {}
7
+
8
+ def config(
9
+ self,
10
+ command_path: str = None,
11
+ ):
12
+ """
13
+ Configures the reactor with a command path.
14
+ :param command_path: The path to the command configuration.
15
+ """
16
+ self.__command_path = command_path
17
+ self.__loadCommands()
18
+
19
+ def __loadCommands(self):
20
+ # This method would typically load commands from a configuration or a file.
21
+ # For this example, we will just simulate loading some commands.
22
+ self.__reactors = {
23
+ 'start': 'Starting the reactor...',
24
+ 'stop': 'Stopping the reactor...',
25
+ 'status': 'Reactor is running.'
26
+ }
@@ -35,8 +35,7 @@ class TestingProvider(ServiceProvider):
35
35
 
36
36
  # Create a UnitTest instance
37
37
  unit_test = UnitTest(
38
- app=self.app,
39
- storage=self.app.path('storage_testing')
38
+ app=self.app
40
39
  )
41
40
 
42
41
  # Configure the UnitTest instance with settings from the Testing configuration
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.446.0"
8
+ VERSION = "0.447.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -38,8 +38,7 @@ class UnitTest(IUnitTest):
38
38
 
39
39
  def __init__(
40
40
  self,
41
- app: Optional[IApplication] = None,
42
- storage: Optional[str] = None
41
+ app: Optional[IApplication] = None
43
42
  ) -> None:
44
43
  """
45
44
  Initialize a UnitTest instance with default configuration and internal state.
@@ -55,7 +54,7 @@ class UnitTest(IUnitTest):
55
54
  self.__app: Optional[IApplication] = app or Orionis()
56
55
 
57
56
  # Storage path for test results
58
- self.__storage: Optional[str] = storage or self.__app.path('storage_testing')
57
+ self.__storage: Optional[str] = self.__app.path('storage_testing')
59
58
 
60
59
  # Configuration values (set via configure)
61
60
  self.__verbosity: Optional[int] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.446.0
3
+ Version: 0.447.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
@@ -13,7 +13,7 @@ orionis/console/base/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
13
13
  orionis/console/base/contracts/command.py,sha256=s9yjma-s1URkVm0EbVvSkETAm-N8xX7OnZS43P8pvk8,1957
14
14
  orionis/console/commands/version.py,sha256=kR8xzyc-Wisk7AXqg3Do7M9xTg_CxJgAtESPGrbRtpI,1673
15
15
  orionis/console/contracts/kernel.py,sha256=mh4LlhEYHh3FuGZZQ0GBhD6ZLa5YQvaNj2r01IIHI5Y,826
16
- orionis/console/core/reactor.py,sha256=lNfj-L4MKZhBn07l4H5L5dVW2xBRiq6-kyIuqnUNawQ,73
16
+ orionis/console/core/reactor.py,sha256=lHEA_DrLmHNfk8ki5SGlfHMaxLtcp-2-3RJaMIPj40o,761
17
17
  orionis/console/dumper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  orionis/console/dumper/dump.py,sha256=CATERiQ6XuIrKQsDaWcVxzTtlAJI9qLJX44fQxEX8ws,22443
19
19
  orionis/console/dumper/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -175,10 +175,10 @@ orionis/foundation/providers/dumper_provider.py,sha256=d0k9yKVfwf40W4If0_rF09odL
175
175
  orionis/foundation/providers/inspirational_provider.py,sha256=ZIsuEq2Sif7C1b1hYC7_mEBd0kGwd8KWd-fHyyd6Qs4,2298
176
176
  orionis/foundation/providers/logger_provider.py,sha256=PvwMxP5TKmn9DP8H8nJfyr16XgiJaGHyxPSMOpFgv84,1448
177
177
  orionis/foundation/providers/progress_bar_provider.py,sha256=P__zpCyC29WCwErYGbh5dgcMRxw3XYmHzaUkzms9vPM,1345
178
- orionis/foundation/providers/testing_provider.py,sha256=fSZfwKnScTxGlGrcEPReGIiOPs8XkoEaNNARN1wC6LU,2939
178
+ orionis/foundation/providers/testing_provider.py,sha256=TGklBDI4hcCnZ26ZYRQ5n_2xSDfTk4X7YJPv1CHRkN0,2884
179
179
  orionis/foundation/providers/workers_provider.py,sha256=YMRLdq_YQnR1unnoYvDpYQZbLli04f0CckuR6Q--wKg,1379
180
180
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
- orionis/metadata/framework.py,sha256=cmZ_JrSV8hHiQ6tIZr04kISqOKd-MrIiXmwLgvU-2EE,4088
181
+ orionis/metadata/framework.py,sha256=I-rb_Eky_Gkw3dXbFzMuhmNINRl-IdLVtJAY8B93gqY,4088
182
182
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
183
183
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
184
184
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -309,7 +309,7 @@ orionis/test/contracts/render.py,sha256=wpDQzUtT0r8KFZ7zPcxWHXQ1EVNKxzA_rZ6ZKUcZ
309
309
  orionis/test/contracts/test_result.py,sha256=SNXJ2UerkweYn7uCT0i0HmMGP0XBrL_9KJs-0ZvIYU4,4002
310
310
  orionis/test/contracts/unit_test.py,sha256=PSnjEyM-QGQ3Pm0ZOqaa8QdPOtilGBVO4R87JYdVa-8,5386
311
311
  orionis/test/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
312
- orionis/test/core/unit_test.py,sha256=7oHQiWfMMFQ3rsuKHBRS34Aqbk5nTinsGVh44OAkHE0,61051
312
+ orionis/test/core/unit_test.py,sha256=DkYyhxft0PLRsr8RgCLGcwNhUSslDLAbt8hcrVZHfsQ,61000
313
313
  orionis/test/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
314
314
  orionis/test/entities/result.py,sha256=IMAd1AiwOf2z8krTDBFMpQe_1PG4YJ5Z0qpbr9xZwjg,4507
315
315
  orionis/test/enums/__init__.py,sha256=M3imAgMvKFTKg55FbtVoY3zxj7QRY9AfaUWxiSZVvn4,66
@@ -343,7 +343,7 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
343
343
  orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
344
344
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
345
345
  orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
346
- orionis-0.446.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
346
+ orionis-0.447.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
347
347
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
348
348
  tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
349
349
  tests/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -487,8 +487,8 @@ tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
487
487
  tests/testing/validators/test_testing_validators.py,sha256=WPo5GxTP6xE-Dw3X1vZoqOMpb6HhokjNSbgDsDRDvy4,16588
488
488
  tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
489
489
  tests/testing/view/test_render.py,sha256=tnnMBwS0iKUIbogLvu-7Rii50G6Koddp3XT4wgdFEYM,1050
490
- orionis-0.446.0.dist-info/METADATA,sha256=iD7rp-OlLM2n4AjNDNrcjTyKFl70G_gD165H4065uXo,4772
491
- orionis-0.446.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
- orionis-0.446.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
- orionis-0.446.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
- orionis-0.446.0.dist-info/RECORD,,
490
+ orionis-0.447.0.dist-info/METADATA,sha256=8zBVAtHmCJDtWQTarOrvUorMAXy0JvvWFSiz6JKj01I,4772
491
+ orionis-0.447.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
492
+ orionis-0.447.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
493
+ orionis-0.447.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
494
+ orionis-0.447.0.dist-info/RECORD,,