orionis 0.338.0__py3-none-any.whl → 0.341.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 (80) hide show
  1. orionis/container/__init__.py +70 -0
  2. orionis/container/context/__init__.py +9 -0
  3. orionis/container/contracts/__init__.py +9 -0
  4. orionis/container/entities/__init__.py +7 -0
  5. orionis/container/enums/__init__.py +7 -0
  6. orionis/container/exceptions/__init__.py +13 -0
  7. orionis/container/facades/__init__.py +7 -0
  8. orionis/container/providers/__init__.py +7 -0
  9. orionis/container/validators/__init__.py +23 -0
  10. orionis/foundation/__init__.py +52 -0
  11. orionis/foundation/config/__init__.py +128 -0
  12. orionis/foundation/config/app/__init__.py +10 -0
  13. orionis/foundation/config/app/entities/__init__.py +7 -0
  14. orionis/foundation/config/app/enums/__init__.py +9 -0
  15. orionis/foundation/config/auth/__init__.py +7 -0
  16. orionis/foundation/config/auth/entities/__init__.py +7 -0
  17. orionis/foundation/config/cache/__init__.py +11 -0
  18. orionis/foundation/config/cache/entities/__init__.py +11 -0
  19. orionis/foundation/config/cache/enums/__init__.py +7 -0
  20. orionis/foundation/config/cors/__init__.py +7 -0
  21. orionis/foundation/config/cors/entities/__init__.py +7 -0
  22. orionis/foundation/config/database/__init__.py +61 -0
  23. orionis/foundation/config/database/entities/__init__.py +17 -0
  24. orionis/foundation/config/database/enums/__init__.py +40 -0
  25. orionis/foundation/config/filesystems/__init__.py +17 -0
  26. orionis/foundation/config/filesystems/entitites/__init__.py +15 -0
  27. orionis/foundation/config/logging/__init__.py +30 -0
  28. orionis/foundation/config/logging/entities/__init__.py +21 -0
  29. orionis/foundation/config/logging/enums/__init__.py +7 -0
  30. orionis/foundation/config/mail/__init__.py +15 -0
  31. orionis/foundation/config/mail/entities/__init__.py +13 -0
  32. orionis/foundation/config/queue/__init__.py +20 -0
  33. orionis/foundation/config/queue/entities/__init__.py +11 -0
  34. orionis/foundation/config/queue/enums/__init__.py +7 -0
  35. orionis/foundation/config/roots/__init__.py +7 -0
  36. orionis/foundation/config/session/__init__.py +20 -0
  37. orionis/foundation/config/session/entities/__init__.py +7 -0
  38. orionis/foundation/config/session/enums/__init__.py +7 -0
  39. orionis/foundation/config/session/helpers/__init__.py +7 -0
  40. orionis/foundation/config/testing/__init__.py +14 -0
  41. orionis/foundation/config/testing/entities/__init__.py +7 -0
  42. orionis/foundation/config/testing/enums/__init__.py +7 -0
  43. orionis/foundation/contracts/__init__.py +7 -0
  44. orionis/foundation/exceptions/__init__.py +9 -0
  45. orionis/metadata/__init__.py +34 -0
  46. orionis/metadata/framework.py +1 -1
  47. orionis/patterns/__init__.py +8 -0
  48. orionis/patterns/singleton/__init__.py +7 -0
  49. orionis/services/asynchrony/__init__.py +11 -0
  50. orionis/services/asynchrony/contracts/__init__.py +7 -0
  51. orionis/services/asynchrony/coroutines.py +2 -2
  52. orionis/services/asynchrony/exceptions/__init__.py +7 -0
  53. orionis/services/environment/__init__.py +29 -0
  54. orionis/services/environment/contracts/__init__.py +9 -0
  55. orionis/services/environment/exceptions/__init__.py +9 -0
  56. orionis/services/introspection/__init__.py +68 -0
  57. orionis/services/introspection/abstract/__init__.py +7 -0
  58. orionis/services/introspection/callables/__init__.py +7 -0
  59. orionis/services/introspection/concretes/__init__.py +7 -0
  60. orionis/services/introspection/contracts/__init__.py +15 -0
  61. orionis/services/introspection/dependencies/__init__.py +22 -0
  62. orionis/services/introspection/dependencies/entities/__init__.py +13 -0
  63. orionis/services/introspection/exceptions/__init__.py +11 -0
  64. orionis/services/introspection/instances/__init__.py +7 -0
  65. orionis/services/introspection/modules/__init__.py +7 -0
  66. orionis/services/log/__init__.py +7 -0
  67. orionis/services/parsers/__init__.py +20 -0
  68. orionis/services/parsers/contracts/__init__.py +7 -0
  69. orionis/services/parsers/exceptions/__init__.py +7 -0
  70. orionis/services/paths/__init__.py +24 -0
  71. orionis/services/paths/contracts/__init__.py +7 -0
  72. orionis/services/paths/exceptions/__init__.py +9 -0
  73. orionis/services/system/__init__.py +17 -0
  74. orionis/services/system/contracts/__init__.py +9 -0
  75. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/METADATA +1 -1
  76. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/RECORD +80 -77
  77. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/WHEEL +0 -0
  78. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/licenses/LICENCE +0 -0
  79. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/top_level.txt +0 -0
  80. {orionis-0.338.0.dist-info → orionis-0.341.0.dist-info}/zip-safe +0 -0
@@ -0,0 +1,13 @@
1
+ # Import mail entities
2
+ from .file import File
3
+ from .mail import Mail
4
+ from .mailers import Mailers
5
+ from .smtp import Smtp
6
+
7
+ # Define the public API of this module
8
+ __all__ = [
9
+ "File",
10
+ "Mail",
11
+ "Mailers",
12
+ "Smtp",
13
+ ]
@@ -0,0 +1,20 @@
1
+ # Import queue entities
2
+ from .entities import (
3
+ Brokers,
4
+ Database,
5
+ Queue
6
+ )
7
+
8
+ # Import queue enums
9
+ from .enums import Strategy
10
+
11
+ # Define the public API of this module
12
+ __all__ = [
13
+ # Queue entities
14
+ "Brokers",
15
+ "Database",
16
+ "Queue",
17
+
18
+ # Queue enums
19
+ "Strategy",
20
+ ]
@@ -0,0 +1,11 @@
1
+ # Import queue entities
2
+ from .brokers import Brokers
3
+ from .database import Database
4
+ from .queue import Queue
5
+
6
+ # Define the public API of this module
7
+ __all__ = [
8
+ "Brokers",
9
+ "Database",
10
+ "Queue",
11
+ ]
@@ -0,0 +1,7 @@
1
+ # Import queue enums
2
+ from .strategy import Strategy
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "Strategy",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import roots configuration components
2
+ from .paths import Paths
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "Paths",
7
+ ]
@@ -0,0 +1,20 @@
1
+ # Import session entities
2
+ from .entities import Session
3
+
4
+ # Import session enums
5
+ from .enums import SameSitePolicy
6
+
7
+ # Import session helpers
8
+ from .helpers import SecretKey
9
+
10
+ # Define the public API of this module
11
+ __all__ = [
12
+ # Session entities
13
+ "Session",
14
+
15
+ # Session enums
16
+ "SameSitePolicy",
17
+
18
+ # Session helpers
19
+ "SecretKey",
20
+ ]
@@ -0,0 +1,7 @@
1
+ # Import session entities
2
+ from .session import Session
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "Session",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import session enums
2
+ from .same_site_policy import SameSitePolicy
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "SameSitePolicy",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import session helpers
2
+ from .secret_key import SecretKey
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "SecretKey",
7
+ ]
@@ -0,0 +1,14 @@
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
+ ]
@@ -0,0 +1,7 @@
1
+ # Import testing entities
2
+ from .testing import Testing
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "Testing",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import testing enums
2
+ from .test_mode import ExecutionMode
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "ExecutionMode",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import foundation contracts
2
+ from .config import IConfig
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "IConfig",
7
+ ]
@@ -0,0 +1,9 @@
1
+ # Import foundation exceptions
2
+ from .integrity import OrionisIntegrityException
3
+ from .value_error import OrionisValueError
4
+
5
+ # Define the public API of this module
6
+ __all__ = [
7
+ "OrionisIntegrityException",
8
+ "OrionisValueError",
9
+ ]
@@ -0,0 +1,34 @@
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
+ )
14
+
15
+ # Import package utilities
16
+ from .package import PypiPackageApi
17
+
18
+ # Define the public API of this module
19
+ __all__ = [
20
+ # Framework metadata constants
21
+ "NAME",
22
+ "VERSION",
23
+ "AUTHOR",
24
+ "AUTHOR_EMAIL",
25
+ "DESCRIPTION",
26
+ "SKELETON",
27
+ "FRAMEWORK",
28
+ "DOCS",
29
+ "API",
30
+ "PYTHON_REQUIRES",
31
+
32
+ # Package utilities
33
+ "PypiPackageApi",
34
+ ]
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.338.0"
8
+ VERSION = "0.341.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -0,0 +1,8 @@
1
+ # Import pattern implementations
2
+ from .singleton import Singleton
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ # Singleton pattern
7
+ "Singleton",
8
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,11 @@
1
+ # Importing necessary modules for asynchrony services in Orionis framework
2
+ from .coroutines import Coroutine
3
+ from .exceptions import OrionisCoroutineException
4
+ from .contracts import ICoroutine
5
+
6
+ # Defining the public API of this module
7
+ __all__ = [
8
+ "Coroutine",
9
+ "OrionisCoroutineException",
10
+ "ICoroutine"
11
+ ]
@@ -0,0 +1,7 @@
1
+ # Importing the ICoroutine interface from the orionis.services.asynchrony.contracts module
2
+ from .coroutines import ICoroutine
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "ICoroutine"
7
+ ]
@@ -1,7 +1,7 @@
1
1
  import asyncio
2
2
  from typing import Any, Coroutine as TypingCoroutine, TypeVar, Union
3
- from orionis.services.asynchrony.contracts.coroutines import ICoroutine
4
- from orionis.services.asynchrony.exceptions.coroutine_exception import OrionisCoroutineException
3
+ from orionis.services.asynchrony.contracts import ICoroutine
4
+ from orionis.services.asynchrony.exceptions import OrionisCoroutineException
5
5
  from orionis.services.introspection.inspection import Inspection
6
6
 
7
7
  T = TypeVar("T")
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,29 @@
1
+ # Import environment services
2
+ from .dot_env import DotEnv
3
+ from .env import Env
4
+ from .types import EnvTypes
5
+
6
+ # Import environment contracts
7
+ from .contracts import IEnv, IEnvTypes
8
+
9
+ # Import environment exceptions
10
+ from .exceptions import (
11
+ OrionisEnvironmentValueError,
12
+ OrionisEnvironmentValueException
13
+ )
14
+
15
+ # Define the public API of this module
16
+ __all__ = [
17
+ # Environment services
18
+ "DotEnv",
19
+ "Env",
20
+ "EnvTypes",
21
+
22
+ # Environment contracts
23
+ "IEnv",
24
+ "IEnvTypes",
25
+
26
+ # Environment exceptions
27
+ "OrionisEnvironmentValueError",
28
+ "OrionisEnvironmentValueException",
29
+ ]
@@ -0,0 +1,9 @@
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
+ ]
@@ -0,0 +1,9 @@
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
+ ]
@@ -0,0 +1,68 @@
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
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,15 @@
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
+ ]
@@ -0,0 +1,22 @@
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
+ ]
@@ -0,0 +1,13 @@
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
+ ]
@@ -0,0 +1,11 @@
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
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,7 @@
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
+ ]
@@ -0,0 +1,7 @@
1
+ # Import logging services
2
+ from .log_service import LogguerService
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "LogguerService",
7
+ ]
@@ -0,0 +1,20 @@
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
+ ]
@@ -0,0 +1,7 @@
1
+ # Import parser contracts
2
+ from .exception_parser import IExceptionParser
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "IExceptionParser",
7
+ ]
@@ -0,0 +1,7 @@
1
+ # Import parser exceptions
2
+ from .exception_parser import ExceptionParser
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "ExceptionParser",
7
+ ]
@@ -0,0 +1,24 @@
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
+ ]
@@ -0,0 +1,7 @@
1
+ # Import path contracts
2
+ from .resolver import IResolver
3
+
4
+ # Define the public API of this module
5
+ __all__ = [
6
+ "IResolver",
7
+ ]
@@ -0,0 +1,9 @@
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
+ ]
@@ -0,0 +1,17 @@
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
+ ]
@@ -0,0 +1,9 @@
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.338.0
3
+ Version: 0.341.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