orionis 0.614.0__py3-none-any.whl → 0.616.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.
@@ -28,24 +28,41 @@ from orionis.support.wrapper.dataclass import DataClass
28
28
 
29
29
  class Application(Container, IApplication):
30
30
  """
31
- Main application container that manages the complete application lifecycle.
32
-
33
- This class extends the Container to provide comprehensive application-level
34
- functionality including service provider registration and bootstrapping, kernel
35
- management, configuration handling, and application initialization. It implements
36
- a fluent interface pattern to enable method chaining for configuration setup.
37
-
38
- The Application class serves as the central orchestrator for the Orionis framework,
39
- managing the loading and booting of service providers, framework kernels, and
40
- various configuration subsystems such as authentication, caching, database,
41
- logging, and more.
31
+ Application: Main container that manages the complete lifecycle of the Orionis application.
32
+
33
+ This class extends `Container` and acts as the central core of the Orionis framework,
34
+ orchestrating initialization, configuration, registration, and bootstrapping of all
35
+ application components and services. It follows a fluent interface pattern, enabling
36
+ method chaining for clear and concise configuration.
37
+
38
+ Key Responsibilities:
39
+ ---------------------
40
+ - Registers and boots both native and user-defined service providers, ensuring all
41
+ dependencies and services are available throughout the application lifecycle.
42
+ - Loads and manages essential framework kernels (CLI, testing, etc.), guaranteeing
43
+ that core components are properly initialized and accessible.
44
+ - Centralizes configuration management for all critical subsystems: authentication,
45
+ cache, database, logging, mail, queue, routing, storage, session, testing, and more.
46
+ - Provides methods for customizing and extending the application architecture,
47
+ supporting dynamic configurator loading and seamless integration of additional services.
48
+ - Implements mechanisms for custom exception handling and schedulers, enhancing
49
+ robustness and flexibility across the application lifecycle.
50
+ - Exposes utilities for accessing configuration and path settings using dot notation.
51
+
52
+ Typical Workflow:
53
+ -----------------
54
+ 1. Instantiate the Application class.
55
+ 2. Register providers and configurators via `withProviders` and `withConfigurators`.
56
+ 3. Optionally customize exception handlers and schedulers.
57
+ 4. Call `create()` to initialize and boot the application, loading kernels and providers.
58
+ 5. Access services, configuration, and paths through the Application instance.
42
59
 
43
60
  Attributes
44
61
  ----------
45
62
  isBooted : bool
46
- Read-only property indicating whether the application providers have been booted.
63
+ Read-only property indicating whether the application providers have been booted.
47
64
  startAt : int
48
- Read-only property containing the timestamp when the application was started.
65
+ Read-only property containing the timestamp (epoch) when the application was started.
49
66
  """
50
67
 
51
68
  @property
@@ -10,7 +10,9 @@ class OrionisIntegrityException(Exception):
10
10
  OrionisIntegrityException
11
11
  An instance of the exception.
12
12
  """
13
- pass # No additional logic; inherits from base Exception
13
+
14
+ # No additional logic; inherits from base Exception
15
+ pass
14
16
 
15
17
 
16
18
  class OrionisRuntimeError(RuntimeError):
@@ -25,7 +27,9 @@ class OrionisRuntimeError(RuntimeError):
25
27
  OrionisRuntimeError
26
28
  An instance of the exception.
27
29
  """
28
- pass # Inherits from Python's built-in RuntimeError
30
+
31
+ # Inherits from Python's built-in RuntimeError
32
+ pass
29
33
 
30
34
 
31
35
  class OrionisTypeError(TypeError):
@@ -40,7 +44,9 @@ class OrionisTypeError(TypeError):
40
44
  OrionisTypeError
41
45
  An instance of the exception.
42
46
  """
43
- pass # Inherits from Python's built-in TypeError
47
+
48
+ # Inherits from Python's built-in TypeError
49
+ pass
44
50
 
45
51
 
46
52
  class OrionisValueError(ValueError):
@@ -55,4 +61,6 @@ class OrionisValueError(ValueError):
55
61
  OrionisValueError
56
62
  An instance of the exception.
57
63
  """
58
- pass # Inherits from Python's built-in ValueError
64
+
65
+ # Inherits from Python's built-in ValueError
66
+ pass
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.614.0"
8
+ VERSION = "0.616.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.614.0
3
+ Version: 0.616.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
@@ -103,7 +103,7 @@ orionis/failure/contracts/handler.py,sha256=AeJfkJfD3hTkOIYAtADq6GnQfq-qWgDfUc7b
103
103
  orionis/failure/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  orionis/failure/entities/throwable.py,sha256=1zD-awcuAyEtlR-L7V7ZIfPSF4GpXkf-neL5sXul7dc,1240
105
105
  orionis/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
106
- orionis/foundation/application.py,sha256=zi-HJC0VrQET-dpO6pQdpm4vIgSkorLSKRsNv0p2G30,89309
106
+ orionis/foundation/application.py,sha256=frdnW4Rt21_FEHDu89f47I-oi4sAKtzI8l9ebWRrRAk,90479
107
107
  orionis/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
108
108
  orionis/foundation/config/startup.py,sha256=btqvryeIf9lLNQ9fBff7bJMrfraEY8qrWi4y_5YAR0Q,9681
109
109
  orionis/foundation/config/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -199,7 +199,7 @@ orionis/foundation/config/testing/enums/verbosity.py,sha256=Z-FQ6C3rxbRwP8HoVibb
199
199
  orionis/foundation/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
200
200
  orionis/foundation/contracts/application.py,sha256=rtvnjAHbPh3fBb7seZWiAc9zF2pxg3w36Q33_keAOcg,46832
201
201
  orionis/foundation/exceptions/__init__.py,sha256=ufomZK6am2-QAaj9peXW549xy_qflcbwj0ECuZz-1Kc,263
202
- orionis/foundation/exceptions/application.py,sha256=dr6Wm7d9rusd1p9tzf2bNuntOUxsaOb4OPP1o-NOA88,1614
202
+ orionis/foundation/exceptions/application.py,sha256=jeNToFG7msej2Ow6A7Zqj7cNLoI4NVpN2b5fdbhOiCI,1638
203
203
  orionis/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
204
  orionis/foundation/providers/catch_provider.py,sha256=E8LtH8mKyeAFGS7PZrgT4t-bIkbrpTLZTth0_uTk9OY,1171
205
205
  orionis/foundation/providers/cli_request_provider.py,sha256=bbCU-wQN49MEXW1CJJCupNmz2FsaNuk24fSJ80k-guo,1313
@@ -216,7 +216,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=IrPQJwvQVLRm5Qnz0Cxon4
216
216
  orionis/foundation/providers/testing_provider.py,sha256=eI1p2lUlxl25b5Z487O4nmqLE31CTDb4c3Q21xFadkE,1615
217
217
  orionis/foundation/providers/workers_provider.py,sha256=GdHENYV_yGyqmHJHn0DCyWmWId5xWjD48e6Zq2PGCWY,1674
218
218
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
219
- orionis/metadata/framework.py,sha256=uzNzXKaQrLGo5vxlsRvHfPC8A-y32VzSk3Es_r2yZlc,4109
219
+ orionis/metadata/framework.py,sha256=ENwcEbiue5W7lf1_fiyBZlKZKY7zAZH1tMrHLkGCAb8,4109
220
220
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
221
221
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
222
222
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -403,8 +403,8 @@ orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnI
403
403
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
404
404
  orionis/test/view/render.py,sha256=R55ykeRs0wDKcdTf4O1YZ8GDHTFmJ0IK6VQkbJkYUvo,5571
405
405
  orionis/test/view/report.stub,sha256=QLqqCdRoENr3ECiritRB3DO_MOjRQvgBh5jxZ3Hs1r0,28189
406
- orionis-0.614.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
407
- orionis-0.614.0.dist-info/METADATA,sha256=IEifcfvwh-YqvRe-SQdeISs7_Ww8qYgk6-Cz4xy25wM,4801
408
- orionis-0.614.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
409
- orionis-0.614.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
410
- orionis-0.614.0.dist-info/RECORD,,
406
+ orionis-0.616.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
407
+ orionis-0.616.0.dist-info/METADATA,sha256=NxR2i-XdAdF0_Mfkoa2987cSMOoHNEQlvaq2vZI7oN4,4801
408
+ orionis-0.616.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
409
+ orionis-0.616.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
410
+ orionis-0.616.0.dist-info/RECORD,,