orionis 0.138.0__py3-none-any.whl → 0.151.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/framework.py +1 -1
- orionis/luminate/application.py +1 -4
- orionis/luminate/console/base/command.py +6 -3
- orionis/luminate/console/command_filter.py +1 -1
- orionis/luminate/console/commands/cache_clear.py +4 -3
- orionis/luminate/console/commands/schedule_work.py +1 -1
- orionis/luminate/console/kernel.py +1 -2
- orionis/luminate/console/output/console.py +1 -1
- orionis/luminate/console/output/executor.py +1 -1
- orionis/luminate/console/output/progress_bar.py +1 -1
- orionis/luminate/console/parser.py +1 -1
- orionis/luminate/container/container.py +379 -270
- orionis/luminate/container/container_integrity.py +235 -0
- orionis/luminate/container/lifetimes.py +13 -0
- orionis/luminate/contracts/console/{i_parser.py → parser.py} +0 -1
- orionis/luminate/contracts/container/container.py +346 -0
- orionis/luminate/contracts/container/container_integrity.py +168 -0
- orionis/luminate/facades/commands/commands_facade.py +1 -1
- orionis/luminate/facades/commands/scheduler_facade.py +1 -1
- orionis/luminate/facades/config/config_facade.py +1 -1
- orionis/luminate/facades/environment/environment_facade.py +1 -2
- orionis/luminate/facades/files/path_facade.py +1 -1
- orionis/luminate/facades/log/log_facade.py +1 -1
- orionis/luminate/facades/tests/tests_facade.py +1 -1
- orionis/luminate/foundation/config/config_bootstrapper.py +1 -1
- orionis/luminate/foundation/console/command_bootstrapper.py +1 -1
- orionis/luminate/foundation/environment/environment_bootstrapper.py +1 -1
- orionis/luminate/foundation/providers/service_providers_bootstrapper.py +1 -1
- orionis/luminate/providers/commands/reactor_commands_service_provider.py +2 -1
- orionis/luminate/providers/commands/scheduler_provider.py +2 -1
- orionis/luminate/providers/config/config_service_provider.py +2 -1
- orionis/luminate/providers/environment/environment__service_provider.py +2 -1
- orionis/luminate/providers/files/paths_provider.py +2 -1
- orionis/luminate/providers/log/log_service_provider.py +2 -1
- orionis/luminate/providers/service_provider.py +1 -2
- orionis/luminate/services/commands/reactor_commands_service.py +1 -2
- orionis/luminate/services/commands/scheduler_service.py +1 -2
- orionis/luminate/services/config/config_service.py +1 -2
- orionis/luminate/services/environment/environment_service.py +1 -2
- orionis/luminate/services/files/path_resolver_service.py +1 -2
- orionis/luminate/services/log/log_service.py +1 -2
- orionis/luminate/support/exception_to_dict.py +1 -1
- orionis/luminate/support/reflection.py +1 -1
- orionis/luminate/support/std.py +1 -1
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/METADATA +1 -1
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/RECORD +78 -77
- orionis/luminate/container/types.py +0 -51
- orionis/luminate/contracts/container/i_container.py +0 -239
- orionis/luminate/contracts/container/i_types.py +0 -16
- /orionis/luminate/contracts/console/base/{i_command.py → command.py} +0 -0
- /orionis/luminate/contracts/console/{i_command_filter.py → command_filter.py} +0 -0
- /orionis/luminate/contracts/console/{i_kernel.py → kernel.py} +0 -0
- /orionis/luminate/contracts/console/output/{i_console.py → console.py} +0 -0
- /orionis/luminate/contracts/console/output/{i_executor.py → executor.py} +0 -0
- /orionis/luminate/contracts/console/output/{i_progress_bar.py → progress_bar.py} +0 -0
- /orionis/luminate/contracts/console/{i_task_manager.py → task_manager.py} +0 -0
- /orionis/luminate/contracts/facades/commands/{i_commands_facade.py → commands_facade.py} +0 -0
- /orionis/luminate/contracts/facades/commands/{i_scheduler_facade.py → scheduler_facade.py} +0 -0
- /orionis/luminate/contracts/facades/config/{i_config_facade.py → config_facade.py} +0 -0
- /orionis/luminate/contracts/facades/environment/{i_environment_facade.py → environment_facade.py} +0 -0
- /orionis/luminate/contracts/facades/files/{i_path_facade.py → path_facade.py} +0 -0
- /orionis/luminate/contracts/facades/log/{i_log_facade.py → log_facade.py} +0 -0
- /orionis/luminate/contracts/facades/tests/{i_tests_facade.py → tests_facade.py} +0 -0
- /orionis/luminate/contracts/foundation/config/{i_config_bootstrapper.py → config_bootstrapper.py} +0 -0
- /orionis/luminate/contracts/foundation/console/{i_command_bootstrapper.py → command_bootstrapper.py} +0 -0
- /orionis/luminate/contracts/foundation/environment/{i_environment_bootstrapper.py → environment_bootstrapper.py} +0 -0
- /orionis/luminate/contracts/foundation/providers/{i_service_providers_bootstrapper.py → service_providers_bootstrapper.py} +0 -0
- /orionis/luminate/contracts/providers/{i_service_provider.py → service_provider.py} +0 -0
- /orionis/luminate/contracts/services/commands/{i_reactor_commands_service.py → reactor_commands_service.py} +0 -0
- /orionis/luminate/contracts/services/commands/{i_schedule_service.py → schedule_service.py} +0 -0
- /orionis/luminate/contracts/services/config/{i_config_service.py → config_service.py} +0 -0
- /orionis/luminate/contracts/services/environment/{i_environment_service.py → environment_service.py} +0 -0
- /orionis/luminate/contracts/services/files/{i_path_resolver_service.py → path_resolver_service.py} +0 -0
- /orionis/luminate/contracts/services/log/{i_log_service.py → log_service.py} +0 -0
- /orionis/luminate/contracts/support/{i_exception_to_dict.py → exception_to_dict.py} +0 -0
- /orionis/luminate/contracts/support/{i_reflection.py → reflection.py} +0 -0
- /orionis/luminate/contracts/support/{i_std.py → std.py} +0 -0
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/LICENCE +0 -0
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/WHEEL +0 -0
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.138.0.dist-info → orionis-0.151.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/cli_manager.py,sha256=oXY5UYvtalP996h7z5iaEc7z5b1hyFWXrLPrvtoxWcU,1368
|
3
|
-
orionis/framework.py,sha256=
|
3
|
+
orionis/framework.py,sha256=IO7_FFD-yr1zbxtqlpPvSoiOTigPLQ8DqpROOjwHiAo,1387
|
4
4
|
orionis/installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orionis/installer/manager.py,sha256=UfUvHOCqcj6YKuwSS6pmhxRXUNGaMWseZNXBZybKLTk,3143
|
6
6
|
orionis/installer/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -12,7 +12,7 @@ orionis/installer/output/output.py,sha256=eA_3yPUc50RwB829IgUzfipkawCIOIRqQlXuUw
|
|
12
12
|
orionis/installer/setup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
orionis/installer/setup/setup.py,sha256=zAZDelFwieZ9HbR_mSgvW9-gI--Zzu__6SZWWw4VEE8,6967
|
14
14
|
orionis/luminate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
-
orionis/luminate/application.py,sha256=
|
15
|
+
orionis/luminate/application.py,sha256=BFxydlIxmVRh1-FE5mCHmkEAbC0n01k2Xy81pmNlvHo,14596
|
16
16
|
orionis/luminate/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
orionis/luminate/config/app.py,sha256=7teuVPuaV2ao0M5Bv-jhSgjEwb9DtVwde2saTRmYru4,1737
|
18
18
|
orionis/luminate/config/auth.py,sha256=CG8F0pfVjKz4DY3d1Wi7gscdhnp4TT-Q8SJ2sdsHh18,523
|
@@ -25,141 +25,142 @@ orionis/luminate/config/mail.py,sha256=3iYXG72bXiVns4sEPZ_A3-cGcFjGEGDXkuLKkk-hK
|
|
25
25
|
orionis/luminate/config/queue.py,sha256=DYjP5zD09ISsIX117wtOfjiG_iQrcrPoQVeeftmuO3c,1739
|
26
26
|
orionis/luminate/config/session.py,sha256=7mOC_DfGIBDqAClSiewHoTA9Kht_zdHApvALcZc7cfY,1861
|
27
27
|
orionis/luminate/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
-
orionis/luminate/console/command_filter.py,sha256=
|
29
|
-
orionis/luminate/console/kernel.py,sha256=
|
30
|
-
orionis/luminate/console/parser.py,sha256=
|
28
|
+
orionis/luminate/console/command_filter.py,sha256=y_S--nZ1FynurqWcXP-yCl3YE_LNAtXi6Ae57gdDdAU,1329
|
29
|
+
orionis/luminate/console/kernel.py,sha256=knzOpbsHJJpAbCSrnFXgRHK9Uk4OisEW_jiylaR-PLA,891
|
30
|
+
orionis/luminate/console/parser.py,sha256=jQPDYHvGt-h2qnmDUObaxF9CmuX9YK_8XTYnQwKCSXE,5586
|
31
31
|
orionis/luminate/console/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
|
-
orionis/luminate/console/base/command.py,sha256=
|
32
|
+
orionis/luminate/console/base/command.py,sha256=K-Jv3OTVenyrpTI2Jov-WQ435CA4tgqMy6sztxYKDFA,12674
|
33
33
|
orionis/luminate/console/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
34
|
-
orionis/luminate/console/commands/cache_clear.py,sha256=
|
34
|
+
orionis/luminate/console/commands/cache_clear.py,sha256=UV2VFFK-LsUNDrqKb_Q8HWnwlwvIuTWTsbQ5x5rWHGk,2859
|
35
35
|
orionis/luminate/console/commands/help.py,sha256=kbE4WiTE1ypGKZl5lGnz_HxRA5moKxOSYvo92IjiuCQ,2288
|
36
|
-
orionis/luminate/console/commands/schedule_work.py,sha256=
|
36
|
+
orionis/luminate/console/commands/schedule_work.py,sha256=_MY_dsPQtH--YaEg6S9yhUaGHE76kVFESu2eeMu5pZw,2172
|
37
37
|
orionis/luminate/console/commands/tests.py,sha256=Z7e6aM5Vu8C7R8iC8sJgUYVN9aJgtVMkqjUEFxPq91o,1281
|
38
38
|
orionis/luminate/console/commands/version.py,sha256=llVPK6ELtf8dIdPvLbybrtipWwZkzV0EXc9ShL-C-GY,1140
|
39
39
|
orionis/luminate/console/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
40
40
|
orionis/luminate/console/exceptions/cli_exception.py,sha256=T5rFjBEXWQf3RbpMb7KDoYayylm5DLPUPLC5OzkZ2-I,4623
|
41
41
|
orionis/luminate/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
42
|
-
orionis/luminate/console/output/console.py,sha256=
|
43
|
-
orionis/luminate/console/output/executor.py,sha256=
|
44
|
-
orionis/luminate/console/output/progress_bar.py,sha256=
|
42
|
+
orionis/luminate/console/output/console.py,sha256=URqrEHhsgWk2gOb4G13rCri40uMsihDlSbusYj43NVg,16345
|
43
|
+
orionis/luminate/console/output/executor.py,sha256=91722rNiAsKpuq5QYiI7Aqw_7ccmn0DS9KYQrZt0TOs,3369
|
44
|
+
orionis/luminate/console/output/progress_bar.py,sha256=ZiPGcUaN3EINeLRKgLGtS1GAb1XWlCDx7wFQ7Ff0hqY,3096
|
45
45
|
orionis/luminate/console/output/styles.py,sha256=2e1_FJdNpKaVqmdlCx-udzTleH_6uEFE9_TjH7T1ZUk,3696
|
46
|
-
orionis/luminate/container/container.py,sha256=
|
46
|
+
orionis/luminate/container/container.py,sha256=rgCtiJvi9-Aj9WRkEztHSBMYukTeDmipm5Z6zw_KWmc,18889
|
47
|
+
orionis/luminate/container/container_integrity.py,sha256=9Bhqd_rNIrZbCieyrjR6T25Av8TfoMVWafTjJ77hg10,7914
|
47
48
|
orionis/luminate/container/exception.py,sha256=ap1SqYEjQEEHXJJTNmL7V1jrmRjgT5_7geZ95MYkhMA,1691
|
48
|
-
orionis/luminate/container/
|
49
|
+
orionis/luminate/container/lifetimes.py,sha256=2lbdiV7R2WlJf1cLD6eBxLnJud_lZvX1IhQH2Djy3Ww,375
|
49
50
|
orionis/luminate/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
51
|
orionis/luminate/contracts/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
52
|
orionis/luminate/contracts/config/i_config.py,sha256=rbeojO2gm8XhSXIPY8EnUt4e0wO633OKF9Nx_tN5y60,785
|
52
53
|
orionis/luminate/contracts/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
53
|
-
orionis/luminate/contracts/console/
|
54
|
-
orionis/luminate/contracts/console/
|
55
|
-
orionis/luminate/contracts/console/
|
56
|
-
orionis/luminate/contracts/console/
|
54
|
+
orionis/luminate/contracts/console/command_filter.py,sha256=g66AlKNjTyQfdarO23r27nFqwiCnrP6kjaZ7tUGql-c,937
|
55
|
+
orionis/luminate/contracts/console/kernel.py,sha256=GtiGlWe7EQ9aeChHpQ-GlIJlJ5tEqpZYYkjNcrwXI94,945
|
56
|
+
orionis/luminate/contracts/console/parser.py,sha256=2iu8mHscZmb2BcX6-6Fy_NVvqN5Zj1YEk2fWOf30XT8,2080
|
57
|
+
orionis/luminate/contracts/console/task_manager.py,sha256=SfSEAebGZIt7ajBU-jdWklvYHjUffA5pertVVLw-E4E,1207
|
57
58
|
orionis/luminate/contracts/console/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
|
-
orionis/luminate/contracts/console/base/
|
59
|
+
orionis/luminate/contracts/console/base/command.py,sha256=godE5t2r5Vrc5jYu_bsJnlSj8DjFWqtZYe14S7sKxwE,12239
|
59
60
|
orionis/luminate/contracts/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
60
|
-
orionis/luminate/contracts/console/output/
|
61
|
-
orionis/luminate/contracts/console/output/
|
62
|
-
orionis/luminate/contracts/console/output/
|
63
|
-
orionis/luminate/contracts/container/
|
64
|
-
orionis/luminate/contracts/container/
|
61
|
+
orionis/luminate/contracts/console/output/console.py,sha256=bkYTT5oIK3NP-p7XONgi1z_SO50ZvJu31Nv7cjs4t7s,8902
|
62
|
+
orionis/luminate/contracts/console/output/executor.py,sha256=MGMTTPSwF8dgCjHD3A4CKtYDaCcD-KU28dorC61Q04k,1411
|
63
|
+
orionis/luminate/contracts/console/output/progress_bar.py,sha256=sOkQzQsliFemqZHMyzs4fWhNJfXDTk5KH3aExReetSE,1760
|
64
|
+
orionis/luminate/contracts/container/container.py,sha256=rLOS1eYir1e1e06OVNTGESbR24rFOIU1CVni_8AbHgs,8802
|
65
|
+
orionis/luminate/contracts/container/container_integrity.py,sha256=xigWcyxLUaFoWXEI75ucJ50Ypw2NtOiRp_CgOY3Qk20,4408
|
65
66
|
orionis/luminate/contracts/facades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
66
67
|
orionis/luminate/contracts/facades/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
67
|
-
orionis/luminate/contracts/facades/commands/
|
68
|
-
orionis/luminate/contracts/facades/commands/
|
68
|
+
orionis/luminate/contracts/facades/commands/commands_facade.py,sha256=LpSfZb3lTmhgMx0H42NmFbKLvcOqSDIbpQrkQpF9RPY,1274
|
69
|
+
orionis/luminate/contracts/facades/commands/scheduler_facade.py,sha256=CR2E7WbYGt8ZMpekUzWBHCor3FEnBmYMDwPfKSYPq84,947
|
69
70
|
orionis/luminate/contracts/facades/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
70
|
-
orionis/luminate/contracts/facades/config/
|
71
|
+
orionis/luminate/contracts/facades/config/config_facade.py,sha256=Yzc0mB4W9XF8cZTdTO78AKUiyGaiShl1k8nJiecvKTc,970
|
71
72
|
orionis/luminate/contracts/facades/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
|
-
orionis/luminate/contracts/facades/environment/
|
73
|
+
orionis/luminate/contracts/facades/environment/environment_facade.py,sha256=-xyYYqC1DrkQ751d2qTsGNNgnvs_idn1v4TYZ4X7Z34,1944
|
73
74
|
orionis/luminate/contracts/facades/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
74
|
-
orionis/luminate/contracts/facades/files/
|
75
|
+
orionis/luminate/contracts/facades/files/path_facade.py,sha256=-6OWYFsXmQ2vOBlp6uBwN0TnwTB-otaBEJiYO7ZKVoQ,4497
|
75
76
|
orionis/luminate/contracts/facades/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
76
|
-
orionis/luminate/contracts/facades/log/
|
77
|
+
orionis/luminate/contracts/facades/log/log_facade.py,sha256=xkdR6nMAENv9NLOFUAnk1WRh9bYuisSAhnlkdlD5O7g,1894
|
77
78
|
orionis/luminate/contracts/facades/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
78
|
-
orionis/luminate/contracts/facades/tests/
|
79
|
+
orionis/luminate/contracts/facades/tests/tests_facade.py,sha256=GM6d9skPZwynx1lu_abfuJ_L5GvG9b12vI-KX7phYJc,890
|
79
80
|
orionis/luminate/contracts/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
81
|
orionis/luminate/contracts/foundation/i_bootstraper.py,sha256=9IFxjUW5akHTUb_BLwxiy88OIJkl0bptUOBVdfnk2PU,1165
|
81
82
|
orionis/luminate/contracts/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
|
-
orionis/luminate/contracts/foundation/config/
|
83
|
+
orionis/luminate/contracts/foundation/config/config_bootstrapper.py,sha256=c_79hlGIO25NQn5ERnLdBKrqDxNga-c14xLuLG2m1C0,4452
|
83
84
|
orionis/luminate/contracts/foundation/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
|
-
orionis/luminate/contracts/foundation/console/
|
85
|
+
orionis/luminate/contracts/foundation/console/command_bootstrapper.py,sha256=cfpYWSlNhOY1q_C9o0H7F381OoM0Oh0qaeqP-c85nzk,2457
|
85
86
|
orionis/luminate/contracts/foundation/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
86
|
-
orionis/luminate/contracts/foundation/environment/
|
87
|
+
orionis/luminate/contracts/foundation/environment/environment_bootstrapper.py,sha256=MEeZmh0XWvzvWHFB5ZOp5SKY89F1IHsIXJvdjmEncJU,1076
|
87
88
|
orionis/luminate/contracts/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
88
|
-
orionis/luminate/contracts/foundation/providers/
|
89
|
+
orionis/luminate/contracts/foundation/providers/service_providers_bootstrapper.py,sha256=iwILmTiDQBENOjJprCeAnZb-1YNeW_5PQUXDU_P6vog,1654
|
89
90
|
orionis/luminate/contracts/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
90
|
-
orionis/luminate/contracts/providers/
|
91
|
+
orionis/luminate/contracts/providers/service_provider.py,sha256=zoBAsGE-KrNfCsF3u876oxoa518zMuBD9npRK7BixUs,791
|
91
92
|
orionis/luminate/contracts/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
92
93
|
orionis/luminate/contracts/services/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
93
|
-
orionis/luminate/contracts/services/commands/
|
94
|
-
orionis/luminate/contracts/services/commands/
|
94
|
+
orionis/luminate/contracts/services/commands/reactor_commands_service.py,sha256=msIOfwOYASFNuS4shhwsnukPH5_XnuxNBHW9f6q-Lqo,795
|
95
|
+
orionis/luminate/contracts/services/commands/schedule_service.py,sha256=fNkPdy94X93r3wjlOUaVBLfSOjo8lkINwfVbC2w5WR0,10124
|
95
96
|
orionis/luminate/contracts/services/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
96
|
-
orionis/luminate/contracts/services/config/
|
97
|
+
orionis/luminate/contracts/services/config/config_service.py,sha256=TdlEEsd8jvzBGozwaZtQ9KYHisY4ACL-VUOtydidHeE,989
|
97
98
|
orionis/luminate/contracts/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
98
|
-
orionis/luminate/contracts/services/environment/
|
99
|
+
orionis/luminate/contracts/services/environment/environment_service.py,sha256=e-bod0MTq21WVvchlE7kyMQoFL_yhhN4ddRfzctDrz0,1959
|
99
100
|
orionis/luminate/contracts/services/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
100
|
-
orionis/luminate/contracts/services/files/
|
101
|
+
orionis/luminate/contracts/services/files/path_resolver_service.py,sha256=B53Qzei4o_jzehIF0zJVHXzI4S-h0XeQ5vMslxT8okM,837
|
101
102
|
orionis/luminate/contracts/services/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
102
|
-
orionis/luminate/contracts/services/log/
|
103
|
-
orionis/luminate/contracts/support/
|
104
|
-
orionis/luminate/contracts/support/
|
105
|
-
orionis/luminate/contracts/support/
|
103
|
+
orionis/luminate/contracts/services/log/log_service.py,sha256=1RD3u-a5ZDMbg7AYE8y2SW8QNRybAU3De0mEA0dAeNo,2167
|
104
|
+
orionis/luminate/contracts/support/exception_to_dict.py,sha256=LZpbCNDYQJs3j2mIM-NRFl0IfA8I0GFHExgRSO6K2FQ,780
|
105
|
+
orionis/luminate/contracts/support/reflection.py,sha256=Ht5_FsFbCb-APRXX3HdsfKl3cDZU8DyXGXPWKTn05uQ,8429
|
106
|
+
orionis/luminate/contracts/support/std.py,sha256=IihREHnJ_D2LqsrwtnGsIRYr0UsJsQezYPSPO6UaBQ4,992
|
106
107
|
orionis/luminate/facades/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
108
|
orionis/luminate/facades/app_facade.py,sha256=I5Ux_cdrNudDAkLxStxbmuH7g_cfh7osPwmP7bn96oY,1710
|
108
109
|
orionis/luminate/facades/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
109
|
-
orionis/luminate/facades/commands/commands_facade.py,sha256=
|
110
|
-
orionis/luminate/facades/commands/scheduler_facade.py,sha256=
|
110
|
+
orionis/luminate/facades/commands/commands_facade.py,sha256=BdnLt2QKNyAPLuGJ7kzFomyGomDNwEZ-voAzh4tyR3k,1575
|
111
|
+
orionis/luminate/facades/commands/scheduler_facade.py,sha256=LFC0Bw6r_MIvCQrWQyIGbE_FHE1GpaP-XPMPMAEH9Ok,1446
|
111
112
|
orionis/luminate/facades/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
112
|
-
orionis/luminate/facades/config/config_facade.py,sha256=
|
113
|
+
orionis/luminate/facades/config/config_facade.py,sha256=p83yGpw2kphzcchQblWyeElhwV-8cp2hBlqep-UwmLI,1367
|
113
114
|
orionis/luminate/facades/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
114
|
-
orionis/luminate/facades/environment/environment_facade.py,sha256=
|
115
|
+
orionis/luminate/facades/environment/environment_facade.py,sha256=cJXlPpU2ag0z50H89Jrk3pkwCiVboC2maZxo5BNBqlI,2837
|
115
116
|
orionis/luminate/facades/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
|
-
orionis/luminate/facades/files/path_facade.py,sha256=
|
117
|
+
orionis/luminate/facades/files/path_facade.py,sha256=v-iXGzayIEkeO8Qv8QBuCH1h0Rdh1DBWxGgSvP2O3rQ,9098
|
117
118
|
orionis/luminate/facades/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
118
|
-
orionis/luminate/facades/log/log_facade.py,sha256=
|
119
|
+
orionis/luminate/facades/log/log_facade.py,sha256=Snz2sbhv3HCJeWLRgFHpfNAFDmqc6v01MTh9rFBo8y4,2496
|
119
120
|
orionis/luminate/facades/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
120
|
-
orionis/luminate/facades/tests/tests_facade.py,sha256=
|
121
|
+
orionis/luminate/facades/tests/tests_facade.py,sha256=hvNMU8idxxfvz4x-1_jeloff2Gee0k61VfUhxDrR6eg,1667
|
121
122
|
orionis/luminate/foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
122
123
|
orionis/luminate/foundation/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
123
|
-
orionis/luminate/foundation/config/config_bootstrapper.py,sha256=
|
124
|
+
orionis/luminate/foundation/config/config_bootstrapper.py,sha256=Mnkkdi9WltsfiQ5wePQsISRS5uFUuxOAGFl6ajVbBcA,7510
|
124
125
|
orionis/luminate/foundation/console/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
125
|
-
orionis/luminate/foundation/console/command_bootstrapper.py,sha256=
|
126
|
+
orionis/luminate/foundation/console/command_bootstrapper.py,sha256=o1R3puuDyRIf3KXfxyluj6KixPTg96JD2V6TYKLOonw,7064
|
126
127
|
orionis/luminate/foundation/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
127
|
-
orionis/luminate/foundation/environment/environment_bootstrapper.py,sha256=
|
128
|
+
orionis/luminate/foundation/environment/environment_bootstrapper.py,sha256=ckS32khBvLXe_8Xu3iAAyJ3aDKhA6qnCafqtJy2WzXA,2727
|
128
129
|
orionis/luminate/foundation/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
129
130
|
orionis/luminate/foundation/exceptions/exception_bootstrapper.py,sha256=wDKfEW295c7-bavr7YUHK2CLYcTSZgjT9ZRSBne6GOE,1356
|
130
131
|
orionis/luminate/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
131
|
-
orionis/luminate/foundation/providers/service_providers_bootstrapper.py,sha256=
|
132
|
+
orionis/luminate/foundation/providers/service_providers_bootstrapper.py,sha256=ar4srTHygfkVBIK6YZ39PRJ2b1dIxDQOtdTj7jjx7Ag,3487
|
132
133
|
orionis/luminate/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
133
134
|
orionis/luminate/patterns/singleton.py,sha256=b3U0nubKSQWyal5wTXADVPtOztkaTk-M8Zwy-bje1L0,1425
|
134
135
|
orionis/luminate/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
135
|
-
orionis/luminate/providers/service_provider.py,sha256=
|
136
|
+
orionis/luminate/providers/service_provider.py,sha256=V76yfFUO7B_qhF-A1YQZvNBVcFU04oefOAL21Rsejvs,1644
|
136
137
|
orionis/luminate/providers/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
137
|
-
orionis/luminate/providers/commands/reactor_commands_service_provider.py,sha256=
|
138
|
-
orionis/luminate/providers/commands/scheduler_provider.py,sha256=
|
138
|
+
orionis/luminate/providers/commands/reactor_commands_service_provider.py,sha256=RKjOEpoX-v-FR3seH8f8FgvLovFDjvbWU2TPq01Jyuk,833
|
139
|
+
orionis/luminate/providers/commands/scheduler_provider.py,sha256=JkG0XEFxkeq1-QaVS2UMLKB_ev798Jh6Tm4x5OEhHeM,780
|
139
140
|
orionis/luminate/providers/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
140
|
-
orionis/luminate/providers/config/config_service_provider.py,sha256=
|
141
|
+
orionis/luminate/providers/config/config_service_provider.py,sha256=C5p_wH1ZS2M61986WBJBI1D3wsAWoIvD87Hm6iO7OJE,761
|
141
142
|
orionis/luminate/providers/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
142
|
-
orionis/luminate/providers/environment/environment__service_provider.py,sha256=
|
143
|
+
orionis/luminate/providers/environment/environment__service_provider.py,sha256=4asneKViONaXCzeHMrDRz_0eqwBSN9y9dIRdevSSdfI,929
|
143
144
|
orionis/luminate/providers/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
144
|
-
orionis/luminate/providers/files/paths_provider.py,sha256=
|
145
|
+
orionis/luminate/providers/files/paths_provider.py,sha256=FEtV_SWaLDIpTSpNK2Uuym8_YdjM1xb-hWhTnTv1A4s,832
|
145
146
|
orionis/luminate/providers/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
146
|
-
orionis/luminate/providers/log/log_service_provider.py,sha256=
|
147
|
+
orionis/luminate/providers/log/log_service_provider.py,sha256=4wBuzyBHDwel8JVtqGBCMkVTUnaE1Q7iyf93IlWkj0s,752
|
147
148
|
orionis/luminate/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
148
149
|
orionis/luminate/services/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
149
|
-
orionis/luminate/services/commands/reactor_commands_service.py,sha256=
|
150
|
-
orionis/luminate/services/commands/scheduler_service.py,sha256
|
150
|
+
orionis/luminate/services/commands/reactor_commands_service.py,sha256=F9anaQ9jaF7XAJVokt-z5Wr-4Gc2DI5QLxdSg3eBZFQ,6332
|
151
|
+
orionis/luminate/services/commands/scheduler_service.py,sha256=bOovnY83aZPfDz7XhGv4mQXVV116l_9UeaCstA89i_8,22474
|
151
152
|
orionis/luminate/services/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
152
|
-
orionis/luminate/services/config/config_service.py,sha256=
|
153
|
+
orionis/luminate/services/config/config_service.py,sha256=Wdyzc0-Qd0esK7V24huYMDLqQpZAGpqxJpyi6E4lXyo,2136
|
153
154
|
orionis/luminate/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
154
|
-
orionis/luminate/services/environment/environment_service.py,sha256=
|
155
|
+
orionis/luminate/services/environment/environment_service.py,sha256=n6hznZxIWmZ0pRQxrvRqaY2BU3RzzPrfegPqUdMR1Ik,4021
|
155
156
|
orionis/luminate/services/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
156
|
-
orionis/luminate/services/files/path_resolver_service.py,sha256=
|
157
|
+
orionis/luminate/services/files/path_resolver_service.py,sha256=gCGVLtdXGuEIE6I8tm6JEB84HS1Fa5rk2whO2R6u8Wc,1698
|
157
158
|
orionis/luminate/services/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158
|
-
orionis/luminate/services/log/log_service.py,sha256=
|
159
|
+
orionis/luminate/services/log/log_service.py,sha256=7KZ9i5RGquUqRADTa7T61v4kTu_qjDOVyaoGvm_51f0,8291
|
159
160
|
orionis/luminate/support/dot_dict.py,sha256=FVHfBuAGTTVMjNG01Fix645fRNKKUMmNx61pYkxPL5c,1253
|
160
|
-
orionis/luminate/support/exception_to_dict.py,sha256=
|
161
|
-
orionis/luminate/support/reflection.py,sha256=
|
162
|
-
orionis/luminate/support/std.py,sha256=
|
161
|
+
orionis/luminate/support/exception_to_dict.py,sha256=OV3vWZ6Dlh3EnFurR_7zhR3mfXDZg-UFbMsfs4tNnLA,2105
|
162
|
+
orionis/luminate/support/reflection.py,sha256=TbWZ_cer0PXrPlwCYFbUJRymlzYxXT0E4C5XCsSc3mw,11951
|
163
|
+
orionis/luminate/support/std.py,sha256=TqrgMxF_i5ubYGT5LOvHCH7HOHNmI8CE1kG9pNoSniY,1390
|
163
164
|
orionis/luminate/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
164
165
|
orionis/luminate/test/exception.py,sha256=VJaZ7VMZfdKW1ov_GwKp2HAz_NYobujJxDt5RaPHuVQ,1395
|
165
166
|
orionis/luminate/test/unit_test.py,sha256=7pZWRYRtLRz5_EZBWuXHZShRm7y5ICtl-52FTrsUqso,3652
|
@@ -176,9 +177,9 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
176
177
|
tests/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
177
178
|
tests/tools/class_example.py,sha256=dIPD997Y15n6WmKhWoOFSwEldRm9MdOHTZZ49eF1p3c,1056
|
178
179
|
tests/tools/test_reflection.py,sha256=bhLQ7VGVod4B8sv-rW9AjnOumvaBVsoxieA3sdoM2yM,5244
|
179
|
-
orionis-0.
|
180
|
-
orionis-0.
|
181
|
-
orionis-0.
|
182
|
-
orionis-0.
|
183
|
-
orionis-0.
|
184
|
-
orionis-0.
|
180
|
+
orionis-0.151.0.dist-info/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
181
|
+
orionis-0.151.0.dist-info/METADATA,sha256=csMInd3mj4bTIH5XJulgazaWTkgs3ny79L7TlGirYCk,2970
|
182
|
+
orionis-0.151.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
183
|
+
orionis-0.151.0.dist-info/entry_points.txt,sha256=eef1_CVewfokKjrGBynXa06KabSJYo7LlDKKIKvs1cM,53
|
184
|
+
orionis-0.151.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
185
|
+
orionis-0.151.0.dist-info/RECORD,,
|
@@ -1,51 +0,0 @@
|
|
1
|
-
from orionis.luminate.contracts.container.i_types import ITypes
|
2
|
-
|
3
|
-
class Types(ITypes):
|
4
|
-
"""
|
5
|
-
A class that handles validation of primitive types to prevent registering services with primitive-type names.
|
6
|
-
|
7
|
-
This class provides a method to check if a given name corresponds to a primitive type.
|
8
|
-
It is used to ensure that services or aliases are not registered with names that conflict
|
9
|
-
with Python's built-in primitive types.
|
10
|
-
|
11
|
-
Attributes
|
12
|
-
----------
|
13
|
-
_primitive_types : set
|
14
|
-
A set containing Python's built-in primitive types and their string representations.
|
15
|
-
|
16
|
-
Methods
|
17
|
-
-------
|
18
|
-
isPrimitive(name: str) -> bool
|
19
|
-
Checks if the provided name corresponds to a primitive type.
|
20
|
-
"""
|
21
|
-
|
22
|
-
_primitive_types = {
|
23
|
-
int, float, str, bool, bytes, type(None), complex,
|
24
|
-
list, tuple, dict, set, frozenset,
|
25
|
-
"int", "float", "str", "bool", "bytes", "None", "complex",
|
26
|
-
"list", "tuple", "dict", "set", "frozenset"
|
27
|
-
}
|
28
|
-
|
29
|
-
def isPrimitive(self, name: str) -> bool:
|
30
|
-
"""
|
31
|
-
Checks if the provided name corresponds to a primitive type.
|
32
|
-
|
33
|
-
This method is used to prevent registering services or aliases with names that
|
34
|
-
conflict with Python's built-in primitive types.
|
35
|
-
|
36
|
-
Parameters
|
37
|
-
----------
|
38
|
-
name : str
|
39
|
-
The name of the service or alias to check.
|
40
|
-
|
41
|
-
Returns
|
42
|
-
-------
|
43
|
-
bool
|
44
|
-
True if the name corresponds to a primitive type, False otherwise.
|
45
|
-
|
46
|
-
Raises
|
47
|
-
------
|
48
|
-
OrionisContainerException
|
49
|
-
If the name matches a primitive type (not implemented in this method).
|
50
|
-
"""
|
51
|
-
return name in self._primitive_types
|
@@ -1,239 +0,0 @@
|
|
1
|
-
from abc import ABC, abstractmethod
|
2
|
-
from typing import Any, Callable
|
3
|
-
|
4
|
-
class IContainer(ABC):
|
5
|
-
|
6
|
-
@abstractmethod
|
7
|
-
def _ensureNotMain(self, concrete: Callable[..., Any]) -> str:
|
8
|
-
"""
|
9
|
-
Ensure that a class is not defined in the main script.
|
10
|
-
|
11
|
-
Parameters
|
12
|
-
----------
|
13
|
-
concrete : Callable[..., Any]
|
14
|
-
The class or function to check.
|
15
|
-
|
16
|
-
Returns
|
17
|
-
-------
|
18
|
-
str
|
19
|
-
The fully qualified name of the class.
|
20
|
-
|
21
|
-
Raises
|
22
|
-
------
|
23
|
-
OrionisContainerValueError
|
24
|
-
If the class is defined in the main module.
|
25
|
-
"""
|
26
|
-
pass
|
27
|
-
|
28
|
-
@abstractmethod
|
29
|
-
def _ensureUniqueService(self, obj: Any) -> None:
|
30
|
-
"""
|
31
|
-
Ensure that a service is not already registered.
|
32
|
-
|
33
|
-
Parameters
|
34
|
-
----------
|
35
|
-
obj : Any
|
36
|
-
The service to check.
|
37
|
-
|
38
|
-
Raises
|
39
|
-
------
|
40
|
-
OrionisContainerValueError
|
41
|
-
If the service is already registered.
|
42
|
-
"""
|
43
|
-
pass
|
44
|
-
|
45
|
-
@abstractmethod
|
46
|
-
def _ensureIsCallable(self, concrete: Callable[..., Any]) -> None:
|
47
|
-
"""
|
48
|
-
Ensure that the given implementation is callable or instantiable.
|
49
|
-
|
50
|
-
Parameters
|
51
|
-
----------
|
52
|
-
concrete : Callable[..., Any]
|
53
|
-
The implementation to check.
|
54
|
-
|
55
|
-
Raises
|
56
|
-
------
|
57
|
-
OrionisContainerTypeError
|
58
|
-
If the implementation is not callable.
|
59
|
-
"""
|
60
|
-
pass
|
61
|
-
|
62
|
-
@abstractmethod
|
63
|
-
def _ensureIsInstance(self, instance: Any) -> None:
|
64
|
-
"""
|
65
|
-
Ensure that the given instance is a valid object.
|
66
|
-
|
67
|
-
Parameters
|
68
|
-
----------
|
69
|
-
instance : Any
|
70
|
-
The instance to check.
|
71
|
-
|
72
|
-
Raises
|
73
|
-
------
|
74
|
-
OrionisContainerValueError
|
75
|
-
If the instance is not a valid object.
|
76
|
-
"""
|
77
|
-
pass
|
78
|
-
|
79
|
-
@abstractmethod
|
80
|
-
def forgetScopedInstances(self) -> None:
|
81
|
-
"""
|
82
|
-
Reset scoped instances at the beginning of a new request.
|
83
|
-
"""
|
84
|
-
self._scoped_instances = {}
|
85
|
-
|
86
|
-
@abstractmethod
|
87
|
-
def bind(self, concrete: Callable[..., Any]) -> str:
|
88
|
-
"""
|
89
|
-
Bind a callable to the container.
|
90
|
-
This method ensures that the provided callable is not the main function,
|
91
|
-
is unique within the container, and is indeed callable. It then creates
|
92
|
-
a unique key for the callable based on its module and name, and stores
|
93
|
-
the callable in the container's bindings.
|
94
|
-
Args:
|
95
|
-
concrete (Callable[..., Any]): The callable to be bound to the container.
|
96
|
-
Returns:
|
97
|
-
str: The unique key generated for the callable.
|
98
|
-
"""
|
99
|
-
pass
|
100
|
-
|
101
|
-
@abstractmethod
|
102
|
-
def transient(self, concrete: Callable[..., Any]) -> str:
|
103
|
-
"""
|
104
|
-
Registers a transient service in the container.
|
105
|
-
A transient service is created each time it is requested.
|
106
|
-
Args:
|
107
|
-
concrete (Callable[..., Any]): The callable that defines the service.
|
108
|
-
Returns:
|
109
|
-
str: The unique key generated for the callable.
|
110
|
-
"""
|
111
|
-
pass
|
112
|
-
|
113
|
-
@abstractmethod
|
114
|
-
def singleton(self, concrete: Callable[..., Any]) -> str:
|
115
|
-
"""
|
116
|
-
Registers a callable as a singleton in the container.
|
117
|
-
This method ensures that the provided callable is not the main module,
|
118
|
-
is unique within the container, and is indeed callable. It then registers
|
119
|
-
the callable as a singleton, storing it in the container's singleton registry.
|
120
|
-
Args:
|
121
|
-
concrete (Callable[..., Any]): The callable to be registered as a singleton.
|
122
|
-
Returns:
|
123
|
-
str: The key under which the singleton is registered in the container.
|
124
|
-
"""
|
125
|
-
pass
|
126
|
-
|
127
|
-
@abstractmethod
|
128
|
-
def scoped(self, concrete: Callable[..., Any]) -> str:
|
129
|
-
"""
|
130
|
-
Registers a callable as a scoped service.
|
131
|
-
This method ensures that the provided callable is not the main service,
|
132
|
-
is unique, and is indeed callable. It then registers the callable in the
|
133
|
-
scoped services dictionary with relevant metadata.
|
134
|
-
Args:
|
135
|
-
concrete (Callable[..., Any]): The callable to be registered as a scoped service.
|
136
|
-
Returns:
|
137
|
-
str: The key under which the callable is registered in the scoped services dictionary.
|
138
|
-
"""
|
139
|
-
pass
|
140
|
-
|
141
|
-
@abstractmethod
|
142
|
-
def instance(self, instance: Any) -> str:
|
143
|
-
"""
|
144
|
-
Registers an instance as a singleton in the container.
|
145
|
-
Args:
|
146
|
-
instance (Any): The instance to be registered as a singleton.
|
147
|
-
Returns:
|
148
|
-
str: The key under which the instance is registered in the container.
|
149
|
-
"""
|
150
|
-
pass
|
151
|
-
|
152
|
-
@abstractmethod
|
153
|
-
def alias(self, alias: str, concrete: Any) -> None:
|
154
|
-
"""
|
155
|
-
Creates an alias for a registered service.
|
156
|
-
Args:
|
157
|
-
alias (str): The alias name to be used for the service.
|
158
|
-
concrete (Any): The actual service instance or callable to be aliased.
|
159
|
-
Raises:
|
160
|
-
OrionisContainerException: If the concrete instance is not a valid object or if the alias is a primitive type.
|
161
|
-
"""
|
162
|
-
pass
|
163
|
-
|
164
|
-
@abstractmethod
|
165
|
-
def has(self, obj: Any) -> bool:
|
166
|
-
"""
|
167
|
-
Checks if a service is registered in the container.
|
168
|
-
|
169
|
-
Parameters
|
170
|
-
----------
|
171
|
-
obj : Any
|
172
|
-
The service class, instance, or alias to check.
|
173
|
-
|
174
|
-
Returns
|
175
|
-
-------
|
176
|
-
bool
|
177
|
-
True if the service is registered, False otherwise.
|
178
|
-
"""
|
179
|
-
pass
|
180
|
-
|
181
|
-
@abstractmethod
|
182
|
-
def bound(self, abstract: Any) -> bool:
|
183
|
-
"""
|
184
|
-
Checks if a service is bound in the container.
|
185
|
-
|
186
|
-
Parameters
|
187
|
-
----------
|
188
|
-
abstract : Any
|
189
|
-
The service class or alias to check.
|
190
|
-
|
191
|
-
Returns
|
192
|
-
-------
|
193
|
-
bool
|
194
|
-
True if the service is bound, False otherwise.
|
195
|
-
"""
|
196
|
-
pass
|
197
|
-
|
198
|
-
@abstractmethod
|
199
|
-
def make(self, abstract: Any) -> Any:
|
200
|
-
"""
|
201
|
-
Create and return an instance of a registered service.
|
202
|
-
|
203
|
-
Parameters
|
204
|
-
----------
|
205
|
-
abstract : Any
|
206
|
-
The service class or alias to instantiate.
|
207
|
-
|
208
|
-
Returns
|
209
|
-
-------
|
210
|
-
Any
|
211
|
-
An instance of the requested service.
|
212
|
-
|
213
|
-
Raises
|
214
|
-
------
|
215
|
-
OrionisContainerException
|
216
|
-
If the service is not found in the container.
|
217
|
-
"""
|
218
|
-
pass
|
219
|
-
|
220
|
-
@abstractmethod
|
221
|
-
def _resolve(self, concrete: Callable[..., Any]) -> Any:
|
222
|
-
"""
|
223
|
-
Resolve and instantiate a given service class or function.
|
224
|
-
|
225
|
-
This method analyzes the constructor of the given class (or callable),
|
226
|
-
retrieves its dependencies, and resolves them recursively, while respecting
|
227
|
-
the service lifecycle.
|
228
|
-
"""
|
229
|
-
pass
|
230
|
-
|
231
|
-
@abstractmethod
|
232
|
-
def _resolve_dependency(self, dep_type: Any) -> Any:
|
233
|
-
"""
|
234
|
-
Resolves a dependency based on the provided type.
|
235
|
-
|
236
|
-
This method looks for the type in the container and returns the instance,
|
237
|
-
respecting the lifecycle of the service (transient, singleton, etc.).
|
238
|
-
"""
|
239
|
-
pass
|
@@ -1,16 +0,0 @@
|
|
1
|
-
from abc import ABC, abstractmethod
|
2
|
-
|
3
|
-
class ITypes(ABC):
|
4
|
-
"""A class that handles validation of primitive types to prevent registering services with primitive-type names."""
|
5
|
-
|
6
|
-
@abstractmethod
|
7
|
-
def isPrimitive(self, name: str) -> None:
|
8
|
-
"""Checks if the provided name corresponds to a primitive type.
|
9
|
-
|
10
|
-
Args:
|
11
|
-
name (str): The name of the service or alias to check.
|
12
|
-
|
13
|
-
Raises:
|
14
|
-
OrionisContainerException: If the name matches a primitive type.
|
15
|
-
"""
|
16
|
-
pass
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/orionis/luminate/contracts/facades/environment/{i_environment_facade.py → environment_facade.py}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/orionis/luminate/contracts/foundation/config/{i_config_bootstrapper.py → config_bootstrapper.py}
RENAMED
File without changes
|
/orionis/luminate/contracts/foundation/console/{i_command_bootstrapper.py → command_bootstrapper.py}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/orionis/luminate/contracts/services/environment/{i_environment_service.py → environment_service.py}
RENAMED
File without changes
|
/orionis/luminate/contracts/services/files/{i_path_resolver_service.py → path_resolver_service.py}
RENAMED
File without changes
|
File without changes
|
File without changes
|