orionis 0.341.0__py3-none-any.whl → 0.343.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.
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.341.0"
8
+ VERSION = "0.343.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,8 +0,0 @@
1
- # Import pattern implementations
2
- from .singleton import Singleton
3
-
4
- # Define the public API of this module
5
- __all__ = [
6
- # Singleton pattern
7
- "Singleton",
8
- ]
@@ -1,11 +1,7 @@
1
1
  # Importing necessary modules for asynchrony services in Orionis framework
2
2
  from .coroutines import Coroutine
3
- from .exceptions import OrionisCoroutineException
4
- from .contracts import ICoroutine
5
3
 
6
4
  # Defining the public API of this module
7
5
  __all__ = [
8
- "Coroutine",
9
- "OrionisCoroutineException",
10
- "ICoroutine"
6
+ "Coroutine"
11
7
  ]
@@ -2,7 +2,7 @@ import asyncio
2
2
  from typing import Any, Coroutine as TypingCoroutine, TypeVar, Union
3
3
  from orionis.services.asynchrony.contracts import ICoroutine
4
4
  from orionis.services.asynchrony.exceptions import OrionisCoroutineException
5
- from orionis.services.introspection.inspection import Inspection
5
+ from orionis.services.introspection import Inspection
6
6
 
7
7
  T = TypeVar("T")
8
8
 
@@ -3,27 +3,9 @@ from .dot_env import DotEnv
3
3
  from .env import Env
4
4
  from .types import EnvTypes
5
5
 
6
- # Import environment contracts
7
- from .contracts import IEnv, IEnvTypes
8
-
9
- # Import environment exceptions
10
- from .exceptions import (
11
- OrionisEnvironmentValueError,
12
- OrionisEnvironmentValueException
13
- )
14
-
15
6
  # Define the public API of this module
16
7
  __all__ = [
17
- # Environment services
18
8
  "DotEnv",
19
9
  "Env",
20
- "EnvTypes",
21
-
22
- # Environment contracts
23
- "IEnv",
24
- "IEnvTypes",
25
-
26
- # Environment exceptions
27
- "OrionisEnvironmentValueError",
28
- "OrionisEnvironmentValueException",
10
+ "EnvTypes"
29
11
  ]
@@ -5,9 +5,8 @@ import threading
5
5
  from pathlib import Path
6
6
  from typing import Any, Optional, Union
7
7
  from dotenv import dotenv_values, load_dotenv, set_key, unset_key
8
- from orionis.patterns.singleton.meta_class import Singleton
9
- from orionis.services.environment.exceptions.environment_value_exception import OrionisEnvironmentValueException
10
- from orionis.services.environment.exceptions.environment_value_error import OrionisEnvironmentValueError
8
+ from orionis.patterns.singleton import Singleton
9
+ from orionis.services.environment.exceptions import OrionisEnvironmentValueException, OrionisEnvironmentValueError
11
10
  from orionis.services.environment.types import EnvTypes
12
11
 
13
12
  class DotEnv(metaclass=Singleton):
@@ -1,4 +1,4 @@
1
- from orionis.services.environment.contracts.env import IEnv
1
+ from orionis.services.environment.contracts import IEnv
2
2
  from orionis.services.environment.dot_env import DotEnv
3
3
  from typing import Any, Dict
4
4
 
@@ -1,6 +1,5 @@
1
1
  from orionis.services.environment.contracts.types import IEnvTypes
2
- from orionis.services.environment.exceptions.environment_value_error import OrionisEnvironmentValueError
3
- from orionis.services.environment.exceptions.environment_value_exception import OrionisEnvironmentValueException
2
+ from orionis.services.environment.exceptions import OrionisEnvironmentValueError, OrionisEnvironmentValueException
4
3
 
5
4
  class EnvTypes(IEnvTypes):
6
5
 
@@ -1,5 +1,5 @@
1
1
  import unittest
2
- from orionis.test.output.dumper import TestDumper
2
+ from orionis.test.output import TestDumper
3
3
 
4
4
  class AsyncTestCase(unittest.IsolatedAsyncioTestCase, TestDumper):
5
5
  """
@@ -1,5 +1,5 @@
1
1
  import unittest
2
- from orionis.test.output.dumper import TestDumper
2
+ from orionis.test.output import TestDumper
3
3
 
4
4
  class TestCase(unittest.IsolatedAsyncioTestCase, TestDumper):
5
5
  """
@@ -1,5 +1,5 @@
1
1
  import unittest
2
- from orionis.test.output.dumper import TestDumper
2
+ from orionis.test.output import TestDumper
3
3
 
4
4
  class SyncTestCase(unittest.TestCase, TestDumper):
5
5
  """
@@ -1,7 +1,7 @@
1
1
  from abc import ABC, abstractmethod
2
2
  from typing import Any, Dict, List, Optional
3
- from orionis.services.system.workers import Workers
4
- from orionis.test.enums.test_mode import ExecutionMode
3
+ from orionis.services.system import Workers
4
+ from orionis.test.enums import ExecutionMode
5
5
 
6
6
  class IUnitTest(ABC):
7
7
 
@@ -1,6 +1,6 @@
1
1
  from dataclasses import dataclass, field
2
2
  from typing import Any, Optional
3
- from orionis.test.enums.test_status import TestStatus
3
+ from orionis.test.enums import TestStatus
4
4
 
5
5
  @dataclass(frozen=True, kw_only=True)
6
6
  class TestResult:
@@ -3,10 +3,9 @@ import re
3
3
  import sqlite3
4
4
  from pathlib import Path
5
5
  from typing import Dict, List, Optional, Tuple
6
- from orionis.services.environment.env import Env
7
- from orionis.test.exceptions.test_persistence_error import OrionisTestPersistenceError
8
- from orionis.test.exceptions.test_value_error import OrionisTestValueError
9
- from orionis.test.contracts.history import ITestHistory
6
+ from orionis.services.environment import Env
7
+ from orionis.test.exceptions import OrionisTestPersistenceError, OrionisTestValueError
8
+ from orionis.test.contracts import ITestHistory
10
9
 
11
10
  class TestHistory(ITestHistory):
12
11
 
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  import sys
3
- from orionis.test.exceptions.test_runtime_error import OrionisTestRuntimeError
4
- from orionis.test.contracts.dumper import ITestDumper
3
+ from orionis.test.exceptions import OrionisTestRuntimeError
4
+ from orionis.test.contracts import ITestDumper
5
5
 
6
6
  class TestDumper(ITestDumper):
7
7
  """
@@ -7,9 +7,9 @@ from rich.panel import Panel
7
7
  from rich.syntax import Syntax
8
8
  from rich.table import Table
9
9
  from rich.text import Text
10
- from orionis.services.introspection.instances.reflection_instance import ReflectionInstance
11
- from orionis.test.contracts.printer import ITestPrinter
12
- from orionis.test.enums.test_status import TestStatus
10
+ from orionis.services.introspection.instances import ReflectionInstance
11
+ from orionis.test.contracts import ITestPrinter
12
+ from orionis.test.enums import TestStatus
13
13
 
14
14
  class TestPrinter(ITestPrinter):
15
15
 
@@ -13,12 +13,9 @@ from typing import Any, Dict, List, Optional, Tuple
13
13
  from orionis.services.introspection.instances.reflection_instance import ReflectionInstance
14
14
  from orionis.services.system.workers import Workers
15
15
  from orionis.test.entities import TestResult
16
- from orionis.test.enums import ExecutionMode
17
- from orionis.test.enums import TestStatus
18
- from orionis.test.exceptions import OrionisTestFailureException
19
- from orionis.test.exceptions import OrionisTestPersistenceError
20
- from orionis.test.exceptions import OrionisTestValueError
21
- from orionis.test.logs.history import TestHistory
16
+ from orionis.test.enums import ExecutionMode, TestStatus
17
+ from orionis.test.exceptions import OrionisTestFailureException, OrionisTestPersistenceError, OrionisTestValueError
18
+ from orionis.test.logs import TestHistory
22
19
  from orionis.test.contracts import IUnitTest
23
20
  from orionis.test.output import TestPrinter
24
21
  from orionis.test.view import TestingResultRender
@@ -1,8 +1,8 @@
1
1
  import json
2
2
  import os
3
3
  from pathlib import Path
4
- from orionis.services.environment.env import Env
5
- from orionis.test.logs.history import TestHistory
4
+ from orionis.services.environment import Env
5
+ from orionis.test.logs import TestHistory
6
6
 
7
7
  class TestingResultRender:
8
8
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.341.0
3
+ Version: 0.343.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -223,22 +223,22 @@ orionis/foundation/exceptions/__init__.py,sha256=IqjZ970Nsck5dMaaknbyn5X4cj796Jq
223
223
  orionis/foundation/exceptions/integrity.py,sha256=mc4pL1UMoYRHEmphnpW2oGk5URhu7DJRREyzHaV-cs8,472
224
224
  orionis/foundation/exceptions/value_error.py,sha256=hQhXybXEnaa59ba7JxG65jceHt3mnql9MyekF-TChpM,465
225
225
  orionis/metadata/__init__.py,sha256=4E7FOLUw8NMYkEjQ1-IA-x5PyfA3qsMnhx6QBkVzBKk,594
226
- orionis/metadata/framework.py,sha256=GA3MRJaXS53RrrqjCYqMSzb_gLbXNWR7iR-QITLk-F4,4960
226
+ orionis/metadata/framework.py,sha256=6e0S34CnZoBIAewJPghzwwR0NyMIFHN9m1TAZRlfhLg,4960
227
227
  orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
228
- orionis/patterns/__init__.py,sha256=7OuCK1tjqHHU3xr_dQCWVQgdvWaYpeiNSAuQRsvCC0Y,167
228
+ orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
229
  orionis/patterns/singleton/__init__.py,sha256=5mdiQLrkfJ8uAryx_EjdREf8z-c9oIr8hanbr3E-dKA,152
230
230
  orionis/patterns/singleton/meta_class.py,sha256=YN5mSSQeIX_Gh_TK5HD-ms6IYBTRsRcuzoUtpX-9kYY,2134
231
231
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
- orionis/services/asynchrony/__init__.py,sha256=vm-zqotHdX2npOp4VPhoXmhKtyT1ZOw-BN1Os3bWu_E,325
233
- orionis/services/asynchrony/coroutines.py,sha256=IVpsS-_7zHQSDTqBrZgbw_ESL7OOnynoGvvK9a_jgu8,2363
232
+ orionis/services/asynchrony/__init__.py,sha256=VojgnK7BrSl7fKaJApG90-ioCxWeXXYntGqKuFUNAcc,186
233
+ orionis/services/asynchrony/coroutines.py,sha256=S6s_Kk5JxGCm44NpgBdZ_YNSamBl8Julpd8FJV1laEM,2352
234
234
  orionis/services/asynchrony/contracts/__init__.py,sha256=SclRf6P6lLJ6s4p66kf8MZI1ykSZguXfooNCWNut_Co,202
235
235
  orionis/services/asynchrony/contracts/coroutines.py,sha256=Wuwp2k4HXAX-tQ3waVIT8AmzX_HeIbjliRchKIqy2k0,688
236
236
  orionis/services/asynchrony/exceptions/__init__.py,sha256=VZUzDi10kGx_A2be7jDBs7Fkq_dHGOvI25gBMRDXj2I,229
237
237
  orionis/services/asynchrony/exceptions/coroutine_exception.py,sha256=eopQpl-2chut-iN1drBy-53EDKava1icwtcWUF4S1Cc,472
238
- orionis/services/environment/__init__.py,sha256=aDpBxkv_qAdmN7eI6EW03tNcqwRypd7a-EGae8NQhxw,623
239
- orionis/services/environment/dot_env.py,sha256=Giq_HZ7nww_1H_peQkX8LLYZgTVTreIDe4ozbvCBZlg,10256
240
- orionis/services/environment/env.py,sha256=jbELcOGNvTslgs96j3PNisEy6967SifV3rourHnnxR4,2799
241
- orionis/services/environment/types.py,sha256=3lw1luvdligW54YPbPTHo36AZQjoQY1HHSgielbPGqA,18440
238
+ orionis/services/environment/__init__.py,sha256=ou4il5aIfLOeBv98dtYfHxime-2KwSmepPlvm4-Ai2g,210
239
+ orionis/services/environment/dot_env.py,sha256=CGTwddKJKlQShggCu3R5OdIdJVQdfDNergGtFVHYHJg,10141
240
+ orionis/services/environment/env.py,sha256=GzpyOQZF6ql5WFStgKuJq86dVaJMAa5TuWaLuKlHrvs,2795
241
+ orionis/services/environment/types.py,sha256=nf7HJjm-1S-BH2YnuBQNNWvb3Aqu-QYPUTfJRgVYZ1Y,18336
242
242
  orionis/services/environment/contracts/__init__.py,sha256=NJe6DDdq8XKbrI2-BDEN8aB_G8bp0QORO1J1ECzZqgA,172
243
243
  orionis/services/environment/contracts/env.py,sha256=7lezGxABAG63pEEvzAmHXgr9izBI6TCp05Trx_SRvc4,2054
244
244
  orionis/services/environment/contracts/types.py,sha256=n0USxUblz0Ofbo1ef0hnGHGkuGjSiWk-SBWVPXv33mE,1994
@@ -310,16 +310,16 @@ orionis/support/wrapper/dicts/dot_dict.py,sha256=VdAUH-DO6y86pl_9N6v-vU9mdLraWh5
310
310
  orionis/test/__init__.py,sha256=A1h_bZ_M2ZtCiPLEiMqAX4zcVg6reSnM7AWRCuMEvGY,1604
311
311
  orionis/test/test_suite.py,sha256=gTe0t-e00URScUGREovUYGH42U0VkxNTIChG3ibKHFs,5969
312
312
  orionis/test/cases/__init__.py,sha256=9j77BpFS0Xdkf_fk196pLf-sdNfgfjAlwvc_M3Dx9s8,185
313
- orionis/test/cases/test_async.py,sha256=YwycimGfUx9-kd_FFO8BZXyVayYwOBOzxbu3WZU_l5s,1927
314
- orionis/test/cases/test_case.py,sha256=GVN3cxYuE47uPOEqFUiMreLdXjTyqzHjjxfyEM5_D4w,1446
315
- orionis/test/cases/test_sync.py,sha256=FekXNQDq5pOQB2YpvP7E9jAqIJH9uZhTMoPz-qx8FO0,742
313
+ orionis/test/cases/test_async.py,sha256=Jve4gZDz4cM8ORA3_v2pAq8q_QTWgJS_IiAkpf3UITY,1920
314
+ orionis/test/cases/test_case.py,sha256=agfqRMA-798gCl2sn6-A7wQXgLwF5IgmeBp3MjhlI40,1439
315
+ orionis/test/cases/test_sync.py,sha256=f5Z6RCuJ8A0RuFx4YqcxN561Rmxwwj7wzsnSga6c45k,735
316
316
  orionis/test/contracts/__init__.py,sha256=G8BbcUflAXj5AgIw8hEMfsu9o_m397nGe9Ll6Xp0uok,232
317
317
  orionis/test/contracts/dumper.py,sha256=5OqGc4GEXCXX76sCX185giQMyKwwZvlOv3I7tTwV2fQ,1324
318
318
  orionis/test/contracts/history.py,sha256=v3vjWmvn73DF_C8Ur-aWdHUMrztX584mXKwYgsYQgCE,1435
319
319
  orionis/test/contracts/printer.py,sha256=FcTii6uglVIfvsgbmG0lj3hv1RGmDWuDo0eo4Z8rMbQ,6014
320
- orionis/test/contracts/unit_test.py,sha256=A22uLMbJXEh1Hi7ET7-RpnSGtzHhFYEc94MwmAexzc8,7781
320
+ orionis/test/contracts/unit_test.py,sha256=L5YvesP5KYLBsU-peqmJRuOymKVSDpcySIphQrbWcyQ,7763
321
321
  orionis/test/entities/__init__.py,sha256=_PGno5MOxlsDYZR1iu8JOqPV6tAlTjSBAWaDiqQqa4c,72
322
- orionis/test/entities/test_result.py,sha256=hz_0NXX5lSVSf4OWhHktrn1kFD43WiL5HugNuHvYRtg,3035
322
+ orionis/test/entities/test_result.py,sha256=8HRLg32bRLZX8NWgsGimJbSG8aX6n0VpbUEG57ClTGo,3023
323
323
  orionis/test/enums/__init__.py,sha256=0ICcr-gs82xub37ux5ab6YLBImAw7Q44bjWSWZJ9Aj0,132
324
324
  orionis/test/enums/test_mode.py,sha256=CHstYZ180MEX84AjZIoyA1l8gKxFLp_eciLOj2in57E,481
325
325
  orionis/test/enums/test_status.py,sha256=vNKRmp1lud_ZGTayf3A8wO_0vEYdFABy_oMw-RcEc1c,673
@@ -330,15 +330,15 @@ orionis/test/exceptions/test_persistence_error.py,sha256=yFgSmgEWM0VJkPuZNO7vm8f
330
330
  orionis/test/exceptions/test_runtime_error.py,sha256=YL9cAjhm1gf4wkOXCY_pZPMDPb4Nm9jS1JH038EAZpA,470
331
331
  orionis/test/exceptions/test_value_error.py,sha256=r3tVWTE3gNp7of2gXk71NN-VYoAlOpB0kulw0LOJ9mI,466
332
332
  orionis/test/logs/__init__.py,sha256=9I68ZFtOgA-zLJ_-jLHv9uovc_Y2uuDfwbPjCGb4b6w,70
333
- orionis/test/logs/history.py,sha256=eAEPWpubs1fFzL-0o8K82hd2lC0S98VOu1AEblCmjYI,13144
333
+ orionis/test/logs/history.py,sha256=Q2aSiroVP1oiKPbXAY3jl2KSNxu4NE6XL8HwSLIzhE4,13056
334
334
  orionis/test/output/__init__.py,sha256=H6lyv-sXKSfwYBF0cdtRsLu8lAet-6uG1_cs55rBcl8,120
335
- orionis/test/output/dumper.py,sha256=q1_S5AYMce01ukPkEJ73gQT7gyLBK5XA1NyOeVINQMI,4280
336
- orionis/test/output/printer.py,sha256=I7hkZ5z1VQkt1TowWyxfARb1ODYLSpHDX3fzrxMPBzg,16959
335
+ orionis/test/output/dumper.py,sha256=ipaJXEBNNFZk_ftJ16VyOELm-65SDdu-f062KeH0OQ4,4254
336
+ orionis/test/output/printer.py,sha256=Meex3POE-wec2hMGqcIcPr4kKcvI5HfRtzpp2S4e3y8,16919
337
337
  orionis/test/suite/__init__.py,sha256=5jgkmkeLwF26x3UxGXHZ7WZzlLMpuAQu9Fo1Rng0iEg,66
338
- orionis/test/suite/unit_test.py,sha256=u0T6cgLW4eQF8UwgsW7GgmANdp6O_n1CcV7g3F-2ufI,52248
338
+ orionis/test/suite/unit_test.py,sha256=4xFDYUW6GYoyCAh5MRMilwQN-BYB7CeWkDSf6IyBqLM,52137
339
339
  orionis/test/view/__init__.py,sha256=2LWCbH_jT9Dc5a-wV3uxddDxgb6ZLayFQ84w_Cwae6o,84
340
- orionis/test/view/render.py,sha256=jXZkbITBknbUwm_mD8bcTiwLDvsFkrO9qrf0ZgPwqxc,4903
341
- orionis-0.341.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
340
+ orionis/test/view/render.py,sha256=N1zUp4wruevaYwvHB1T8CizrTLDL0UgP7B4zoKJia1w,4891
341
+ orionis-0.343.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
342
342
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
343
343
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
344
  tests/example/test_example.py,sha256=4ebBTg7vjtA8INm1lhi0NFPpZBLr8TfI5qqU-73g4vc,585
@@ -439,8 +439,8 @@ tests/support/wrapper/test_services_wrapper_docdict.py,sha256=5cnxPqMWLAqKQck7wh
439
439
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
440
440
  tests/testing/test_testing_result.py,sha256=ypIHgSoWCy2GGJQU-RVYJ3adhPqlCSr0OrTlemQ6Wzc,4308
441
441
  tests/testing/test_testing_unit.py,sha256=2mPUcogIM6hOuWXDQhStVrUyBzwkVl1ucqOT2WD7kN8,7390
442
- orionis-0.341.0.dist-info/METADATA,sha256=XLbvKnA4bzg18lvCKqDLdPMFsTx-SgIDgjKw7fT7yDA,4772
443
- orionis-0.341.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
444
- orionis-0.341.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
445
- orionis-0.341.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
446
- orionis-0.341.0.dist-info/RECORD,,
442
+ orionis-0.343.0.dist-info/METADATA,sha256=QBHua9TDEUmOMp1_20iJnSN4062toqkNQVwk5ZvqCOk,4772
443
+ orionis-0.343.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
444
+ orionis-0.343.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
445
+ orionis-0.343.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
446
+ orionis-0.343.0.dist-info/RECORD,,