orionis 0.155.0__py3-none-any.whl → 0.157.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.
orionis/framework.py CHANGED
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.155.0"
8
+ VERSION = "0.157.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,8 +1,8 @@
1
1
 
2
2
  import subprocess
3
3
  import sys
4
- from orionis.installer.contracts.i_installer_manager import IInstallerManager
5
- from orionis.installer.contracts.i_installer_setup import InstallerSetup
4
+ from orionis.installer.contracts.installer_manager import IInstallerManager
5
+ from orionis.installer.contracts.installer_setup import InstallerSetup
6
6
  from orionis.installer.output.output import InstallerOutput
7
7
 
8
8
  class InstallerManager(IInstallerManager):
@@ -3,7 +3,7 @@ import sys
3
3
  import datetime
4
4
  import traceback
5
5
  from orionis.framework import NAME, VERSION, DOCS
6
- from orionis.installer.contracts.i_installer_output import IInstallerOutput
6
+ from orionis.installer.contracts.installer_output import IInstallerOutput
7
7
 
8
8
  class InstallerOutput(IInstallerOutput):
9
9
  """
@@ -130,8 +130,10 @@ class ContainerIntegrity(IContainerIntegrity):
130
130
  if not isinstance(name, str):
131
131
  raise OrionisContainerValueError(f"The alias '{name}' must be a string.")
132
132
 
133
- if not re.match(r'^[a-zA-Z0-9_]+$', name):
134
- raise OrionisContainerValueError(f"The alias '{name}' can only contain letters, numbers, and underscores, without spaces or other special characters.")
133
+ if not re.match(r'^[a-zA-Z0-9_:]+$', name):
134
+ raise OrionisContainerValueError(
135
+ f"The alias '{name}' can only contain letters, numbers, underscores, and colons, without spaces or other special characters."
136
+ )
135
137
 
136
138
  if name in {
137
139
  int, "int",
@@ -3,7 +3,7 @@ import pathlib
3
3
  from dataclasses import asdict
4
4
  from typing import Any, Dict
5
5
  from orionis.luminate.contracts.foundation.config.config_bootstrapper import IConfigBootstrapper
6
- from orionis.luminate.contracts.config.i_config import IConfig
6
+ from orionis.luminate.contracts.config.config import IConfig
7
7
  from orionis.luminate.foundation.exceptions.exception_bootstrapper import BootstrapRuntimeError
8
8
 
9
9
  class ConfigBootstrapper(IConfigBootstrapper):
@@ -7,6 +7,7 @@ from orionis.luminate.console.exceptions.cli_exception import CLIOrionisExceptio
7
7
  from orionis.luminate.console.output.console import Console
8
8
  from orionis.luminate.console.output.executor import Executor
9
9
  from orionis.luminate.console.parser import Parser
10
+ from orionis.luminate.contracts.application import IApplication
10
11
  from orionis.luminate.facades.app_facade import app
11
12
  from orionis.luminate.facades.log.log_facade import Log
12
13
 
@@ -20,7 +21,7 @@ class ReactorCommandsService:
20
21
  - Managing execution timing and error handling.
21
22
  """
22
23
 
23
- def __init__(self, command_filter: CommandFilter, log: Log, executor: Executor, console: Console, app = Resolve('__orionis__')) -> None:
24
+ def __init__(self, command_filter: CommandFilter, log: Log, executor: Executor, console: Console, app = Resolve(IApplication)) -> None:
24
25
  """
25
26
  Initializes the ReactorCommandsService instance.
26
27
 
@@ -1,10 +1,11 @@
1
1
  import copy
2
2
  from typing import Any, Optional
3
3
  from orionis.luminate.container.resolve import Resolve
4
+ from orionis.luminate.contracts.application import IApplication
4
5
 
5
6
  class ConfigService:
6
7
 
7
- def __init__(self, app = Resolve('__orionis__')) -> None:
8
+ def __init__(self, app = Resolve(IApplication)) -> None:
8
9
  """
9
10
  Initializes the ConfigService with the provided configuration.
10
11
 
@@ -4,7 +4,7 @@ from pathlib import Path
4
4
  from typing import Any
5
5
  from dotenv import set_key, unset_key, dotenv_values
6
6
 
7
- def env(key: str, default=None) -> Any:
7
+ def env(key: str, default = None) -> Any:
8
8
  """
9
9
  Retrieves the value of an environment variable.
10
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orionis
3
- Version: 0.155.0
3
+ Version: 0.157.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,14 +1,14 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/cli_manager.py,sha256=oXY5UYvtalP996h7z5iaEc7z5b1hyFWXrLPrvtoxWcU,1368
3
- orionis/framework.py,sha256=5G-6LKYFz0VpCjKzsJfB-rR4z78RIvNiXTsOLO16_WE,1387
3
+ orionis/framework.py,sha256=yerk15UIkpfNIuj42h8l5SOTnUvNRJMaIedup4hdh_U,1387
4
4
  orionis/installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- orionis/installer/manager.py,sha256=UfUvHOCqcj6YKuwSS6pmhxRXUNGaMWseZNXBZybKLTk,3143
5
+ orionis/installer/manager.py,sha256=SiypGJ2YiFeWyK_4drkheHUd42oS2CH63PNuxiw6Cps,3139
6
6
  orionis/installer/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- orionis/installer/contracts/i_installer_manager.py,sha256=Zfndhuyu0JaTKo3PsGsKmVsvotQMw8Pmt4KQp97elY8,1567
8
- orionis/installer/contracts/i_installer_output.py,sha256=SQZeXg5HRu-x1697HCdoU1-RVJWEqCWY-zNboWnc_vs,2897
9
- orionis/installer/contracts/i_installer_setup.py,sha256=enXOusaAJVWamTpH9FjXpJf-o35twEJPaEkHz7fvB48,1711
7
+ orionis/installer/contracts/installer_manager.py,sha256=Zfndhuyu0JaTKo3PsGsKmVsvotQMw8Pmt4KQp97elY8,1567
8
+ orionis/installer/contracts/installer_output.py,sha256=SQZeXg5HRu-x1697HCdoU1-RVJWEqCWY-zNboWnc_vs,2897
9
+ orionis/installer/contracts/installer_setup.py,sha256=enXOusaAJVWamTpH9FjXpJf-o35twEJPaEkHz7fvB48,1711
10
10
  orionis/installer/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- orionis/installer/output/output.py,sha256=eA_3yPUc50RwB829IgUzfipkawCIOIRqQlXuUwV-FRQ,7173
11
+ orionis/installer/output/output.py,sha256=0ZawkGxSHEYFSElbolQD5V0VjzmQHqRQ6_H7RBQRZA0,7171
12
12
  orionis/installer/setup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  orionis/installer/setup/setup.py,sha256=zAZDelFwieZ9HbR_mSgvW9-gI--Zzu__6SZWWw4VEE8,6967
14
14
  orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -45,14 +45,14 @@ orionis/luminate/console/output/progress_bar.py,sha256=ZiPGcUaN3EINeLRKgLGtS1GAb
45
45
  orionis/luminate/console/output/styles.py,sha256=2e1_FJdNpKaVqmdlCx-udzTleH_6uEFE9_TjH7T1ZUk,3696
46
46
  orionis/luminate/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  orionis/luminate/container/container.py,sha256=Q_COU9QHshBH1XJ3OKEm3RTKSaLE9zs_gmNgson0tx0,18415
48
- orionis/luminate/container/container_integrity.py,sha256=mh0QxesWpu4hNBSkGgXYf0BICoB3D-nowD9s436JibU,7935
48
+ orionis/luminate/container/container_integrity.py,sha256=lFQ41IN_3Z0SbtJzZ_9jewoaUI4xlsBEFXPfn-p82uI,7976
49
49
  orionis/luminate/container/exception.py,sha256=ap1SqYEjQEEHXJJTNmL7V1jrmRjgT5_7geZ95MYkhMA,1691
50
50
  orionis/luminate/container/lifetimes.py,sha256=2lbdiV7R2WlJf1cLD6eBxLnJud_lZvX1IhQH2Djy3Ww,375
51
51
  orionis/luminate/container/resolve.py,sha256=aPkv2EAommw8cRZiKNLrC5gHbi5QWAB54KOqxGqO5p0,2746
52
52
  orionis/luminate/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  orionis/luminate/contracts/application.py,sha256=FIR6WMY0y-Hkjp0jWfjJV9kwIqBb-RB1-Jl0GWCk9eI,1077
54
54
  orionis/luminate/contracts/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
- orionis/luminate/contracts/config/i_config.py,sha256=rbeojO2gm8XhSXIPY8EnUt4e0wO633OKF9Nx_tN5y60,785
55
+ orionis/luminate/contracts/config/config.py,sha256=rbeojO2gm8XhSXIPY8EnUt4e0wO633OKF9Nx_tN5y60,785
56
56
  orionis/luminate/contracts/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
57
  orionis/luminate/contracts/console/command_filter.py,sha256=g66AlKNjTyQfdarO23r27nFqwiCnrP6kjaZ7tUGql-c,937
58
58
  orionis/luminate/contracts/console/kernel.py,sha256=GtiGlWe7EQ9aeChHpQ-GlIJlJ5tEqpZYYkjNcrwXI94,945
@@ -124,7 +124,7 @@ orionis/luminate/facades/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
124
124
  orionis/luminate/facades/tests/tests_facade.py,sha256=hvNMU8idxxfvz4x-1_jeloff2Gee0k61VfUhxDrR6eg,1667
125
125
  orionis/luminate/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
126
126
  orionis/luminate/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
- orionis/luminate/foundation/config/config_bootstrapper.py,sha256=Mnkkdi9WltsfiQ5wePQsISRS5uFUuxOAGFl6ajVbBcA,7510
127
+ orionis/luminate/foundation/config/config_bootstrapper.py,sha256=Zdk3C-asIc0zizRI6r_V-e3mQQ1yuh39B8DHdspOxw0,7508
128
128
  orionis/luminate/foundation/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
129
  orionis/luminate/foundation/console/command_bootstrapper.py,sha256=o1R3puuDyRIf3KXfxyluj6KixPTg96JD2V6TYKLOonw,7064
130
130
  orionis/luminate/foundation/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -151,12 +151,12 @@ orionis/luminate/providers/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
151
151
  orionis/luminate/providers/log/log_service_provider.py,sha256=uDG_tTdrI7PwDnV186bYQKGsZGh5rkLUsaMW2afzKqI,728
152
152
  orionis/luminate/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
153
153
  orionis/luminate/services/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
154
- orionis/luminate/services/commands/reactor_commands_service.py,sha256=k5djftjLaUmz1YCkuR7y63bbwVlx6ufFqkSify4yMDA,6215
154
+ orionis/luminate/services/commands/reactor_commands_service.py,sha256=rLTAZYEoaVsGXqSKk6nfgVghYIhh29wexWuyldPvjiA,6279
155
155
  orionis/luminate/services/commands/scheduler_service.py,sha256=bOovnY83aZPfDz7XhGv4mQXVV116l_9UeaCstA89i_8,22474
156
156
  orionis/luminate/services/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
157
- orionis/luminate/services/config/config_service.py,sha256=wmA8VjTbSLgbcxBusy2TPH_SKB4FqeE2pHlDp3x2XYo,2115
157
+ orionis/luminate/services/config/config_service.py,sha256=ckRUgRy_elSkpC13G5nS0bLLwuteM0XxpKQDdZL-p4o,2179
158
158
  orionis/luminate/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
159
- orionis/luminate/services/environment/environment_service.py,sha256=kz2UNZkHCE2HaCv4wXczy8p1ex4NxieQCQte9_ZXtUA,4774
159
+ orionis/luminate/services/environment/environment_service.py,sha256=GdrXWmOK2lWpa6GkIwFI8kHee5hQel_cIF9sduRfGfo,4776
160
160
  orionis/luminate/services/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
161
  orionis/luminate/services/files/path_resolver_service.py,sha256=gCGVLtdXGuEIE6I8tm6JEB84HS1Fa5rk2whO2R6u8Wc,1698
162
162
  orionis/luminate/services/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -181,9 +181,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
182
  tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
183
183
  tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
184
- orionis-0.155.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
185
- orionis-0.155.0.dist-info/METADATA,sha256=MHkHMOABRHW_3pBQwDiJ1Ex8lHS_IgZm6XxPzQFjk7Q,2970
186
- orionis-0.155.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
187
- orionis-0.155.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
188
- orionis-0.155.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
189
- orionis-0.155.0.dist-info/RECORD,,
184
+ orionis-0.157.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
185
+ orionis-0.157.0.dist-info/METADATA,sha256=Ktc62r_KpiArl0NIlJAZRyz5NkVbep1wS-ZzJOTD75Q,2970
186
+ orionis-0.157.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
187
+ orionis-0.157.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
188
+ orionis-0.157.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
189
+ orionis-0.157.0.dist-info/RECORD,,