orionis 0.342.0__py3-none-any.whl → 0.344.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/metadata/framework.py +1 -1
- orionis/patterns/__init__.py +0 -8
- orionis/services/asynchrony/__init__.py +1 -5
- orionis/services/asynchrony/coroutines.py +1 -1
- orionis/services/environment/__init__.py +1 -23
- orionis/services/environment/core/__init__.py +7 -0
- orionis/services/environment/{dot_env.py → core/dot_env.py} +2 -3
- orionis/services/environment/env.py +2 -2
- orionis/services/environment/types/__init__.py +7 -0
- orionis/services/environment/{types.py → types/env_types.py} +1 -2
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/METADATA +1 -1
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/RECORD +16 -14
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/WHEEL +0 -0
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/top_level.txt +0 -0
- {orionis-0.342.0.dist-info → orionis-0.344.0.dist-info}/zip-safe +0 -0
orionis/metadata/framework.py
CHANGED
orionis/patterns/__init__.py
CHANGED
|
@@ -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
|
|
5
|
+
from orionis.services.introspection import Inspection
|
|
6
6
|
|
|
7
7
|
T = TypeVar("T")
|
|
8
8
|
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
# Import environment services
|
|
2
|
-
from .dot_env import DotEnv
|
|
3
2
|
from .env import Env
|
|
4
|
-
from .types import EnvTypes
|
|
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
3
|
|
|
15
4
|
# Define the public API of this module
|
|
16
5
|
__all__ = [
|
|
17
|
-
|
|
18
|
-
"DotEnv",
|
|
19
|
-
"Env",
|
|
20
|
-
"EnvTypes",
|
|
21
|
-
|
|
22
|
-
# Environment contracts
|
|
23
|
-
"IEnv",
|
|
24
|
-
"IEnvTypes",
|
|
25
|
-
|
|
26
|
-
# Environment exceptions
|
|
27
|
-
"OrionisEnvironmentValueError",
|
|
28
|
-
"OrionisEnvironmentValueException",
|
|
6
|
+
"Env"
|
|
29
7
|
]
|
|
@@ -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
|
|
9
|
-
from orionis.services.environment.exceptions
|
|
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,5 +1,5 @@
|
|
|
1
|
-
from orionis.services.environment.contracts
|
|
2
|
-
from orionis.services.environment.
|
|
1
|
+
from orionis.services.environment.contracts import IEnv
|
|
2
|
+
from orionis.services.environment.core import DotEnv
|
|
3
3
|
from typing import Any, Dict
|
|
4
4
|
|
|
5
5
|
def env(key: str, default: Any = None) -> Any:
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
from orionis.services.environment.contracts.types import IEnvTypes
|
|
2
|
-
from orionis.services.environment.exceptions
|
|
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
|
|
|
@@ -223,28 +223,30 @@ 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=
|
|
226
|
+
orionis/metadata/framework.py,sha256=VSeUyY-nW9_KPODUlHn2VvqrUGOdGzuCQzkppTNuwf8,4960
|
|
227
227
|
orionis/metadata/package.py,sha256=tqLfBRo-w1j_GN4xvzUNFyweWYFS-qhSgAEc-AmCH1M,5452
|
|
228
|
-
orionis/patterns/__init__.py,sha256=
|
|
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=
|
|
233
|
-
orionis/services/asynchrony/coroutines.py,sha256=
|
|
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=
|
|
239
|
-
orionis/services/environment/
|
|
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=7evIQkzVpjTv4mRPilOXcTswGgpoEMvD5c9VUFqZu2U,120
|
|
239
|
+
orionis/services/environment/env.py,sha256=0zK_84iY7v_I7XG0z24WL7kioh5Sdngbd4uOfmpNejM,2792
|
|
242
240
|
orionis/services/environment/contracts/__init__.py,sha256=NJe6DDdq8XKbrI2-BDEN8aB_G8bp0QORO1J1ECzZqgA,172
|
|
243
241
|
orionis/services/environment/contracts/env.py,sha256=7lezGxABAG63pEEvzAmHXgr9izBI6TCp05Trx_SRvc4,2054
|
|
244
242
|
orionis/services/environment/contracts/types.py,sha256=n0USxUblz0Ofbo1ef0hnGHGkuGjSiWk-SBWVPXv33mE,1994
|
|
243
|
+
orionis/services/environment/core/__init__.py,sha256=JDh6jfkAaJjETZA0VjEFIqPHPLvZbw_ky5DNb_nRC_U,130
|
|
244
|
+
orionis/services/environment/core/dot_env.py,sha256=CGTwddKJKlQShggCu3R5OdIdJVQdfDNergGtFVHYHJg,10141
|
|
245
245
|
orionis/services/environment/exceptions/__init__.py,sha256=izq_808HYWZn1DTVNITeaafcR1mb6vj4I3B8w9GprH0,309
|
|
246
246
|
orionis/services/environment/exceptions/environment_value_error.py,sha256=Pe1qNHRrM9T0AzESN284CzA3GQYxzokfXPMOVqOTlyQ,475
|
|
247
247
|
orionis/services/environment/exceptions/environment_value_exception.py,sha256=NnxWmgoSca7LXi7GLDa95HSBPKotFfy8u729d1OAmCc,479
|
|
248
|
+
orionis/services/environment/types/__init__.py,sha256=gXdVw9ti2qKfosgz92LqMkAqiHRagSebqR1wrqy9CI4,133
|
|
249
|
+
orionis/services/environment/types/env_types.py,sha256=nf7HJjm-1S-BH2YnuBQNNWvb3Aqu-QYPUTfJRgVYZ1Y,18336
|
|
248
250
|
orionis/services/introspection/__init__.py,sha256=tZ6ypxoouSwemcmQvdjP3hV3537hlyNXj7RzhfPXHHM,1594
|
|
249
251
|
orionis/services/introspection/inspection.py,sha256=jxHaC5Q7aydCJ66WPugplB7cfHVOgyTP9zMubqyLjUo,6349
|
|
250
252
|
orionis/services/introspection/reflection.py,sha256=_3Zns_hRFoz7pG8C3YoZWJ5P7ikzwjJi0J09WLAJIXk,11639
|
|
@@ -338,7 +340,7 @@ orionis/test/suite/__init__.py,sha256=5jgkmkeLwF26x3UxGXHZ7WZzlLMpuAQu9Fo1Rng0iE
|
|
|
338
340
|
orionis/test/suite/unit_test.py,sha256=4xFDYUW6GYoyCAh5MRMilwQN-BYB7CeWkDSf6IyBqLM,52137
|
|
339
341
|
orionis/test/view/__init__.py,sha256=2LWCbH_jT9Dc5a-wV3uxddDxgb6ZLayFQ84w_Cwae6o,84
|
|
340
342
|
orionis/test/view/render.py,sha256=N1zUp4wruevaYwvHB1T8CizrTLDL0UgP7B4zoKJia1w,4891
|
|
341
|
-
orionis-0.
|
|
343
|
+
orionis-0.344.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
|
342
344
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
343
345
|
tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
344
346
|
tests/example/test_example.py,sha256=4ebBTg7vjtA8INm1lhi0NFPpZBLr8TfI5qqU-73g4vc,585
|
|
@@ -439,8 +441,8 @@ tests/support/wrapper/test_services_wrapper_docdict.py,sha256=5cnxPqMWLAqKQck7wh
|
|
|
439
441
|
tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
440
442
|
tests/testing/test_testing_result.py,sha256=ypIHgSoWCy2GGJQU-RVYJ3adhPqlCSr0OrTlemQ6Wzc,4308
|
|
441
443
|
tests/testing/test_testing_unit.py,sha256=2mPUcogIM6hOuWXDQhStVrUyBzwkVl1ucqOT2WD7kN8,7390
|
|
442
|
-
orionis-0.
|
|
443
|
-
orionis-0.
|
|
444
|
-
orionis-0.
|
|
445
|
-
orionis-0.
|
|
446
|
-
orionis-0.
|
|
444
|
+
orionis-0.344.0.dist-info/METADATA,sha256=MFZIlYtIA4SNzPxjn-u9HUqGOEcNu6RNLuhCj9XlTLc,4772
|
|
445
|
+
orionis-0.344.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
446
|
+
orionis-0.344.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
|
447
|
+
orionis-0.344.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
448
|
+
orionis-0.344.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|