orionis 0.347.0__py3-none-any.whl → 0.361.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.
Files changed (224) hide show
  1. orionis/container/__init__.py +0 -70
  2. orionis/container/container.py +2 -2
  3. orionis/container/context/__init__.py +0 -9
  4. orionis/container/contracts/__init__.py +0 -9
  5. orionis/container/entities/__init__.py +0 -7
  6. orionis/container/entities/binding.py +1 -1
  7. orionis/container/enums/__init__.py +0 -2
  8. orionis/container/exceptions/__init__.py +0 -2
  9. orionis/container/facades/__init__.py +0 -7
  10. orionis/container/facades/facade.py +1 -2
  11. orionis/container/providers/__init__.py +0 -7
  12. orionis/container/resolver/__init__.py +0 -0
  13. orionis/container/{resolver.py → resolver/resolver.py} +1 -1
  14. orionis/container/validators/__init__.py +0 -23
  15. orionis/container/validators/implements.py +8 -1
  16. orionis/container/validators/is_abstract_class.py +1 -1
  17. orionis/container/validators/is_callable.py +1 -1
  18. orionis/container/validators/is_concrete_class.py +1 -1
  19. orionis/container/validators/is_instance.py +1 -1
  20. orionis/container/validators/is_not_subclass.py +1 -1
  21. orionis/container/validators/is_subclass.py +1 -1
  22. orionis/container/validators/is_valid_alias.py +1 -1
  23. orionis/container/validators/lifetime.py +1 -1
  24. orionis/foundation/__init__.py +0 -52
  25. orionis/foundation/config/__init__.py +0 -128
  26. orionis/foundation/config/app/__init__.py +0 -10
  27. orionis/foundation/config/app/entities/__init__.py +0 -7
  28. orionis/foundation/config/app/entities/app.py +2 -3
  29. orionis/foundation/config/app/enums/__init__.py +1 -3
  30. orionis/foundation/config/auth/__init__.py +0 -7
  31. orionis/foundation/config/auth/entities/__init__.py +0 -7
  32. orionis/foundation/config/cache/__init__.py +0 -11
  33. orionis/foundation/config/cache/entities/__init__.py +0 -11
  34. orionis/foundation/config/cache/entities/cache.py +2 -2
  35. orionis/foundation/config/cache/entities/file.py +1 -1
  36. orionis/foundation/config/cache/entities/stores.py +1 -1
  37. orionis/foundation/config/cache/enums/__init__.py +1 -3
  38. orionis/foundation/config/cors/__init__.py +0 -7
  39. orionis/foundation/config/cors/entities/__init__.py +0 -7
  40. orionis/foundation/config/cors/entities/cors.py +1 -1
  41. orionis/foundation/config/database/__init__.py +0 -61
  42. orionis/foundation/config/database/entities/__init__.py +0 -17
  43. orionis/foundation/config/database/entities/connections.py +1 -1
  44. orionis/foundation/config/database/entities/database.py +1 -1
  45. orionis/foundation/config/database/entities/mysql.py +6 -4
  46. orionis/foundation/config/database/entities/oracle.py +5 -3
  47. orionis/foundation/config/database/entities/pgsql.py +5 -3
  48. orionis/foundation/config/database/entities/sqlite.py +5 -3
  49. orionis/foundation/config/database/enums/__init__.py +8 -8
  50. orionis/foundation/config/filesystems/__init__.py +0 -17
  51. orionis/foundation/config/filesystems/entitites/__init__.py +0 -15
  52. orionis/foundation/config/filesystems/entitites/aws.py +1 -1
  53. orionis/foundation/config/filesystems/entitites/disks.py +1 -1
  54. orionis/foundation/config/filesystems/entitites/filesystems.py +1 -1
  55. orionis/foundation/config/filesystems/entitites/local.py +1 -1
  56. orionis/foundation/config/filesystems/entitites/public.py +1 -1
  57. orionis/foundation/config/logging/__init__.py +0 -30
  58. orionis/foundation/config/logging/entities/__init__.py +0 -21
  59. orionis/foundation/config/logging/entities/channels.py +1 -1
  60. orionis/foundation/config/logging/entities/chunked.py +2 -2
  61. orionis/foundation/config/logging/entities/daily.py +2 -2
  62. orionis/foundation/config/logging/entities/hourly.py +2 -2
  63. orionis/foundation/config/logging/entities/logging.py +1 -1
  64. orionis/foundation/config/logging/entities/monthly.py +2 -2
  65. orionis/foundation/config/logging/entities/stack.py +2 -2
  66. orionis/foundation/config/logging/entities/weekly.py +2 -2
  67. orionis/foundation/config/logging/enums/__init__.py +0 -2
  68. orionis/foundation/config/mail/__init__.py +0 -15
  69. orionis/foundation/config/mail/entities/__init__.py +0 -13
  70. orionis/foundation/config/mail/entities/file.py +1 -1
  71. orionis/foundation/config/mail/entities/mail.py +1 -1
  72. orionis/foundation/config/mail/entities/mailers.py +1 -1
  73. orionis/foundation/config/mail/entities/smtp.py +1 -1
  74. orionis/foundation/config/queue/__init__.py +0 -20
  75. orionis/foundation/config/queue/entities/__init__.py +0 -11
  76. orionis/foundation/config/queue/entities/brokers.py +1 -1
  77. orionis/foundation/config/queue/entities/database.py +2 -2
  78. orionis/foundation/config/queue/entities/queue.py +1 -1
  79. orionis/foundation/config/queue/enums/__init__.py +1 -3
  80. orionis/foundation/config/roots/__init__.py +0 -7
  81. orionis/foundation/config/roots/paths.py +1 -1
  82. orionis/foundation/config/session/__init__.py +0 -20
  83. orionis/foundation/config/session/entities/__init__.py +0 -7
  84. orionis/foundation/config/session/entities/session.py +2 -2
  85. orionis/foundation/config/session/enums/__init__.py +1 -3
  86. orionis/foundation/config/session/helpers/__init__.py +0 -7
  87. orionis/foundation/config/startup.py +1 -1
  88. orionis/foundation/config/testing/__init__.py +0 -14
  89. orionis/foundation/config/testing/entities/__init__.py +0 -7
  90. orionis/foundation/config/testing/entities/testing.py +1 -1
  91. orionis/foundation/config/testing/enums/__init__.py +1 -3
  92. orionis/foundation/contracts/__init__.py +0 -7
  93. orionis/foundation/exceptions/__init__.py +2 -4
  94. orionis/foundation/providers/__init__.py +0 -0
  95. orionis/metadata/__init__.py +0 -46
  96. orionis/metadata/framework.py +1 -1
  97. orionis/patterns/singleton/__init__.py +0 -7
  98. orionis/services/asynchrony/__init__.py +0 -7
  99. orionis/services/asynchrony/contracts/__init__.py +0 -7
  100. orionis/services/asynchrony/coroutines.py +3 -3
  101. orionis/services/asynchrony/exceptions/__init__.py +0 -7
  102. orionis/services/environment/__init__.py +0 -7
  103. orionis/services/environment/contracts/__init__.py +0 -9
  104. orionis/services/environment/{core/dot_env.py → dot_env.py} +3 -2
  105. orionis/services/environment/env.py +2 -2
  106. orionis/services/environment/exceptions/__init__.py +0 -9
  107. orionis/services/environment/{types/env_types.py → types.py} +2 -1
  108. orionis/services/introspection/__init__.py +0 -68
  109. orionis/services/introspection/abstract/__init__.py +0 -7
  110. orionis/services/introspection/callables/__init__.py +0 -7
  111. orionis/services/introspection/concretes/__init__.py +0 -7
  112. orionis/services/introspection/contracts/__init__.py +0 -15
  113. orionis/services/introspection/dependencies/__init__.py +0 -22
  114. orionis/services/introspection/dependencies/entities/__init__.py +0 -13
  115. orionis/services/introspection/exceptions/__init__.py +0 -11
  116. orionis/services/introspection/instances/__init__.py +0 -7
  117. orionis/services/introspection/modules/__init__.py +0 -7
  118. orionis/services/log/__init__.py +0 -7
  119. orionis/services/parsers/__init__.py +0 -20
  120. orionis/services/parsers/contracts/__init__.py +0 -7
  121. orionis/services/parsers/exceptions/__init__.py +0 -7
  122. orionis/services/paths/__init__.py +0 -24
  123. orionis/services/paths/contracts/__init__.py +0 -7
  124. orionis/services/paths/exceptions/__init__.py +0 -9
  125. orionis/services/system/__init__.py +0 -17
  126. orionis/services/system/contracts/__init__.py +0 -9
  127. orionis/support/standard/__init__.py +0 -9
  128. orionis/support/standard/contracts/__init__.py +0 -5
  129. orionis/support/standard/exceptions/__init__.py +0 -5
  130. orionis/support/standard/std.py +2 -2
  131. orionis/support/wrapper/__init__.py +0 -5
  132. orionis/support/wrapper/dicts/__init__.py +0 -5
  133. orionis/test/__init__.py +0 -63
  134. orionis/test/cases/__init__.py +0 -9
  135. orionis/test/cases/test_async.py +1 -1
  136. orionis/test/cases/test_case.py +1 -1
  137. orionis/test/cases/test_sync.py +1 -1
  138. orionis/test/contracts/__init__.py +0 -11
  139. orionis/test/contracts/{unit_test.py → test_unit.py} +2 -2
  140. orionis/test/entities/__init__.py +0 -5
  141. orionis/test/entities/test_result.py +1 -1
  142. orionis/test/enums/__init__.py +0 -7
  143. orionis/test/exceptions/__init__.py +0 -13
  144. orionis/test/logs/__init__.py +0 -5
  145. orionis/test/logs/history.py +4 -3
  146. orionis/test/output/__init__.py +0 -7
  147. orionis/test/output/dumper.py +2 -2
  148. orionis/test/output/printer.py +3 -3
  149. orionis/test/suite/__init__.py +0 -5
  150. orionis/test/suite/{unit_test.py → test_unit.py} +10 -7
  151. orionis/test/test_suite.py +1 -1
  152. orionis/test/view/__init__.py +0 -5
  153. orionis/test/view/render.py +2 -2
  154. orionis/unittesting.py +64 -0
  155. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/METADATA +1 -1
  156. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/RECORD +220 -221
  157. tests/example/test_example.py +1 -1
  158. tests/foundation/config/app/test_foundation_config_app.py +1 -1
  159. tests/foundation/config/auth/test_foundation_config_auth.py +1 -1
  160. tests/foundation/config/cache/test_foundation_config_cache.py +1 -1
  161. tests/foundation/config/cache/test_foundation_config_cache_file.py +1 -1
  162. tests/foundation/config/cache/test_foundation_config_cache_stores.py +1 -1
  163. tests/foundation/config/cors/test_foundation_config_cors.py +1 -1
  164. tests/foundation/config/database/test_foundation_config_database.py +1 -1
  165. tests/foundation/config/database/test_foundation_config_database_connections.py +1 -1
  166. tests/foundation/config/database/test_foundation_config_database_mysql.py +1 -1
  167. tests/foundation/config/database/test_foundation_config_database_oracle.py +1 -1
  168. tests/foundation/config/database/test_foundation_config_database_pgsql.py +1 -1
  169. tests/foundation/config/database/test_foundation_config_database_sqlite.py +1 -1
  170. tests/foundation/config/filesystems/test_foundation_config_filesystems.py +1 -1
  171. tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +1 -1
  172. tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +1 -1
  173. tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py +1 -1
  174. tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py +1 -1
  175. tests/foundation/config/logging/test_foundation_config_logging.py +1 -1
  176. tests/foundation/config/logging/test_foundation_config_logging_channels.py +1 -1
  177. tests/foundation/config/logging/test_foundation_config_logging_chunked.py +1 -1
  178. tests/foundation/config/logging/test_foundation_config_logging_daily.py +1 -1
  179. tests/foundation/config/logging/test_foundation_config_logging_hourly.py +1 -1
  180. tests/foundation/config/logging/test_foundation_config_logging_monthly.py +1 -1
  181. tests/foundation/config/logging/test_foundation_config_logging_stack.py +1 -1
  182. tests/foundation/config/logging/test_foundation_config_logging_weekly.py +1 -1
  183. tests/foundation/config/mail/test_foundation_config_mail.py +1 -1
  184. tests/foundation/config/mail/test_foundation_config_mail_file.py +1 -1
  185. tests/foundation/config/mail/test_foundation_config_mail_mailers.py +1 -1
  186. tests/foundation/config/mail/test_foundation_config_mail_smtp.py +1 -1
  187. tests/foundation/config/queue/test_foundation_config_queue.py +1 -1
  188. tests/foundation/config/queue/test_foundation_config_queue_brokers.py +1 -1
  189. tests/foundation/config/queue/test_foundation_config_queue_database.py +1 -1
  190. tests/foundation/config/root/test_foundation_config_root_paths.py +1 -1
  191. tests/foundation/config/session/test_foundation_config_session.py +1 -1
  192. tests/foundation/config/startup/test_foundation_config_startup.py +1 -1
  193. tests/foundation/config/testing/test_foundation_config_testing.py +1 -1
  194. tests/foundation/exceptions/test_foundation_config_exceptions.py +1 -1
  195. tests/metadata/test_metadata_framework.py +2 -2
  196. tests/metadata/test_metadata_package.py +1 -1
  197. tests/patterns/singleton/test_patterns_singleton.py +2 -2
  198. tests/services/asynchrony/test_services_asynchrony_coroutine.py +3 -3
  199. tests/services/environment/test_services_environment.py +3 -3
  200. tests/services/inspection/dependencies/test_reflect_dependencies.py +1 -1
  201. tests/services/inspection/reflection/test_reflection_abstract.py +1 -1
  202. tests/services/inspection/reflection/test_reflection_callable.py +1 -1
  203. tests/services/inspection/reflection/test_reflection_concrete.py +1 -1
  204. tests/services/inspection/reflection/test_reflection_instance.py +1 -1
  205. tests/services/inspection/reflection/test_reflection_module.py +1 -1
  206. tests/services/inspection/test_reflection.py +1 -1
  207. tests/services/parsers/test_services_parser_exceptions.py +1 -1
  208. tests/services/path/test_services_resolver.py +1 -1
  209. tests/services/system/test_services_system_imports.py +1 -1
  210. tests/services/system/test_services_system_workers.py +1 -1
  211. tests/support/standard/test_services_std.py +2 -2
  212. tests/support/wrapper/test_services_wrapper_docdict.py +2 -2
  213. tests/testing/test_testing_result.py +1 -1
  214. tests/testing/test_testing_unit.py +2 -1
  215. orionis/services/environment/core/__init__.py +0 -7
  216. orionis/services/environment/helpers/__init__.py +0 -7
  217. orionis/services/environment/helpers/functions.py +0 -21
  218. orionis/services/environment/types/__init__.py +0 -7
  219. /orionis/foundation/exceptions/{value_error.py → value.py} +0 -0
  220. /orionis/patterns/singleton/{meta_class.py → meta.py} +0 -0
  221. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/WHEEL +0 -0
  222. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/licenses/LICENCE +0 -0
  223. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/top_level.txt +0 -0
  224. {orionis-0.347.0.dist-info → orionis-0.361.0.dist-info}/zip-safe +0 -0
@@ -1,14 +0,0 @@
1
- # Import testing entities
2
- from .entities import Testing
3
-
4
- # Import testing enums
5
- from .enums import ExecutionMode
6
-
7
- # Define the public API of this module
8
- __all__ = [
9
- # Testing entities
10
- "Testing",
11
-
12
- # Testing enums
13
- "ExecutionMode",
14
- ]
@@ -1,7 +0,0 @@
1
- # Import testing entities
2
- from .testing import Testing
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "Testing",
7
- ]
@@ -1,6 +1,6 @@
1
1
  from dataclasses import asdict, dataclass, field, fields
2
2
  from typing import List
3
- from orionis.foundation.exceptions.integrity import OrionisIntegrityException
3
+ from orionis.foundation.exceptions import OrionisIntegrityException
4
4
  from orionis.services.system.workers import Workers
5
5
  from orionis.test.enums.test_mode import ExecutionMode
6
6
 
@@ -1,7 +1,5 @@
1
- # Import testing enums
2
1
  from .test_mode import ExecutionMode
3
2
 
4
- # Define the public API of this module
5
3
  __all__ = [
6
- "ExecutionMode",
4
+ "ExecutionMode"
7
5
  ]
@@ -1,7 +0,0 @@
1
- # Import foundation contracts
2
- from .config import IConfig
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "IConfig",
7
- ]
@@ -1,9 +1,7 @@
1
- # Import foundation exceptions
2
1
  from .integrity import OrionisIntegrityException
3
- from .value_error import OrionisValueError
2
+ from .value import OrionisValueError
4
3
 
5
- # Define the public API of this module
6
4
  __all__ = [
7
5
  "OrionisIntegrityException",
8
- "OrionisValueError",
6
+ "OrionisValueError"
9
7
  ]
File without changes
@@ -1,46 +0,0 @@
1
- # Import framework metadata constants
2
- from .framework import (
3
- NAME,
4
- VERSION,
5
- AUTHOR,
6
- AUTHOR_EMAIL,
7
- DESCRIPTION,
8
- SKELETON,
9
- FRAMEWORK,
10
- DOCS,
11
- API,
12
- PYTHON_REQUIRES,
13
- CLASSIFIERS,
14
- KEYWORDS,
15
- REQUIRES,
16
- get_classifiers,
17
- get_requires,
18
- get_svg_assets
19
- )
20
-
21
- # Import package utilities
22
- from .package import PypiPackageApi
23
-
24
- # Define the public API of this module
25
- __all__ = [
26
- # Framework metadata constants
27
- "NAME",
28
- "VERSION",
29
- "AUTHOR",
30
- "AUTHOR_EMAIL",
31
- "DESCRIPTION",
32
- "SKELETON",
33
- "FRAMEWORK",
34
- "DOCS",
35
- "API",
36
- "PYTHON_REQUIRES",
37
- "CLASSIFIERS",
38
- "KEYWORDS",
39
- "REQUIRES",
40
- "get_classifiers",
41
- "get_requires",
42
- "get_svg_assets",
43
-
44
- # Package utilities
45
- "PypiPackageApi",
46
- ]
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.347.0"
8
+ VERSION = "0.361.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,7 +0,0 @@
1
- # Import singleton pattern implementation
2
- from .meta_class import Singleton
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "Singleton",
7
- ]
@@ -1,7 +0,0 @@
1
- # Importing necessary modules for asynchrony services in Orionis framework
2
- from .coroutines import Coroutine
3
-
4
- # Defining the public API of this module
5
- __all__ = [
6
- "Coroutine"
7
- ]
@@ -1,7 +0,0 @@
1
- # Importing the ICoroutine interface
2
- from .coroutines import ICoroutine
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ICoroutine"
7
- ]
@@ -1,8 +1,8 @@
1
1
  import asyncio
2
2
  from typing import Any, Coroutine as TypingCoroutine, TypeVar, Union
3
- from orionis.services.asynchrony.contracts import ICoroutine
4
- from orionis.services.asynchrony.exceptions import OrionisCoroutineException
5
- from orionis.services.introspection import Inspection
3
+ from orionis.services.asynchrony.contracts.coroutines import ICoroutine
4
+ from orionis.services.asynchrony.exceptions.coroutine_exception import OrionisCoroutineException
5
+ from orionis.services.introspection.inspection import Inspection
6
6
 
7
7
  T = TypeVar("T")
8
8
 
@@ -1,7 +0,0 @@
1
- # Importing exceptions related to asynchronous operations in Orionis framework
2
- from .coroutine_exception import OrionisCoroutineException
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "OrionisCoroutineException"
7
- ]
@@ -1,7 +0,0 @@
1
- # Import environment services
2
- from .env import Env
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "Env"
7
- ]
@@ -1,9 +0,0 @@
1
- # Import environment contracts
2
- from .env import IEnv
3
- from .types import IEnvTypes
4
-
5
- # Define the public API of this module
6
- __all__ = [
7
- "IEnv",
8
- "IEnvTypes",
9
- ]
@@ -5,8 +5,9 @@ import threading
5
5
  from pathlib import Path
6
6
  from typing import Any, Optional, Union
7
7
  from dotenv import dotenv_values, load_dotenv, set_key, unset_key
8
- from orionis.patterns.singleton import Singleton
9
- from orionis.services.environment.exceptions import OrionisEnvironmentValueException, OrionisEnvironmentValueError
8
+ from orionis.patterns.singleton.meta import Singleton
9
+ from orionis.services.environment.exceptions.environment_value_exception import OrionisEnvironmentValueException
10
+ from orionis.services.environment.exceptions.environment_value_error import OrionisEnvironmentValueError
10
11
  from orionis.services.environment.types import EnvTypes
11
12
 
12
13
  class DotEnv(metaclass=Singleton):
@@ -1,5 +1,5 @@
1
- from orionis.services.environment.contracts import IEnv
2
- from orionis.services.environment.core import DotEnv
1
+ from orionis.services.environment.contracts.env import IEnv
2
+ from orionis.services.environment.dot_env import DotEnv
3
3
  from typing import Any, Dict
4
4
 
5
5
  def env(key: str, default: Any = None) -> Any:
@@ -1,9 +0,0 @@
1
- # Import environment exceptions
2
- from .environment_value_error import OrionisEnvironmentValueError
3
- from .environment_value_exception import OrionisEnvironmentValueException
4
-
5
- # Define the public API of this module
6
- __all__ = [
7
- "OrionisEnvironmentValueError",
8
- "OrionisEnvironmentValueException",
9
- ]
@@ -1,5 +1,6 @@
1
1
  from orionis.services.environment.contracts.types import IEnvTypes
2
- from orionis.services.environment.exceptions import OrionisEnvironmentValueError, OrionisEnvironmentValueException
2
+ from orionis.services.environment.exceptions.environment_value_error import OrionisEnvironmentValueError
3
+ from orionis.services.environment.exceptions.environment_value_exception import OrionisEnvironmentValueException
3
4
 
4
5
  class EnvTypes(IEnvTypes):
5
6
 
@@ -1,68 +0,0 @@
1
- # Import main introspection services
2
- from .inspection import Inspection
3
- from .reflection import Reflection
4
-
5
- # Import specialized reflection services
6
- from .abstract import ReflectionAbstract
7
- from .callables import ReflectionCallable
8
- from .concretes import ReflectionConcrete
9
- from .instances import ReflectionInstance
10
- from .modules import ReflectionModule
11
-
12
- # Import dependency services
13
- from .dependencies import (
14
- ReflectDependencies,
15
- CallableDependency,
16
- ClassDependency,
17
- MethodDependency,
18
- ResolvedDependency
19
- )
20
-
21
- # Import contracts
22
- from .contracts import (
23
- IReflectionAbstract,
24
- IReflectionConcrete,
25
- IReflectionInstance,
26
- IReflectionModule,
27
- IReflectDependencies
28
- )
29
-
30
- # Import exceptions
31
- from .exceptions import (
32
- ReflectionAttributeError,
33
- ReflectionTypeError,
34
- ReflectionValueError
35
- )
36
-
37
- # Define the public API of this module
38
- __all__ = [
39
- # Main introspection services
40
- "Inspection",
41
- "Reflection",
42
-
43
- # Specialized reflection services
44
- "ReflectionAbstract",
45
- "ReflectionCallable",
46
- "ReflectionConcrete",
47
- "ReflectionInstance",
48
- "ReflectionModule",
49
-
50
- # Dependency services
51
- "ReflectDependencies",
52
- "CallableDependency",
53
- "ClassDependency",
54
- "MethodDependency",
55
- "ResolvedDependency",
56
-
57
- # Contracts
58
- "IReflectionAbstract",
59
- "IReflectionConcrete",
60
- "IReflectionInstance",
61
- "IReflectionModule",
62
- "IReflectDependencies",
63
-
64
- # Exceptions
65
- "ReflectionAttributeError",
66
- "ReflectionTypeError",
67
- "ReflectionValueError",
68
- ]
@@ -1,7 +0,0 @@
1
- # Import abstract reflection services
2
- from .reflection_abstract import ReflectionAbstract
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ReflectionAbstract",
7
- ]
@@ -1,7 +0,0 @@
1
- # Import callable reflection services
2
- from .reflection_callable import ReflectionCallable
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ReflectionCallable",
7
- ]
@@ -1,7 +0,0 @@
1
- # Import concrete reflection services
2
- from .reflection_concrete import ReflectionConcrete
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ReflectionConcrete",
7
- ]
@@ -1,15 +0,0 @@
1
- # Import introspection contracts
2
- from .reflection_abstract import IReflectionAbstract
3
- from .reflection_concrete import IReflectionConcrete
4
- from .reflection_instance import IReflectionInstance
5
- from .reflection_module import IReflectionModule
6
- from .reflect_dependencies import IReflectDependencies
7
-
8
- # Define the public API of this module
9
- __all__ = [
10
- "IReflectionAbstract",
11
- "IReflectionConcrete",
12
- "IReflectionInstance",
13
- "IReflectionModule",
14
- "IReflectDependencies",
15
- ]
@@ -1,22 +0,0 @@
1
- # Import dependency services
2
- from .reflect_dependencies import ReflectDependencies
3
-
4
- # Import dependency entities
5
- from .entities import (
6
- CallableDependency,
7
- ClassDependency,
8
- MethodDependency,
9
- ResolvedDependency
10
- )
11
-
12
- # Define the public API of this module
13
- __all__ = [
14
- # Dependency services
15
- "ReflectDependencies",
16
-
17
- # Dependency entities
18
- "CallableDependency",
19
- "ClassDependency",
20
- "MethodDependency",
21
- "ResolvedDependency",
22
- ]
@@ -1,13 +0,0 @@
1
- # Import dependency entities
2
- from .callable_dependencies import CallableDependency
3
- from .class_dependencies import ClassDependency
4
- from .method_dependencies import MethodDependency
5
- from .resolved_dependencies import ResolvedDependency
6
-
7
- # Define the public API of this module
8
- __all__ = [
9
- "CallableDependency",
10
- "ClassDependency",
11
- "MethodDependency",
12
- "ResolvedDependency",
13
- ]
@@ -1,11 +0,0 @@
1
- # Import introspection exceptions
2
- from .reflection_attribute_error import ReflectionAttributeError
3
- from .reflection_type_error import ReflectionTypeError
4
- from .reflection_value_error import ReflectionValueError
5
-
6
- # Define the public API of this module
7
- __all__ = [
8
- "ReflectionAttributeError",
9
- "ReflectionTypeError",
10
- "ReflectionValueError",
11
- ]
@@ -1,7 +0,0 @@
1
- # Import instance reflection services
2
- from .reflection_instance import ReflectionInstance
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ReflectionInstance",
7
- ]
@@ -1,7 +0,0 @@
1
- # Import module reflection services
2
- from .reflection_module import ReflectionModule
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ReflectionModule",
7
- ]
@@ -1,7 +0,0 @@
1
- # Import logging services
2
- from .log_service import LogguerService
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "LogguerService",
7
- ]
@@ -1,20 +0,0 @@
1
- # Import main parser classes
2
- from .serializer import Parser
3
-
4
- # Import parser contracts
5
- from .contracts import IExceptionParser
6
-
7
- # Import parser implementations
8
- from .exceptions import ExceptionParser
9
-
10
- # Define the public API of this module
11
- __all__ = [
12
- # Main parser classes
13
- "Parser",
14
-
15
- # Contracts
16
- "IExceptionParser",
17
-
18
- # Parser implementations
19
- "ExceptionParser",
20
- ]
@@ -1,7 +0,0 @@
1
- # Import parser contracts
2
- from .exception_parser import IExceptionParser
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "IExceptionParser",
7
- ]
@@ -1,7 +0,0 @@
1
- # Import parser exceptions
2
- from .exception_parser import ExceptionParser
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "ExceptionParser",
7
- ]
@@ -1,24 +0,0 @@
1
- # Import main path classes
2
- from .resolver import Resolver
3
-
4
- # Import path contracts
5
- from .contracts import IResolver
6
-
7
- # Import path exceptions
8
- from .exceptions import (
9
- OrionisFileNotFoundException,
10
- OrionisPathValueException
11
- )
12
-
13
- # Define the public API of this module
14
- __all__ = [
15
- # Main path classes
16
- "Resolver",
17
-
18
- # Contracts
19
- "IResolver",
20
-
21
- # Exceptions
22
- "OrionisFileNotFoundException",
23
- "OrionisPathValueException",
24
- ]
@@ -1,7 +0,0 @@
1
- # Import path contracts
2
- from .resolver import IResolver
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- "IResolver",
7
- ]
@@ -1,9 +0,0 @@
1
- # Import path exceptions
2
- from .not_found_exceptions import OrionisFileNotFoundException
3
- from .path_value_exceptions import OrionisPathValueException
4
-
5
- # Define the public API of this module
6
- __all__ = [
7
- "OrionisFileNotFoundException",
8
- "OrionisPathValueException",
9
- ]
@@ -1,17 +0,0 @@
1
- # Import main system classes
2
- from .imports import Imports
3
- from .workers import Workers
4
-
5
- # Import system contracts
6
- from .contracts import IImports, IWorkers
7
-
8
- # Define the public API of this module
9
- __all__ = [
10
- # Main system classes
11
- "Imports",
12
- "Workers",
13
-
14
- # Contracts
15
- "IImports",
16
- "IWorkers"
17
- ]
@@ -1,9 +0,0 @@
1
- # Import system contracts
2
- from .imports import IImports
3
- from .workers import IWorkers
4
-
5
- # Define the public API of this module
6
- __all__ = [
7
- "IImports",
8
- "IWorkers",
9
- ]
@@ -1,9 +0,0 @@
1
- from .std import StdClass
2
- from .contracts import IStdClass
3
- from .exceptions import OrionisStdValueException
4
-
5
- __all__ = [
6
- "StdClass",
7
- "IStdClass",
8
- "OrionisStdValueException"
9
- ]
@@ -1,5 +0,0 @@
1
- from .std import IStdClass
2
-
3
- __all__ = [
4
- "IStdClass"
5
- ]
@@ -1,5 +0,0 @@
1
- from .std_value_exception import OrionisStdValueException
2
-
3
- __all__ = [
4
- "OrionisStdValueException"
5
- ]
@@ -1,5 +1,5 @@
1
- from orionis.support.standard.contracts import IStdClass
2
- from orionis.support.standard.exceptions import OrionisStdValueException
1
+ from orionis.support.standard.contracts.std import IStdClass
2
+ from orionis.support.standard.exceptions.std_value_exception import OrionisStdValueException
3
3
 
4
4
  class StdClass(IStdClass):
5
5
  """
@@ -1,5 +0,0 @@
1
- from .dicts import DotDict
2
-
3
- __all__ = [
4
- "DotDict"
5
- ]
@@ -1,5 +0,0 @@
1
- from .dot_dict import DotDict
2
-
3
- __all__ = [
4
- "DotDict"
5
- ]
orionis/test/__init__.py CHANGED
@@ -1,63 +0,0 @@
1
- # Import custom test case classes from the cases module
2
- from .cases import TestCase, SyncTestCase, AsyncTestCase
3
-
4
- # Import the custom TestHistory class for logging test results
5
- from .logs import TestHistory
6
-
7
- # Import the custom TestResult entity
8
- from .entities import TestResult
9
-
10
- # Import enums for execution mode and test status
11
- from .enums import ExecutionMode, TestStatus
12
-
13
- # Import custom exceptions for test failures
14
- from .exceptions import (
15
- OrionisTestFailureException,
16
- OrionisTestConfigException,
17
- OrionisTestPersistenceError,
18
- OrionisTestRuntimeError,
19
- OrionisTestValueError
20
- )
21
-
22
- # Import configuration and suite classes for organizing tests
23
- from .test_suite import Configuration, TestSuite
24
- from .suite import UnitTest
25
-
26
- # Import standard unittest components for compatibility
27
- from unittest import (
28
- TestLoader,
29
- TestSuite as StandardTestSuite,
30
- TestResult as StandardTestResult
31
- )
32
-
33
- # Import mock classes for creating test doubles
34
- from unittest.mock import (
35
- Mock,
36
- MagicMock,
37
- patch
38
- )
39
-
40
- # Define the public API of this module
41
- __all__ = [
42
- "TestCase",
43
- "SyncTestCase",
44
- "AsyncTestCase",
45
- "TestResult",
46
- "ExecutionMode",
47
- "TestStatus",
48
- "OrionisTestFailureException",
49
- "OrionisTestConfigException",
50
- "OrionisTestPersistenceError",
51
- "OrionisTestRuntimeError",
52
- "OrionisTestValueError",
53
- "Configuration",
54
- "TestSuite",
55
- "UnitTest",
56
- "TestLoader",
57
- "StandardTestSuite",
58
- "StandardTestResult",
59
- "Mock",
60
- "MagicMock",
61
- "TestHistory",
62
- "patch",
63
- ]
@@ -1,9 +0,0 @@
1
- from .test_case import TestCase
2
- from .test_sync import SyncTestCase
3
- from .test_async import AsyncTestCase
4
-
5
- __all__ = [
6
- "TestCase",
7
- "SyncTestCase",
8
- "AsyncTestCase",
9
- ]