orionis 0.614.0__py3-none-any.whl → 0.615.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/foundation/application.py +30 -13
- orionis/metadata/framework.py +1 -1
- {orionis-0.614.0.dist-info → orionis-0.615.0.dist-info}/METADATA +1 -1
- {orionis-0.614.0.dist-info → orionis-0.615.0.dist-info}/RECORD +7 -7
- {orionis-0.614.0.dist-info → orionis-0.615.0.dist-info}/WHEEL +0 -0
- {orionis-0.614.0.dist-info → orionis-0.615.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.614.0.dist-info → orionis-0.615.0.dist-info}/top_level.txt +0 -0
|
@@ -28,24 +28,41 @@ from orionis.support.wrapper.dataclass import DataClass
|
|
|
28
28
|
|
|
29
29
|
class Application(Container, IApplication):
|
|
30
30
|
"""
|
|
31
|
-
Main
|
|
32
|
-
|
|
33
|
-
This class extends the
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
63
|
+
Read-only property indicating whether the application providers have been booted.
|
|
47
64
|
startAt : int
|
|
48
|
-
|
|
65
|
+
Read-only property containing the timestamp (epoch) when the application was started.
|
|
49
66
|
"""
|
|
50
67
|
|
|
51
68
|
@property
|
orionis/metadata/framework.py
CHANGED
|
@@ -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=
|
|
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
|
|
@@ -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=
|
|
219
|
+
orionis/metadata/framework.py,sha256=F_AfLW-Z5lm23wlCAQmCM06TzhNf2QtNwzP0aS5BBGM,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.
|
|
407
|
-
orionis-0.
|
|
408
|
-
orionis-0.
|
|
409
|
-
orionis-0.
|
|
410
|
-
orionis-0.
|
|
406
|
+
orionis-0.615.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
|
|
407
|
+
orionis-0.615.0.dist-info/METADATA,sha256=11J6tAu_o4a4R0A_VnrK5wB2jWl_BN_08DY_iFWIHY4,4801
|
|
408
|
+
orionis-0.615.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
409
|
+
orionis-0.615.0.dist-info/top_level.txt,sha256=lyXi6jArpqJ-0zzNqd_uwsH-z9TCEBVBL-pC3Ekv7hU,8
|
|
410
|
+
orionis-0.615.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|