orionis 0.405.0__tar.gz → 0.406.0__tar.gz
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-0.405.0/orionis.egg-info → orionis-0.406.0}/PKG-INFO +1 -1
- orionis-0.406.0/orionis/console/base/command.py +92 -0
- orionis-0.406.0/orionis/console/base/contracts/command.py +68 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/dynamic/contracts/progress_bar.py +3 -3
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/dynamic/progress_bar.py +8 -8
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/output/console.py +8 -2
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/output/contracts/console.py +1 -1
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/container.py +2 -2
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/context/scope.py +4 -1
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/contracts/service_provider.py +2 -2
- orionis-0.406.0/orionis/container/entities/binding.py +111 -0
- orionis-0.406.0/orionis/container/enums/lifetimes.py +29 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/facades/facade.py +1 -2
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/providers/service_provider.py +2 -2
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/application.py +542 -248
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/app/entities/app.py +107 -90
- orionis-0.406.0/orionis/foundation/config/auth/entities/auth.py +12 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/cache/entities/cache.py +18 -41
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/cache/entities/file.py +8 -35
- orionis-0.406.0/orionis/foundation/config/cache/entities/stores.py +47 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/cors/entities/cors.py +41 -54
- orionis-0.406.0/orionis/foundation/config/database/entities/connections.py +95 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/entities/database.py +11 -38
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/entities/mysql.py +48 -76
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/entities/oracle.py +30 -57
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/entities/pgsql.py +45 -61
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/entities/sqlite.py +26 -53
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/filesystems/entitites/aws.py +28 -49
- orionis-0.406.0/orionis/foundation/config/filesystems/entitites/disks.py +70 -0
- orionis-0.406.0/orionis/foundation/config/filesystems/entitites/filesystems.py +53 -0
- orionis-0.406.0/orionis/foundation/config/filesystems/entitites/local.py +35 -0
- orionis-0.406.0/orionis/foundation/config/filesystems/entitites/public.py +47 -0
- orionis-0.406.0/orionis/foundation/config/logging/entities/channels.py +125 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/chunked.py +9 -9
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/daily.py +8 -8
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/hourly.py +6 -6
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/logging.py +12 -18
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/monthly.py +7 -7
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/stack.py +5 -5
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/entities/weekly.py +6 -6
- orionis-0.406.0/orionis/foundation/config/mail/entities/file.py +36 -0
- orionis-0.406.0/orionis/foundation/config/mail/entities/mail.py +60 -0
- orionis-0.406.0/orionis/foundation/config/mail/entities/mailers.py +61 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/mail/entities/smtp.py +47 -48
- orionis-0.406.0/orionis/foundation/config/queue/entities/brokers.py +55 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/queue/entities/database.py +24 -46
- orionis-0.406.0/orionis/foundation/config/queue/entities/queue.py +57 -0
- orionis-0.406.0/orionis/foundation/config/roots/paths.py +272 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/session/entities/session.py +23 -53
- orionis-0.406.0/orionis/foundation/config/startup.py +255 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/testing/entities/testing.py +137 -122
- orionis-0.406.0/orionis/foundation/config/testing/enums/__init__.py +9 -0
- orionis-0.406.0/orionis/foundation/config/testing/enums/drivers.py +16 -0
- orionis-0.406.0/orionis/foundation/config/testing/enums/verbosity.py +18 -0
- orionis-0.406.0/orionis/foundation/contracts/application.py +358 -0
- orionis-0.406.0/orionis/foundation/providers/console_provider.py +39 -0
- orionis-0.406.0/orionis/foundation/providers/dumper_provider.py +39 -0
- orionis-0.406.0/orionis/foundation/providers/logger_provider.py +39 -0
- orionis-0.406.0/orionis/foundation/providers/path_resolver_provider.py +40 -0
- orionis-0.406.0/orionis/foundation/providers/progress_bar_provider.py +39 -0
- orionis-0.406.0/orionis/foundation/providers/testing_provider.py +39 -0
- orionis-0.406.0/orionis/foundation/providers/workers_provider.py +39 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/metadata/framework.py +1 -1
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/helpers/functions.py +1 -2
- orionis-0.406.0/orionis/services/environment/key/key_generator.py +37 -0
- orionis-0.406.0/orionis/support/entities/base.py +104 -0
- orionis-0.406.0/orionis/support/facades/testing.py +15 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/workers.py +1 -1
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/cases/asynchronous.py +0 -11
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/cases/synchronous.py +0 -9
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/contracts/dumper.py +11 -4
- orionis-0.406.0/orionis/test/contracts/kernel.py +29 -0
- orionis-0.406.0/orionis/test/contracts/logs.py +87 -0
- orionis-0.406.0/orionis/test/contracts/printer.py +76 -0
- orionis-0.406.0/orionis/test/contracts/test_result.py +100 -0
- orionis-0.406.0/orionis/test/contracts/unit_test.py +203 -0
- orionis-0.406.0/orionis/test/core/unit_test.py +1548 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/entities/result.py +22 -2
- orionis-0.406.0/orionis/test/enums/__init__.py +5 -0
- orionis-0.406.0/orionis/test/enums/status.py +27 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/exceptions/config.py +9 -1
- orionis-0.406.0/orionis/test/exceptions/failure.py +73 -0
- orionis-0.406.0/orionis/test/exceptions/persistence.py +27 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/exceptions/runtime.py +9 -1
- orionis-0.406.0/orionis/test/exceptions/value.py +31 -0
- orionis-0.406.0/orionis/test/kernel.py +145 -0
- orionis-0.406.0/orionis/test/output/dumper.py +194 -0
- orionis-0.406.0/orionis/test/output/printer.py +713 -0
- orionis-0.406.0/orionis/test/records/logs.py +506 -0
- orionis-0.406.0/orionis/test/validators/__init__.py +33 -0
- orionis-0.406.0/orionis/test/validators/base_path.py +45 -0
- orionis-0.406.0/orionis/test/validators/execution_mode.py +45 -0
- orionis-0.406.0/orionis/test/validators/fail_fast.py +37 -0
- orionis-0.406.0/orionis/test/validators/folder_path.py +34 -0
- orionis-0.406.0/orionis/test/validators/module_name.py +31 -0
- orionis-0.406.0/orionis/test/validators/name_pattern.py +40 -0
- orionis-0.406.0/orionis/test/validators/pattern.py +36 -0
- orionis-0.406.0/orionis/test/validators/persistent.py +42 -0
- orionis-0.406.0/orionis/test/validators/persistent_driver.py +43 -0
- orionis-0.406.0/orionis/test/validators/print_result.py +37 -0
- orionis-0.406.0/orionis/test/validators/tags.py +37 -0
- orionis-0.406.0/orionis/test/validators/throw_exception.py +39 -0
- orionis-0.406.0/orionis/test/validators/verbosity.py +37 -0
- orionis-0.406.0/orionis/test/validators/web_report.py +35 -0
- orionis-0.406.0/orionis/test/validators/workers.py +31 -0
- orionis-0.406.0/orionis/test/view/render.py +125 -0
- {orionis-0.405.0 → orionis-0.406.0/orionis.egg-info}/PKG-INFO +1 -1
- {orionis-0.405.0 → orionis-0.406.0}/orionis.egg-info/SOURCES.txt +58 -7
- orionis-0.406.0/tests/container/context/test_manager.py +27 -0
- orionis-0.406.0/tests/container/context/test_scope.py +23 -0
- orionis-0.406.0/tests/container/entities/test_binding.py +133 -0
- orionis-0.406.0/tests/container/enums/test_lifetimes.py +63 -0
- orionis-0.406.0/tests/container/facades/test_facade.py +61 -0
- orionis-0.406.0/tests/container/mocks/mock_complex_classes.py +482 -0
- orionis-0.406.0/tests/container/mocks/mock_simple_classes.py +32 -0
- orionis-0.406.0/tests/container/providers/test_providers.py +48 -0
- orionis-0.406.0/tests/container/resolver/test_resolver.py +55 -0
- orionis-0.406.0/tests/container/test_container.py +254 -0
- orionis-0.406.0/tests/container/test_singleton.py +98 -0
- orionis-0.406.0/tests/container/test_thread_safety.py +217 -0
- orionis-0.406.0/tests/container/validators/test_implements.py +140 -0
- orionis-0.406.0/tests/container/validators/test_is_abstract_class.py +99 -0
- orionis-0.406.0/tests/container/validators/test_is_callable.py +73 -0
- orionis-0.406.0/tests/container/validators/test_is_concrete_class.py +97 -0
- orionis-0.406.0/tests/container/validators/test_is_instance.py +105 -0
- orionis-0.406.0/tests/container/validators/test_is_not_subclass.py +117 -0
- orionis-0.406.0/tests/container/validators/test_is_subclass.py +115 -0
- orionis-0.406.0/tests/container/validators/test_is_valid_alias.py +113 -0
- orionis-0.406.0/tests/container/validators/test_lifetime.py +75 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/testing/test_foundation_config_testing.py +1 -1
- {orionis-0.405.0 → orionis-0.406.0}/tests/metadata/test_metadata_framework.py +18 -18
- orionis-0.406.0/tests/services/inspection/reflection/mock/__init__.py +0 -0
- orionis-0.406.0/tests/services/path/__init__.py +0 -0
- orionis-0.406.0/tests/services/system/__init__.py +0 -0
- orionis-0.406.0/tests/support/__init__.py +0 -0
- orionis-0.406.0/tests/support/parsers/__init__.py +0 -0
- orionis-0.406.0/tests/support/parsers/mocks/__init__.py +0 -0
- orionis-0.406.0/tests/support/patterns/__init__.py +0 -0
- orionis-0.406.0/tests/support/patterns/singleton/__init__.py +0 -0
- orionis-0.406.0/tests/support/standard/__init__.py +0 -0
- orionis-0.406.0/tests/support/wrapper/__init__.py +0 -0
- orionis-0.406.0/tests/testing/__init__.py +0 -0
- orionis-0.406.0/tests/testing/test_testing_result.py +131 -0
- orionis-0.406.0/tests/testing/test_testing_unit.py +209 -0
- orionis-0.405.0/orionis/console/base/command.py +0 -85
- orionis-0.405.0/orionis/container/entities/binding.py +0 -124
- orionis-0.405.0/orionis/container/enums/lifetimes.py +0 -8
- orionis-0.405.0/orionis/foundation/config/auth/entities/auth.py +0 -41
- orionis-0.405.0/orionis/foundation/config/base.py +0 -112
- orionis-0.405.0/orionis/foundation/config/cache/entities/stores.py +0 -68
- orionis-0.405.0/orionis/foundation/config/database/entities/connections.py +0 -111
- orionis-0.405.0/orionis/foundation/config/filesystems/entitites/disks.py +0 -90
- orionis-0.405.0/orionis/foundation/config/filesystems/entitites/filesystems.py +0 -75
- orionis-0.405.0/orionis/foundation/config/filesystems/entitites/local.py +0 -61
- orionis-0.405.0/orionis/foundation/config/filesystems/entitites/public.py +0 -74
- orionis-0.405.0/orionis/foundation/config/logging/entities/channels.py +0 -155
- orionis-0.405.0/orionis/foundation/config/mail/entities/file.py +0 -63
- orionis-0.405.0/orionis/foundation/config/mail/entities/mail.py +0 -78
- orionis-0.405.0/orionis/foundation/config/mail/entities/mailers.py +0 -76
- orionis-0.405.0/orionis/foundation/config/queue/entities/brokers.py +0 -77
- orionis-0.405.0/orionis/foundation/config/queue/entities/queue.py +0 -69
- orionis-0.405.0/orionis/foundation/config/roots/paths.py +0 -468
- orionis-0.405.0/orionis/foundation/config/startup.py +0 -225
- orionis-0.405.0/orionis/foundation/config/testing/enums/__init__.py +0 -5
- orionis-0.405.0/orionis/foundation/contracts/application.py +0 -568
- orionis-0.405.0/orionis/foundation/providers/console_provider.py +0 -17
- orionis-0.405.0/orionis/foundation/providers/dumper_provider.py +0 -17
- orionis-0.405.0/orionis/foundation/providers/logger_provider.py +0 -17
- orionis-0.405.0/orionis/foundation/providers/path_resolver_provider.py +0 -17
- orionis-0.405.0/orionis/foundation/providers/progress_bar_provider.py +0 -17
- orionis-0.405.0/orionis/foundation/providers/workers_provider.py +0 -17
- orionis-0.405.0/orionis/test/arguments/parser.py +0 -187
- orionis-0.405.0/orionis/test/contracts/kernel.py +0 -134
- orionis-0.405.0/orionis/test/contracts/logs.py +0 -125
- orionis-0.405.0/orionis/test/contracts/parser.py +0 -43
- orionis-0.405.0/orionis/test/contracts/printer.py +0 -188
- orionis-0.405.0/orionis/test/contracts/unit_test.py +0 -266
- orionis-0.405.0/orionis/test/core/unit_test.py +0 -1494
- orionis-0.405.0/orionis/test/entities/arguments.py +0 -38
- orionis-0.405.0/orionis/test/enums/__init__.py +0 -7
- orionis-0.405.0/orionis/test/enums/execution_mode.py +0 -16
- orionis-0.405.0/orionis/test/enums/status.py +0 -22
- orionis-0.405.0/orionis/test/exceptions/failure.py +0 -50
- orionis-0.405.0/orionis/test/exceptions/persistence.py +0 -19
- orionis-0.405.0/orionis/test/exceptions/value.py +0 -19
- orionis-0.405.0/orionis/test/kernel.py +0 -347
- orionis-0.405.0/orionis/test/output/dumper.py +0 -130
- orionis-0.405.0/orionis/test/output/printer.py +0 -470
- orionis-0.405.0/orionis/test/records/logs.py +0 -385
- orionis-0.405.0/orionis/test/view/render.py +0 -131
- orionis-0.405.0/tests/testing/test_testing_result.py +0 -131
- orionis-0.405.0/tests/testing/test_testing_unit.py +0 -209
- {orionis-0.405.0 → orionis-0.406.0}/LICENCE +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/MANIFEST.in +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/README.md +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/base/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/base/command.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/command_filter.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/commands/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/commands/cache_clear.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/commands/help.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/commands/schedule_work.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/commands/version.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/dumper/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/dumper/dump_die.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/exceptions/cli-orionis-value-error.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/exceptions/cli_exception.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/exceptions/cli_runtime_error.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/exceptions/cli_schedule_exception.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/kernel.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/output/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/output/console.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/output/executor.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/output/progress_bar.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_console/parser.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/application.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/config/config.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/base/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/base/command.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/command_filter.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/kernel.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/output/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/output/console.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/output/executor.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/parser.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/console/task_manager.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/commands/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/commands/commands_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/commands/scheduler_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/config/config_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/environment/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/environment/environment_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/files/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/files/path_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/log/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/log/log_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/tests/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/facades/tests/tests_facade.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/bootstraper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/config/config_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/console/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/console/command_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/environment/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/environment/environment_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/providers/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/foundation/providers/service_providers_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/providers/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/providers/service_provider.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/commands/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/commands/reactor_commands_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/commands/schedule_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/config/config_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/environment/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/environment/environment_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/files/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/files/path_resolver_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/log/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/services/log/log_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/support/exception_parse.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_contracts/support/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/console/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/console/command_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/environment/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/environment/environment_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/exceptions/exception_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/exceptions/exception_providers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/foundation/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/foundation/config/config_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/providers/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_foundation/providers/service_providers_bootstrapper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/commands/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/commands/reactor_commands_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/commands/scheduler_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/config/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/_services/config/config_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/base/__init__.py +0 -0
- {orionis-0.405.0/orionis/console/dumper → orionis-0.406.0/orionis/console/base/contracts}/__init__.py +0 -0
- {orionis-0.405.0/orionis/console/dumper/contracts → orionis-0.406.0/orionis/console/dumper}/__init__.py +0 -0
- {orionis-0.405.0/orionis/console/dynamic → orionis-0.406.0/orionis/console/dumper/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/dumper/contracts/dump.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/dumper/dump.py +0 -0
- {orionis-0.405.0/orionis/console/dynamic/contracts → orionis-0.406.0/orionis/console/dynamic}/__init__.py +0 -0
- {orionis-0.405.0/orionis/console/output → orionis-0.406.0/orionis/console/dynamic/contracts}/__init__.py +0 -0
- {orionis-0.405.0/orionis/console/output/contracts → orionis-0.406.0/orionis/console/output}/__init__.py +0 -0
- {orionis-0.405.0/orionis/container → orionis-0.406.0/orionis/console/output/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/output/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/console/output/enums/styles.py +0 -0
- {orionis-0.405.0/orionis/container/context → orionis-0.406.0/orionis/container}/__init__.py +0 -0
- {orionis-0.405.0/orionis/container/contracts → orionis-0.406.0/orionis/container/context}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/context/manager.py +0 -0
- {orionis-0.405.0/orionis/container/entities → orionis-0.406.0/orionis/container/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/contracts/container.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/contracts/resolver.py +0 -0
- {orionis-0.405.0/orionis/container/facades → orionis-0.406.0/orionis/container/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/exceptions/attribute.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/exceptions/exception.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/exceptions/type.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/exceptions/value.py +0 -0
- {orionis-0.405.0/orionis/container/providers → orionis-0.406.0/orionis/container/facades}/__init__.py +0 -0
- {orionis-0.405.0/orionis/container/resolver → orionis-0.406.0/orionis/container/providers}/__init__.py +0 -0
- {orionis-0.405.0/orionis/container/validators → orionis-0.406.0/orionis/container/resolver}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/resolver/resolver.py +0 -0
- {orionis-0.405.0/orionis/foundation → orionis-0.406.0/orionis/container/validators}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/implements.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_abstract_class.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_callable.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_concrete_class.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_instance.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_not_subclass.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_subclass.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/is_valid_alias.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/container/validators/lifetime.py +0 -0
- {orionis-0.405.0/orionis/foundation/config → orionis-0.406.0/orionis/foundation}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/app → orionis-0.406.0/orionis/foundation/config}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/app/entities → orionis-0.406.0/orionis/foundation/config/app}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/auth → orionis-0.406.0/orionis/foundation/config/app/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/app/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/app/enums/ciphers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/app/enums/environments.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/auth/entities → orionis-0.406.0/orionis/foundation/config/auth}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/cache → orionis-0.406.0/orionis/foundation/config/auth/entities}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/cache/entities → orionis-0.406.0/orionis/foundation/config/cache}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/cors → orionis-0.406.0/orionis/foundation/config/cache/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/cache/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/cache/enums/drivers.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/cors/entities → orionis-0.406.0/orionis/foundation/config/cors}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/database → orionis-0.406.0/orionis/foundation/config/cors/entities}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/database/entities → orionis-0.406.0/orionis/foundation/config/database}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/filesystems → orionis-0.406.0/orionis/foundation/config/database/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/mysql_charsets.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/mysql_collations.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/mysql_engine.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/oracle_encoding.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/oracle_nencoding.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/pgsql_charsets.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/pgsql_collations.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/pgsql_mode.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/sqlite_foreign_key.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/sqlite_journal.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/database/enums/sqlite_synchronous.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/filesystems/entitites → orionis-0.406.0/orionis/foundation/config/filesystems}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/logging → orionis-0.406.0/orionis/foundation/config/filesystems/entitites}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/logging/entities → orionis-0.406.0/orionis/foundation/config/logging}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/mail → orionis-0.406.0/orionis/foundation/config/logging/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/enums/levels.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/validators/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/validators/level.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/logging/validators/path.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/mail/entities → orionis-0.406.0/orionis/foundation/config/mail}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/queue → orionis-0.406.0/orionis/foundation/config/mail/entities}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/queue/entities → orionis-0.406.0/orionis/foundation/config/queue}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/roots → orionis-0.406.0/orionis/foundation/config/queue/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/queue/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/queue/enums/strategy.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/session → orionis-0.406.0/orionis/foundation/config/roots}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/session/entities → orionis-0.406.0/orionis/foundation/config/session}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/session/helpers → orionis-0.406.0/orionis/foundation/config/session/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/session/enums/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/session/enums/same_site_policy.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/testing → orionis-0.406.0/orionis/foundation/config/session/helpers}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/config/session/helpers/secret_key.py +0 -0
- {orionis-0.405.0/orionis/foundation/config/testing/entities → orionis-0.406.0/orionis/foundation/config/testing}/__init__.py +0 -0
- {orionis-0.405.0/orionis/foundation/contracts → orionis-0.406.0/orionis/foundation/config/testing/entities}/__init__.py +0 -0
- /orionis-0.405.0/orionis/foundation/config/testing/enums/test_mode.py → /orionis-0.406.0/orionis/foundation/config/testing/enums/mode.py +0 -0
- {orionis-0.405.0/orionis/foundation/providers → orionis-0.406.0/orionis/foundation/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/contracts/config.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/exceptions/integrity.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/exceptions/runtime.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/exceptions/type.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/foundation/exceptions/value.py +0 -0
- {orionis-0.405.0/orionis/metadata → orionis-0.406.0/orionis/foundation/providers}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services → orionis-0.406.0/orionis/metadata}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/metadata/package.py +0 -0
- {orionis-0.405.0/orionis/services/asynchrony → orionis-0.406.0/orionis/services}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/asynchrony/contracts → orionis-0.406.0/orionis/services/asynchrony}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/environment → orionis-0.406.0/orionis/services/asynchrony/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/asynchrony/contracts/coroutines.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/asynchrony/coroutines.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/asynchrony/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/asynchrony/exceptions/exception.py +0 -0
- {orionis-0.405.0/orionis/services/environment/contracts → orionis-0.406.0/orionis/services/environment}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/environment/core → orionis-0.406.0/orionis/services/environment/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/contracts/env.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/contracts/types.py +0 -0
- {orionis-0.405.0/orionis/services/environment/dynamic → orionis-0.406.0/orionis/services/environment/core}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/core/dot_env.py +0 -0
- {orionis-0.405.0/orionis/services/environment/helpers → orionis-0.406.0/orionis/services/environment/dynamic}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/dynamic/types.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/env.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/exceptions/exception.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/environment/exceptions/value.py +0 -0
- {orionis-0.405.0/orionis/services/introspection → orionis-0.406.0/orionis/services/environment/helpers}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/abstract → orionis-0.406.0/orionis/services/environment/key}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/abstract/contracts → orionis-0.406.0/orionis/services/introspection}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/callables → orionis-0.406.0/orionis/services/introspection/abstract}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/callables → orionis-0.406.0/orionis/services/introspection/abstract}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/abstract/contracts/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/abstract/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/concretes → orionis-0.406.0/orionis/services/introspection/callables}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/concretes → orionis-0.406.0/orionis/services/introspection/callables}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/callables/contracts/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/callables/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/dependencies → orionis-0.406.0/orionis/services/introspection/concretes}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/dependencies → orionis-0.406.0/orionis/services/introspection/concretes}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/concretes/contracts/concrete.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/concretes/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/dependencies/entities → orionis-0.406.0/orionis/services/introspection/dependencies}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/instances → orionis-0.406.0/orionis/services/introspection/dependencies/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/contracts/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/instances/contracts → orionis-0.406.0/orionis/services/introspection/dependencies/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/entities/callable_dependencies.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/entities/class_dependencies.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/entities/known_dependencies.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/entities/method_dependencies.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/dependencies/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/exceptions/attribute.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/exceptions/type.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/exceptions/value.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/modules → orionis-0.406.0/orionis/services/introspection/instances}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/modules → orionis-0.406.0/orionis/services/introspection/instances}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/instances/contracts/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/instances/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/introspection/objects → orionis-0.406.0/orionis/services/introspection/modules}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/log → orionis-0.406.0/orionis/services/introspection/modules/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/modules/contracts/reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/modules/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/log/contracts → orionis-0.406.0/orionis/services/introspection/objects}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/objects/types.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/introspection/reflection.py +0 -0
- {orionis-0.405.0/orionis/services/log/handlers → orionis-0.406.0/orionis/services/log}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/paths → orionis-0.406.0/orionis/services/log/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/contracts/log_service.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/exceptions/runtime.py +0 -0
- {orionis-0.405.0/orionis/services/paths/contracts → orionis-0.406.0/orionis/services/log/handlers}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/handlers/filename.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/handlers/size_rotating.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/handlers/timed_rotating.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/log/log_service.py +0 -0
- {orionis-0.405.0/orionis/services/system → orionis-0.406.0/orionis/services/paths}/__init__.py +0 -0
- {orionis-0.405.0/orionis/services/system → orionis-0.406.0/orionis/services/paths}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/paths/contracts/resolver.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/paths/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/paths/exceptions/exception.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/paths/exceptions/file.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/paths/resolver.py +0 -0
- {orionis-0.405.0/orionis/services/system/runtime → orionis-0.406.0/orionis/services/system}/__init__.py +0 -0
- {orionis-0.405.0/orionis/support → orionis-0.406.0/orionis/services/system/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/system/contracts/imports.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/system/contracts/workers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/system/imports.py +0 -0
- {orionis-0.405.0/orionis/support/facades → orionis-0.406.0/orionis/services/system/runtime}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/system/runtime/imports.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/services/system/workers.py +0 -0
- {orionis-0.405.0/orionis/support/formatter → orionis-0.406.0/orionis/support}/__init__.py +0 -0
- {orionis-0.405.0/orionis/support/formatter/exceptions → orionis-0.406.0/orionis/support/entities}/__init__.py +0 -0
- {orionis-0.405.0/orionis/support/formatter/exceptions/contracts → orionis-0.406.0/orionis/support/facades}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/console.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/dumper.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/logger.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/path_resolver.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/facades/progress_bar.py +0 -0
- {orionis-0.405.0/orionis/support/patterns → orionis-0.406.0/orionis/support/formatter}/__init__.py +0 -0
- {orionis-0.405.0/orionis/support/standard → orionis-0.406.0/orionis/support/formatter/exceptions}/__init__.py +0 -0
- {orionis-0.405.0/orionis/support/standard → orionis-0.406.0/orionis/support/formatter/exceptions}/contracts/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/formatter/exceptions/contracts/parser.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/formatter/exceptions/parser.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/formatter/serializer.py +0 -0
- {orionis-0.405.0/orionis/test → orionis-0.406.0/orionis/support/patterns}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/patterns/singleton/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/patterns/singleton/meta.py +0 -0
- {orionis-0.405.0/orionis/test/arguments → orionis-0.406.0/orionis/support/standard}/__init__.py +0 -0
- {orionis-0.405.0/orionis/test/cases → orionis-0.406.0/orionis/support/standard/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/standard/contracts/std.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/standard/exceptions/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/standard/exceptions/value.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/standard/std.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/wrapper/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/support/wrapper/dot_dict.py +0 -0
- {orionis-0.405.0/orionis/test/contracts → orionis-0.406.0/orionis/test}/__init__.py +0 -0
- {orionis-0.405.0/orionis/test/core → orionis-0.406.0/orionis/test/cases}/__init__.py +0 -0
- {orionis-0.405.0/orionis/test/entities → orionis-0.406.0/orionis/test/contracts}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/contracts/render.py +0 -0
- {orionis-0.405.0/orionis/test/output → orionis-0.406.0/orionis/test/core}/__init__.py +0 -0
- {orionis-0.405.0/orionis/test/records → orionis-0.406.0/orionis/test/entities}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis/test/exceptions/__init__.py +0 -0
- {orionis-0.405.0/orionis/test/view → orionis-0.406.0/orionis/test/output}/__init__.py +0 -0
- {orionis-0.405.0/tests → orionis-0.406.0/orionis/test/records}/__init__.py +0 -0
- {orionis-0.405.0/tests/example → orionis-0.406.0/orionis/test/view}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis.egg-info/dependency_links.txt +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis.egg-info/requires.txt +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis.egg-info/top_level.txt +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/orionis.egg-info/zip-safe +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/setup.cfg +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/setup.py +0 -0
- {orionis-0.405.0/tests/foundation → orionis-0.406.0/tests}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config → orionis-0.406.0/tests/container}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/app → orionis-0.406.0/tests/container/context}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/auth → orionis-0.406.0/tests/container/entities}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/cache → orionis-0.406.0/tests/container/enums}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/cors → orionis-0.406.0/tests/container/facades}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/database → orionis-0.406.0/tests/container/mocks}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/filesystems → orionis-0.406.0/tests/container/providers}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/logging → orionis-0.406.0/tests/container/resolver}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/mail → orionis-0.406.0/tests/container/validators}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/queue → orionis-0.406.0/tests/example}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/example/test_example.py +0 -0
- {orionis-0.405.0/tests/foundation/config/root → orionis-0.406.0/tests/foundation}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/session → orionis-0.406.0/tests/foundation/config}/__init__.py +0 -0
- {orionis-0.405.0/tests/foundation/config/startup → orionis-0.406.0/tests/foundation/config/app}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/app/test_foundation_config_app.py +0 -0
- {orionis-0.405.0/tests/foundation/config/testing → orionis-0.406.0/tests/foundation/config/auth}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/auth/test_foundation_config_auth.py +0 -0
- {orionis-0.405.0/tests/foundation/exceptions → orionis-0.406.0/tests/foundation/config/cache}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/cache/test_foundation_config_cache.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/cache/test_foundation_config_cache_file.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/cache/test_foundation_config_cache_stores.py +0 -0
- {orionis-0.405.0/tests/metadata → orionis-0.406.0/tests/foundation/config/cors}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/cors/test_foundation_config_cors.py +0 -0
- {orionis-0.405.0/tests/services → orionis-0.406.0/tests/foundation/config/database}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database_connections.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database_mysql.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database_oracle.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database_pgsql.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/database/test_foundation_config_database_sqlite.py +0 -0
- {orionis-0.405.0/tests/services/asynchrony → orionis-0.406.0/tests/foundation/config/filesystems}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/filesystems/test_foundation_config_filesystems.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py +0 -0
- {orionis-0.405.0/tests/services/environment → orionis-0.406.0/tests/foundation/config/logging}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_channels.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_chunked.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_daily.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_hourly.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_monthly.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_stack.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/logging/test_foundation_config_logging_weekly.py +0 -0
- {orionis-0.405.0/tests/services/inspection → orionis-0.406.0/tests/foundation/config/mail}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/mail/test_foundation_config_mail.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/mail/test_foundation_config_mail_file.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/mail/test_foundation_config_mail_mailers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/mail/test_foundation_config_mail_smtp.py +0 -0
- {orionis-0.405.0/tests/services/inspection/dependencies → orionis-0.406.0/tests/foundation/config/queue}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/queue/test_foundation_config_queue.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/queue/test_foundation_config_queue_brokers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/queue/test_foundation_config_queue_database.py +0 -0
- {orionis-0.405.0/tests/services/inspection/dependencies/mocks → orionis-0.406.0/tests/foundation/config/root}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/root/test_foundation_config_root_paths.py +0 -0
- {orionis-0.405.0/tests/services/inspection/reflection → orionis-0.406.0/tests/foundation/config/session}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/session/test_foundation_config_session.py +0 -0
- {orionis-0.405.0/tests/services/inspection/reflection/mock → orionis-0.406.0/tests/foundation/config/startup}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/config/startup/test_foundation_config_startup.py +0 -0
- {orionis-0.405.0/tests/services/path → orionis-0.406.0/tests/foundation/config/testing}/__init__.py +0 -0
- {orionis-0.405.0/tests/services/system → orionis-0.406.0/tests/foundation/exceptions}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/foundation/exceptions/test_foundation_config_exceptions.py +0 -0
- {orionis-0.405.0/tests/support → orionis-0.406.0/tests/metadata}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/metadata/test_metadata_package.py +0 -0
- {orionis-0.405.0/tests/support/parsers → orionis-0.406.0/tests/services}/__init__.py +0 -0
- {orionis-0.405.0/tests/support/parsers/mocks → orionis-0.406.0/tests/services/asynchrony}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/asynchrony/test_services_asynchrony_coroutine.py +0 -0
- {orionis-0.405.0/tests/support/patterns → orionis-0.406.0/tests/services/environment}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/environment/test_services_environment.py +0 -0
- {orionis-0.405.0/tests/support/patterns/singleton → orionis-0.406.0/tests/services/inspection}/__init__.py +0 -0
- {orionis-0.405.0/tests/support/standard → orionis-0.406.0/tests/services/inspection/dependencies}/__init__.py +0 -0
- {orionis-0.405.0/tests/support/wrapper → orionis-0.406.0/tests/services/inspection/dependencies/mocks}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/dependencies/mocks/mock_user.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/dependencies/mocks/mock_user_controller.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/dependencies/mocks/mock_users_permissions.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/dependencies/test_reflect_dependencies.py +0 -0
- {orionis-0.405.0/tests/testing → orionis-0.406.0/tests/services/inspection/reflection}/__init__.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/mock/fake_reflect_instance.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/test_reflection_abstract.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/test_reflection_callable.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/test_reflection_concrete.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/test_reflection_instance.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/reflection/test_reflection_module.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/inspection/test_reflection.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/path/test_services_resolver.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/system/test_services_system_imports.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/services/system/test_services_system_workers.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/support/parsers/mocks/mock_custom_error.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/support/parsers/test_services_parser_exceptions.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/support/patterns/singleton/test_patterns_singleton.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/support/standard/test_services_std.py +0 -0
- {orionis-0.405.0 → orionis-0.406.0}/tests/support/wrapper/test_services_wrapper_docdict.py +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
from typing import Any, Dict
|
|
2
|
+
from orionis.console.dynamic.progress_bar import ProgressBar
|
|
3
|
+
from orionis.console.output.console import Console
|
|
4
|
+
from orionis.console.base.contracts.command import IBaseCommand
|
|
5
|
+
|
|
6
|
+
class BaseCommand(Console, ProgressBar, IBaseCommand):
|
|
7
|
+
"""
|
|
8
|
+
Abstract base class for console commands in Orionis.
|
|
9
|
+
|
|
10
|
+
Inherits from Console and ProgressBar, allowing commands to:
|
|
11
|
+
- Display messages, errors, and formatted text in the console.
|
|
12
|
+
- Manage progress bars for long-running tasks.
|
|
13
|
+
- Access and manipulate parsed arguments from the command line.
|
|
14
|
+
|
|
15
|
+
Attributes
|
|
16
|
+
----------
|
|
17
|
+
args : dict
|
|
18
|
+
Dictionary containing the parsed arguments for the command. Set via the setArgs method.
|
|
19
|
+
|
|
20
|
+
Methods
|
|
21
|
+
-------
|
|
22
|
+
handle()
|
|
23
|
+
Must be implemented by each subclass to define the main logic of the command.
|
|
24
|
+
argument(key)
|
|
25
|
+
Retrieves the value of a specific argument by key.
|
|
26
|
+
arguments()
|
|
27
|
+
Returns all parsed arguments as a dictionary.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
args: Dict[str, Any] = {}
|
|
31
|
+
|
|
32
|
+
def handle(self):
|
|
33
|
+
"""
|
|
34
|
+
Main entry point for command execution.
|
|
35
|
+
|
|
36
|
+
This method must be overridden in each subclass to define the specific logic of the command.
|
|
37
|
+
Access parsed arguments via self.args and use console and progress bar methods as needed.
|
|
38
|
+
|
|
39
|
+
Example:
|
|
40
|
+
def handle(self):
|
|
41
|
+
self.write("Processing...")
|
|
42
|
+
value = self.argument("key")
|
|
43
|
+
# custom logic
|
|
44
|
+
|
|
45
|
+
Raises
|
|
46
|
+
------
|
|
47
|
+
NotImplementedError
|
|
48
|
+
Always raised in the base class. Subclasses must implement this method.
|
|
49
|
+
"""
|
|
50
|
+
raise NotImplementedError("The 'handle' method must be implemented in the subclass.")
|
|
51
|
+
|
|
52
|
+
def argument(self, key: str):
|
|
53
|
+
"""
|
|
54
|
+
Retrieves the value of a specific argument by its key.
|
|
55
|
+
|
|
56
|
+
Parameters
|
|
57
|
+
----------
|
|
58
|
+
key : str
|
|
59
|
+
Name of the argument to retrieve.
|
|
60
|
+
|
|
61
|
+
Returns
|
|
62
|
+
-------
|
|
63
|
+
any or None
|
|
64
|
+
Value associated with the key, or None if it does not exist or arguments are not set.
|
|
65
|
+
|
|
66
|
+
Raises
|
|
67
|
+
------
|
|
68
|
+
ValueError
|
|
69
|
+
If the key is not a string or if arguments are not a dictionary.
|
|
70
|
+
|
|
71
|
+
Example:
|
|
72
|
+
value = self.argument("user")
|
|
73
|
+
"""
|
|
74
|
+
if not isinstance(key, str):
|
|
75
|
+
raise ValueError("Argument key must be a string.")
|
|
76
|
+
if not isinstance(self.args, dict):
|
|
77
|
+
raise ValueError("Arguments must be a dictionary.")
|
|
78
|
+
return self.args.get(key)
|
|
79
|
+
|
|
80
|
+
def arguments(self) -> dict:
|
|
81
|
+
"""
|
|
82
|
+
Returns all parsed arguments as a dictionary.
|
|
83
|
+
|
|
84
|
+
Returns
|
|
85
|
+
-------
|
|
86
|
+
dict
|
|
87
|
+
Dictionary containing all arguments received by the command. If no arguments, returns an empty dictionary.
|
|
88
|
+
|
|
89
|
+
Example:
|
|
90
|
+
args = self.arguments()
|
|
91
|
+
"""
|
|
92
|
+
return dict(self.args) if isinstance(self.args, dict) else {}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
from abc import ABC, abstractmethod
|
|
3
|
+
from typing import Any, Dict
|
|
4
|
+
|
|
5
|
+
class IBaseCommand(ABC):
|
|
6
|
+
"""
|
|
7
|
+
Abstract base contract for console commands in Orionis.
|
|
8
|
+
|
|
9
|
+
Inherits from ABC and defines the required interface for all console commands:
|
|
10
|
+
- Stores parsed command-line arguments.
|
|
11
|
+
- Requires implementation of main execution logic and argument accessors.
|
|
12
|
+
|
|
13
|
+
Attributes
|
|
14
|
+
----------
|
|
15
|
+
args : Dict[str, Any]
|
|
16
|
+
Dictionary containing the parsed arguments for the command. Should be set by the command parser.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
args: Dict[str, Any] = {}
|
|
20
|
+
|
|
21
|
+
@abstractmethod
|
|
22
|
+
def handle(self):
|
|
23
|
+
"""
|
|
24
|
+
Main entry point for command execution.
|
|
25
|
+
|
|
26
|
+
This method must be overridden in each subclass to define the specific logic of the command.
|
|
27
|
+
Access parsed arguments via self.args and use console/output methods as needed.
|
|
28
|
+
|
|
29
|
+
Raises
|
|
30
|
+
------
|
|
31
|
+
NotImplementedError
|
|
32
|
+
Always raised in the base class. Subclasses must implement this method.
|
|
33
|
+
"""
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
@abstractmethod
|
|
37
|
+
def argument(self, key: str) -> Any:
|
|
38
|
+
"""
|
|
39
|
+
Retrieves the value of a specific argument by its key.
|
|
40
|
+
|
|
41
|
+
Parameters
|
|
42
|
+
----------
|
|
43
|
+
key : str
|
|
44
|
+
Name of the argument to retrieve.
|
|
45
|
+
|
|
46
|
+
Returns
|
|
47
|
+
-------
|
|
48
|
+
Any or None
|
|
49
|
+
Value associated with the key, or None if it does not exist or arguments are not set.
|
|
50
|
+
|
|
51
|
+
Raises
|
|
52
|
+
------
|
|
53
|
+
ValueError
|
|
54
|
+
If the key is not a string or if arguments are not a dictionary.
|
|
55
|
+
"""
|
|
56
|
+
pass
|
|
57
|
+
|
|
58
|
+
@abstractmethod
|
|
59
|
+
def arguments(self) -> Dict[str, Any]:
|
|
60
|
+
"""
|
|
61
|
+
Returns all parsed arguments as a dictionary.
|
|
62
|
+
|
|
63
|
+
Returns
|
|
64
|
+
-------
|
|
65
|
+
dict
|
|
66
|
+
Dictionary containing all arguments received by the command. If no arguments, returns an empty dictionary.
|
|
67
|
+
"""
|
|
68
|
+
pass
|
|
@@ -19,7 +19,7 @@ class IProgressBar(ABC):
|
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
21
|
@abstractmethod
|
|
22
|
-
def start(self):
|
|
22
|
+
def start(self) -> None:
|
|
23
23
|
"""
|
|
24
24
|
Initializes the progress bar.
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ class IProgressBar(ABC):
|
|
|
34
34
|
pass
|
|
35
35
|
|
|
36
36
|
@abstractmethod
|
|
37
|
-
def advance(self, increment: int):
|
|
37
|
+
def advance(self, increment: int) -> None:
|
|
38
38
|
"""
|
|
39
39
|
Advances the progress bar by a given increment.
|
|
40
40
|
|
|
@@ -51,7 +51,7 @@ class IProgressBar(ABC):
|
|
|
51
51
|
pass
|
|
52
52
|
|
|
53
53
|
@abstractmethod
|
|
54
|
-
def finish(self):
|
|
54
|
+
def finish(self) -> None:
|
|
55
55
|
"""
|
|
56
56
|
Completes the progress bar.
|
|
57
57
|
|
|
@@ -34,7 +34,7 @@ class ProgressBar(IProgressBar):
|
|
|
34
34
|
Completes the progress bar and moves to a new line.
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
|
-
def __init__(self, total=100, width=50):
|
|
37
|
+
def __init__(self, total=100, width=50) -> None:
|
|
38
38
|
"""
|
|
39
39
|
Constructs all the necessary attributes for the progress bar object.
|
|
40
40
|
|
|
@@ -49,7 +49,7 @@ class ProgressBar(IProgressBar):
|
|
|
49
49
|
self.bar_width = width
|
|
50
50
|
self.progress = 0
|
|
51
51
|
|
|
52
|
-
def
|
|
52
|
+
def __updateBar(self) -> None:
|
|
53
53
|
"""
|
|
54
54
|
Updates the visual representation of the progress bar.
|
|
55
55
|
|
|
@@ -64,16 +64,16 @@ class ProgressBar(IProgressBar):
|
|
|
64
64
|
sys.stdout.write("\r" + bar)
|
|
65
65
|
sys.stdout.flush()
|
|
66
66
|
|
|
67
|
-
def start(self):
|
|
67
|
+
def start(self) -> None:
|
|
68
68
|
"""
|
|
69
69
|
Initializes the progress bar to the starting state.
|
|
70
70
|
|
|
71
71
|
This method resets the progress to zero and displays the initial bar.
|
|
72
72
|
"""
|
|
73
73
|
self.progress = 0
|
|
74
|
-
self.
|
|
74
|
+
self.__updateBar()
|
|
75
75
|
|
|
76
|
-
def advance(self, increment=1):
|
|
76
|
+
def advance(self, increment=1) -> None:
|
|
77
77
|
"""
|
|
78
78
|
Advances the progress bar by a specific increment.
|
|
79
79
|
|
|
@@ -85,9 +85,9 @@ class ProgressBar(IProgressBar):
|
|
|
85
85
|
self.progress += increment
|
|
86
86
|
if self.progress > self.total:
|
|
87
87
|
self.progress = self.total
|
|
88
|
-
self.
|
|
88
|
+
self.__updateBar()
|
|
89
89
|
|
|
90
|
-
def finish(self):
|
|
90
|
+
def finish(self) -> None:
|
|
91
91
|
"""
|
|
92
92
|
Completes the progress bar.
|
|
93
93
|
|
|
@@ -95,6 +95,6 @@ class ProgressBar(IProgressBar):
|
|
|
95
95
|
and moves the cursor to a new line for cleaner output.
|
|
96
96
|
"""
|
|
97
97
|
self.progress = self.total
|
|
98
|
-
self.
|
|
98
|
+
self.__updateBar()
|
|
99
99
|
sys.stdout.write("\n")
|
|
100
100
|
sys.stdout.flush()
|
|
@@ -537,7 +537,10 @@ class Console(IConsole):
|
|
|
537
537
|
"""
|
|
538
538
|
if message:
|
|
539
539
|
self.success(message)
|
|
540
|
-
|
|
540
|
+
try:
|
|
541
|
+
sys.exit(0)
|
|
542
|
+
except SystemExit:
|
|
543
|
+
os._exit(0)
|
|
541
544
|
|
|
542
545
|
def exitError(self, message: str = None) -> None:
|
|
543
546
|
"""
|
|
@@ -550,4 +553,7 @@ class Console(IConsole):
|
|
|
550
553
|
"""
|
|
551
554
|
if message:
|
|
552
555
|
self.error(message)
|
|
553
|
-
|
|
556
|
+
try:
|
|
557
|
+
sys.exit(0)
|
|
558
|
+
except SystemExit:
|
|
559
|
+
os._exit(0)
|
|
@@ -32,8 +32,8 @@ class Container(IContainer):
|
|
|
32
32
|
"""
|
|
33
33
|
Creates and returns a singleton instance for each specific class.
|
|
34
34
|
|
|
35
|
-
This method implements a truly thread-safe singleton pattern with proper
|
|
36
|
-
inheritance support, ensuring that each class in the hierarchy has its own
|
|
35
|
+
This method implements a truly thread-safe singleton pattern with proper
|
|
36
|
+
inheritance support, ensuring that each class in the hierarchy has its own
|
|
37
37
|
singleton instance. Uses double-checked locking with proper memory barriers.
|
|
38
38
|
|
|
39
39
|
Returns
|
|
@@ -4,7 +4,10 @@ class ScopedContext:
|
|
|
4
4
|
"""
|
|
5
5
|
Holds scoped instances for the current context.
|
|
6
6
|
"""
|
|
7
|
-
_active_scope = contextvars.ContextVar(
|
|
7
|
+
_active_scope = contextvars.ContextVar(
|
|
8
|
+
"orionis_scope",
|
|
9
|
+
default=None
|
|
10
|
+
)
|
|
8
11
|
|
|
9
12
|
@classmethod
|
|
10
13
|
def getCurrentScope(cls):
|
|
@@ -3,7 +3,7 @@ from abc import ABC, abstractmethod
|
|
|
3
3
|
class IServiceProvider(ABC):
|
|
4
4
|
|
|
5
5
|
@abstractmethod
|
|
6
|
-
def register(self) -> None:
|
|
6
|
+
async def register(self) -> None:
|
|
7
7
|
"""
|
|
8
8
|
Register services into the application container.
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ class IServiceProvider(ABC):
|
|
|
19
19
|
pass
|
|
20
20
|
|
|
21
21
|
@abstractmethod
|
|
22
|
-
def boot(self) -> None:
|
|
22
|
+
async def boot(self) -> None:
|
|
23
23
|
"""
|
|
24
24
|
Perform any post-registration bootstrapping or initialization.
|
|
25
25
|
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
|
+
from orionis.container.enums.lifetimes import Lifetime
|
|
3
|
+
from orionis.container.exceptions import OrionisContainerTypeError
|
|
4
|
+
from orionis.support.entities.base import BaseEntity
|
|
5
|
+
|
|
6
|
+
@dataclass(unsafe_hash=True, kw_only=True)
|
|
7
|
+
class Binding(BaseEntity):
|
|
8
|
+
|
|
9
|
+
contract: type = field(
|
|
10
|
+
default=None,
|
|
11
|
+
metadata={
|
|
12
|
+
"description": "Contract of the concrete class to inject.",
|
|
13
|
+
"default": None
|
|
14
|
+
}
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
concrete: type = field(
|
|
18
|
+
default=None,
|
|
19
|
+
metadata={
|
|
20
|
+
"description": "Concrete class implementing the contract.",
|
|
21
|
+
"default": None
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
instance: object = field(
|
|
26
|
+
default=None,
|
|
27
|
+
metadata={
|
|
28
|
+
"description": "Concrete instance of the class, if provided.",
|
|
29
|
+
"default": None
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
function: callable = field(
|
|
34
|
+
default=None,
|
|
35
|
+
metadata={
|
|
36
|
+
"description": "Function invoked to create the instance.",
|
|
37
|
+
"default": None
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
lifetime: Lifetime = field(
|
|
42
|
+
default=Lifetime.TRANSIENT,
|
|
43
|
+
metadata={
|
|
44
|
+
"description": "Lifetime of the instance.",
|
|
45
|
+
"default": Lifetime.TRANSIENT
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
enforce_decoupling: bool = field(
|
|
50
|
+
default=False,
|
|
51
|
+
metadata={
|
|
52
|
+
"description": "Indicates whether to enforce decoupling between contract and concrete.",
|
|
53
|
+
"default": False
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
alias: str = field(
|
|
58
|
+
default=None,
|
|
59
|
+
metadata={
|
|
60
|
+
"description": "Alias for resolving the dependency from the container.",
|
|
61
|
+
"default": None
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
def __post_init__(self):
|
|
66
|
+
"""
|
|
67
|
+
Validates the types of specific instance attributes after object initialization.
|
|
68
|
+
|
|
69
|
+
This method ensures that:
|
|
70
|
+
- The 'lifetime' attribute is an instance of the `Lifetime` enum.
|
|
71
|
+
- The 'enforce_decoupling' attribute is a boolean.
|
|
72
|
+
- The 'alias' attribute is either a string or None.
|
|
73
|
+
|
|
74
|
+
If any of these conditions are not met, an `OrionisContainerTypeError` is raised to prevent improper usage.
|
|
75
|
+
|
|
76
|
+
Parameters
|
|
77
|
+
----------
|
|
78
|
+
None
|
|
79
|
+
|
|
80
|
+
Returns
|
|
81
|
+
-------
|
|
82
|
+
None
|
|
83
|
+
This method does not return any value. It raises an exception if validation fails.
|
|
84
|
+
|
|
85
|
+
Raises
|
|
86
|
+
------
|
|
87
|
+
OrionisContainerTypeError
|
|
88
|
+
If 'lifetime' is not an instance of `Lifetime`.
|
|
89
|
+
OrionisContainerTypeError
|
|
90
|
+
If 'enforce_decoupling' is not of type `bool`.
|
|
91
|
+
OrionisContainerTypeError
|
|
92
|
+
If 'alias' is not of type `str` or `None`.
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
# Validate that 'lifetime' is an instance of Lifetime enum if provided
|
|
96
|
+
if self.lifetime and not isinstance(self.lifetime, Lifetime):
|
|
97
|
+
raise OrionisContainerTypeError(
|
|
98
|
+
f"The 'lifetime' attribute must be an instance of 'Lifetime', but received type '{type(self.lifetime).__name__}'."
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
# Validate that 'enforce_decoupling' is a boolean
|
|
102
|
+
if not isinstance(self.enforce_decoupling, bool):
|
|
103
|
+
raise OrionisContainerTypeError(
|
|
104
|
+
f"The 'enforce_decoupling' attribute must be of type 'bool', but received type '{type(self.enforce_decoupling).__name__}'."
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
# Validate that 'alias' is either a string or None
|
|
108
|
+
if self.alias and not isinstance(self.alias, str):
|
|
109
|
+
raise OrionisContainerTypeError(
|
|
110
|
+
f"The 'alias' attribute must be of type 'str' or 'None', but received type '{type(self.alias).__name__}'."
|
|
111
|
+
)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from enum import Enum, auto
|
|
2
|
+
|
|
3
|
+
class Lifetime(Enum):
|
|
4
|
+
"""
|
|
5
|
+
Represents the lifecycle types used for dependency injection.
|
|
6
|
+
|
|
7
|
+
This enumeration defines how and when instances of a dependency are created and shared.
|
|
8
|
+
|
|
9
|
+
Attributes
|
|
10
|
+
----------
|
|
11
|
+
TRANSIENT : Lifetime
|
|
12
|
+
A new instance is created and provided every time the dependency is requested.
|
|
13
|
+
SINGLETON : Lifetime
|
|
14
|
+
A single shared instance is created and used throughout the entire application lifetime.
|
|
15
|
+
SCOPED : Lifetime
|
|
16
|
+
An instance is created and shared within a defined scope (such as per request or session).
|
|
17
|
+
|
|
18
|
+
Returns
|
|
19
|
+
-------
|
|
20
|
+
Lifetime
|
|
21
|
+
An enumeration member representing the selected lifecycle type.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
# A new instance is provided every time the dependency is requested.
|
|
25
|
+
TRANSIENT = auto()
|
|
26
|
+
# A single shared instance is provided for the entire application lifetime.
|
|
27
|
+
SINGLETON = auto()
|
|
28
|
+
# An instance is provided per scope (e.g., per request or session).
|
|
29
|
+
SCOPED = auto()
|
|
@@ -31,7 +31,7 @@ class ServiceProvider(IServiceProvider):
|
|
|
31
31
|
"""
|
|
32
32
|
self.app = app
|
|
33
33
|
|
|
34
|
-
def register(self) -> None:
|
|
34
|
+
async def register(self) -> None:
|
|
35
35
|
"""
|
|
36
36
|
Register services into the application container.
|
|
37
37
|
|
|
@@ -46,7 +46,7 @@ class ServiceProvider(IServiceProvider):
|
|
|
46
46
|
"""
|
|
47
47
|
raise NotImplementedError("This method should be overridden in the subclass")
|
|
48
48
|
|
|
49
|
-
def boot(self) -> None:
|
|
49
|
+
async def boot(self) -> None:
|
|
50
50
|
"""
|
|
51
51
|
Perform any post-registration bootstrapping or initialization.
|
|
52
52
|
|