orionis 0.333.0__py3-none-any.whl → 0.334.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.
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
1
  from typing import Callable, Any
2
- from orionis.services.introspection.reflection import Reflection
2
+ from orionis.services.introspection.inspection import Inspection
3
3
  from orionis.container.exceptions.container_exception import OrionisContainerException
4
4
 
5
- class _ImplementsAbstractMethods:
5
+ class __ImplementsAbstractMethods:
6
6
  """
7
7
  Validator that ensures a concrete class or instance implements all abstract methods of an abstract class.
8
8
  """
@@ -45,7 +45,7 @@ class _ImplementsAbstractMethods:
45
45
  if target is None:
46
46
  raise OrionisContainerException("Either concrete class or instance must be provided for implementation check.")
47
47
 
48
- target_class = target if Reflection.isClass(target) else target.__class__
48
+ target_class = target if Inspection(target).isClass() else target.__class__
49
49
  target_name = target_class.__name__
50
50
  abstract_name = abstract.__name__
51
51
 
@@ -63,4 +63,4 @@ class _ImplementsAbstractMethods:
63
63
  )
64
64
 
65
65
  # Exported singleton instance
66
- ImplementsAbstractMethods = _ImplementsAbstractMethods()
66
+ ImplementsAbstractMethods = __ImplementsAbstractMethods()
@@ -2,7 +2,7 @@ from typing import Callable, Any
2
2
  from orionis.services.introspection.abstract.reflection_abstract import ReflectionAbstract
3
3
  from orionis.container.exceptions.type_error_exception import OrionisContainerTypeError
4
4
 
5
- class _IsAbstractClass:
5
+ class __IsAbstractClass:
6
6
  """
7
7
  Validator that ensures a class is an abstract class.
8
8
  """
@@ -31,4 +31,4 @@ class _IsAbstractClass:
31
31
  ) from e
32
32
 
33
33
  # Exported singleton instance
34
- IsAbstractClass = _IsAbstractClass()
34
+ IsAbstractClass = __IsAbstractClass()
@@ -1,7 +1,7 @@
1
1
  from typing import Any
2
2
  from orionis.container.exceptions.type_error_exception import OrionisContainerTypeError
3
3
 
4
- class _IsCallable:
4
+ class __IsCallable:
5
5
  """
6
6
  Validator that checks if a value is callable.
7
7
  Can be used directly like a function: `IsCallable(value)`
@@ -27,4 +27,4 @@ class _IsCallable:
27
27
  )
28
28
 
29
29
  # Exported singleton instance
30
- IsCallable = _IsCallable()
30
+ IsCallable = __IsCallable()
@@ -2,7 +2,7 @@ from typing import Callable, Any
2
2
  from orionis.services.introspection.concretes.reflection_concrete import ReflectionConcrete
3
3
  from orionis.container.exceptions.type_error_exception import OrionisContainerTypeError
4
4
 
5
- class _IsConcreteClass:
5
+ class __IsConcreteClass:
6
6
  """
7
7
  Validator that ensures a class is a concrete (non-abstract) class.
8
8
  """
@@ -31,4 +31,4 @@ class _IsConcreteClass:
31
31
  ) from e
32
32
 
33
33
  # Exported singleton instance
34
- IsConcreteClass = _IsConcreteClass()
34
+ IsConcreteClass = __IsConcreteClass()
@@ -2,7 +2,7 @@ from typing import Any
2
2
  from orionis.services.introspection.instances.reflection_instance import ReflectionInstance
3
3
  from orionis.container.exceptions.type_error_exception import OrionisContainerTypeError
4
4
 
5
- class _IsInstance:
5
+ class __IsInstance:
6
6
  """
7
7
  Validator that ensures the provided object is a valid instance (not a class or abstract type).
8
8
  """
@@ -29,4 +29,4 @@ class _IsInstance:
29
29
  ) from e
30
30
 
31
31
  # Exported singleton instance
32
- IsInstance = _IsInstance()
32
+ IsInstance = __IsInstance()
@@ -1,7 +1,7 @@
1
1
  from typing import Callable
2
2
  from orionis.container.exceptions.container_exception import OrionisContainerException
3
3
 
4
- class _IsNotSubclass:
4
+ class __IsNotSubclass:
5
5
  """
6
6
  Validator that ensures a class is NOT a subclass of another class.
7
7
  """
@@ -29,4 +29,4 @@ class _IsNotSubclass:
29
29
  )
30
30
 
31
31
  # Exported singleton instance
32
- IsNotSubclass = _IsNotSubclass()
32
+ IsNotSubclass = __IsNotSubclass()
@@ -1,7 +1,7 @@
1
1
  from typing import Callable
2
2
  from orionis.container.exceptions.container_exception import OrionisContainerException
3
3
 
4
- class _IsSubclass:
4
+ class __IsSubclass:
5
5
  """
6
6
  Validator that ensures a class is a subclass of a given abstract class.
7
7
  """
@@ -29,4 +29,4 @@ class _IsSubclass:
29
29
  )
30
30
 
31
31
  # Exported singleton instance
32
- IsSubclass = _IsSubclass()
32
+ IsSubclass = __IsSubclass()
@@ -1,7 +1,7 @@
1
1
  from typing import Any
2
2
  from orionis.container.exceptions.type_error_exception import OrionisContainerTypeError
3
3
 
4
- class _IsValidAlias:
4
+ class __IsValidAlias:
5
5
  """
6
6
  Validator that checks if a value is a valid alias string.
7
7
  """
@@ -39,4 +39,4 @@ class _IsValidAlias:
39
39
  )
40
40
 
41
41
  # Exported singleton instance
42
- IsValidAlias = _IsValidAlias()
42
+ IsValidAlias = __IsValidAlias()
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.333.0"
8
+ VERSION = "0.334.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.333.0
3
+ Version: 0.334.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
@@ -102,10 +102,14 @@ orionis/container/resolver.py,sha256=bR26v1bAtg9FgDtfs6zP30-g75aWrSO43UJPweJ7jfo
102
102
  orionis/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
103
  orionis/container/context/manager.py,sha256=9yODWkHBoJ2kgJZ5ONLqcEcex50vaWuMcxsvmDgnQo4,2437
104
104
  orionis/container/context/scope.py,sha256=CWFiLLTAC_IdmeFKWX-jrphdxB0_TMEVBlz6lQVMPC8,937
105
+ orionis/container/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
106
  orionis/container/contracts/container.py,sha256=hOO3w2yqVhp2nPTeS1uJEYgXSTbM3xwezDCOSNMC_a0,7603
106
107
  orionis/container/contracts/service_provider.py,sha256=hXp-l4iP7q0FhsCcQAKoYcJ_zxCzIgTdfmO4F0Bbssg,896
108
+ orionis/container/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
109
  orionis/container/entities/binding.py,sha256=Qp6Lf4XUDp2NjqXDAC2lzvhOFQWiBDKiGFcKfwb4axw,4342
110
+ orionis/container/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
108
111
  orionis/container/enums/lifetimes.py,sha256=RqQmugMIB1Ev_j_vFLcWorndm-to7xg4stQ7yKFDdDw,190
112
+ orionis/container/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
113
  orionis/container/exceptions/attribute_error.py,sha256=ysYKvXfunH-bywK_e02inY94s8aZ3vUZA6jATbDcQmk,480
110
114
  orionis/container/exceptions/container_exception.py,sha256=goTDEwC70xTMD2qppN8KV-xyR0Nps218OD4D1LZ2-3s,470
111
115
  orionis/container/exceptions/type_error_exception.py,sha256=cYuvoXVOgRYj3tZPfK341aUERkf33-buOiI2eXxcrAw,470
@@ -115,14 +119,14 @@ orionis/container/facades/facade.py,sha256=vu71_uqXnSpCFyeswPgKIhTPmIBLEK3bsy5sk
115
119
  orionis/container/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
120
  orionis/container/providers/service_provider.py,sha256=9SHDzeuJbktRhrLq0zo2fZhRR4xOaYGOb2wKl7iBR4k,1923
117
121
  orionis/container/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
118
- orionis/container/validators/implements.py,sha256=ErTHa0aJc0QlT1pJtqY4_uNZ8a04J3jN2fnxjWHAXf8,2755
119
- orionis/container/validators/is_abstract_class.py,sha256=Q-Lqyrrps6oj2XWI0KFRp-hDZf4_sgbZlEbfBXj5XT4,1169
120
- orionis/container/validators/is_callable.py,sha256=8Bi5AflNmXhpgtk1ieirE3xgCKzq3mcgyqokCU3GHN8,843
121
- orionis/container/validators/is_concrete_class.py,sha256=BMhJ7vCQ2ccBA3qrRJPlsYDTSqBpqLZFfrdEGO5mlr4,1215
122
- orionis/container/validators/is_instance.py,sha256=vUwWIMeG1zLMsGX9GyoOU-LZtCgqBDZ9hUNDj_KyuYo,999
123
- orionis/container/validators/is_not_subclass.py,sha256=-iZw5ZCYnQtlU-xPO-o7lUj5DxPkN0G67-bLbLVhwtw,1167
124
- orionis/container/validators/is_subclass.py,sha256=O2aF0KLg5ZnDutKQ1xDvet34kentftlqgEkRNvumCoM,1135
125
- orionis/container/validators/is_valid_alias.py,sha256=DuQRfBeCeter6ppPSE4ORBnzRtHLWHQgeFCXz3MsmZA,1443
122
+ orionis/container/validators/implements.py,sha256=VwoOd6wDnDxp59voQ1i_I8UtI2cdeYC4kEPGb_sRwIU,2759
123
+ orionis/container/validators/is_abstract_class.py,sha256=lgyGApVAxtc1LbOzpVXY-AidZTIyNLIbGJnce3K94ak,1171
124
+ orionis/container/validators/is_callable.py,sha256=DdYC6TsIpChCmG8VHcZzs3H30KgnjaYg0dHrqZcZPXE,845
125
+ orionis/container/validators/is_concrete_class.py,sha256=4QStIv-svaPkdsZzI_RVJKUT91EbL2dS8yV3lTtl8xk,1217
126
+ orionis/container/validators/is_instance.py,sha256=zh6VA2XY0_E6NWmFMxrCL_g6Hp5kIXUcxAf-czeqz84,1001
127
+ orionis/container/validators/is_not_subclass.py,sha256=RpWLCuzvvN7WXkny5v0yGv4R5ahq4ECtggixO0k90JE,1169
128
+ orionis/container/validators/is_subclass.py,sha256=IKpYtiMU58tXPAW-Kf9RdcnK-a_BCgpsHahvXCSLNDw,1137
129
+ orionis/container/validators/is_valid_alias.py,sha256=EOHi5O6kSC30jewjpTU_aWyfy_TFso3NsT-LleCq68o,1445
126
130
  orionis/container/validators/lifetime.py,sha256=78o7BHBCRReG8vnF0gW2RUf6m6wwMhr7w4VA6F2B46A,1865
127
131
  orionis/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
132
  orionis/foundation/application.py,sha256=LfWJUIrj7K3B_5mFoTMyAbRgkDFBpq5Y0amE1ejbjYY,4225
@@ -217,7 +221,7 @@ orionis/foundation/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
217
221
  orionis/foundation/exceptions/integrity.py,sha256=mc4pL1UMoYRHEmphnpW2oGk5URhu7DJRREyzHaV-cs8,472
218
222
  orionis/foundation/exceptions/value_error.py,sha256=hQhXybXEnaa59ba7JxG65jceHt3mnql9MyekF-TChpM,465
219
223
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
- orionis/metadata/framework.py,sha256=T9uPprE6PgkT3Ul3aGrYoNE0ZluzDjd9OECon0Vo2JE,4960
224
+ orionis/metadata/framework.py,sha256=d0pFw1X7myTOJN--ryKAfktOGlrn-9Ty3hXBzmq6mbk,4960
221
225
  orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
222
226
  orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
223
227
  orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -332,7 +336,7 @@ orionis/test/suite/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
332
336
  orionis/test/suite/test_unit.py,sha256=wUn2WBv3HoO3Fv2sYD-mpUcA8E9g7nZVpSWHUzicjRM,52370
333
337
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
338
  orionis/test/view/render.py,sha256=jXZkbITBknbUwm_mD8bcTiwLDvsFkrO9qrf0ZgPwqxc,4903
335
- orionis-0.333.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
339
+ orionis-0.334.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
336
340
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
341
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
342
  tests/example/test_example.py,sha256=kvWgiW3ADEZf718dGsMPtDh_rmOSx1ypEInKm7_6ZPQ,601
@@ -433,8 +437,8 @@ tests/support/wrapper/test_services_wrapper_docdict.py,sha256=yeVwl-VcwkWSQYyxZu
433
437
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
434
438
  tests/testing/test_testing_result.py,sha256=MrGK3ZimedL0b5Ydu69Dg8Iul017AzLTm7VPxpXlpfU,4315
435
439
  tests/testing/test_testing_unit.py,sha256=DjLBtvVn8B1KlVJNNkstBT8_csA1yeaMqnGrbanN_J4,7438
436
- orionis-0.333.0.dist-info/METADATA,sha256=EudUS7MOzhRsXl5BF2IFx7wJBSlKRtkk9YOA8br67Ac,4772
437
- orionis-0.333.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
438
- orionis-0.333.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
439
- orionis-0.333.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
440
- orionis-0.333.0.dist-info/RECORD,,
440
+ orionis-0.334.0.dist-info/METADATA,sha256=Fd70-Oe-a8bq2FetB2e_IJL0WBMQlbAyqHen2AhXBbc,4772
441
+ orionis-0.334.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
442
+ orionis-0.334.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
443
+ orionis-0.334.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
444
+ orionis-0.334.0.dist-info/RECORD,,