orionis 0.278.0__py3-none-any.whl → 0.280.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.
@@ -1,4 +1,4 @@
1
- from orionis.framework import NAME
1
+ from orionis.metadata.framework import NAME
2
2
  from orionis.console.base.command import BaseCommand
3
3
  from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
4
4
  from orionis._contracts.application import IApplication
@@ -1,4 +1,4 @@
1
- from orionis.framework import VERSION
1
+ from orionis.metadata.framework import VERSION
2
2
  from orionis.console.base.command import BaseCommand
3
3
  from orionis.console.exceptions.cli_runtime_error import CLIOrionisRuntimeError
4
4
 
File without changes
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.278.0"
8
+ VERSION = "0.280.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 +1,9 @@
1
1
  import requests
2
+ from orionis.metadata.framework import API
2
3
 
3
- class OrionisFrameworkApi:
4
+ class PypiPackageApi:
4
5
  """
5
- OrionisFrameworkApi provides an interface to fetch and access metadata about the Orionis package from PyPI.
6
+ PypiPackageApi provides an interface to fetch and access metadata about the Orionis package from PyPI.
6
7
  This class initializes by retrieving package information from the PyPI JSON API for the 'orionis' package.
7
8
  It exposes various methods to access metadata such as the package name, version, author, description, license,
8
9
  classifiers, required Python version, keywords, and project URLs.
@@ -42,7 +43,7 @@ class OrionisFrameworkApi:
42
43
  Initializes the class by setting the base URL for the Orionis PyPI package,
43
44
  initializing the information dictionary, and retrieving all package data.
44
45
  """
45
- self._baseUrl = "https://pypi.org/pypi/orionis/json"
46
+ self._baseUrl = API
46
47
  self._info = {}
47
48
  self.getAllData()
48
49
 
@@ -60,7 +61,7 @@ class OrionisFrameworkApi:
60
61
  try:
61
62
  response = requests.get(self._baseUrl, timeout=10)
62
63
  response.raise_for_status()
63
- data = response.json()
64
+ data:dict = response.json()
64
65
  self._info = data.get("info", {})
65
66
  if not self._info:
66
67
  raise ValueError("No 'info' key found in PyPI response.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.278.0
3
+ Version: 0.280.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
@@ -1,8 +1,6 @@
1
1
  orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  orionis/_application.py,sha256=dMjJ0nFcIIOBGb5zr-tHNzcgTOZ1vJ7iMdFAlqSQph0,9405
3
3
  orionis/application.py,sha256=KrIj21LSoQCrpkkc8O_UeHrEMEJvSGVJuMGx-srrOXE,413
4
- orionis/framework.py,sha256=V1oWol7QfqGLdAPOGOCLwLDiW1fkXTm660qqEH4_Rgk,4960
5
- orionis/framework_api.py,sha256=MjbJ8AsLD5ODz0QGYe_sDxTHCaX4q6qIDhdGJFRUkLI,6698
6
4
  orionis/unittesting.py,sha256=VzNyVcLWTFP5dAWLQ_A1Zfzwv_Oeb9LbvNYNSbTEFbs,1626
7
5
  orionis/_container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
6
  orionis/_container/container.py,sha256=0AOqTNwpN_OtWbq9mBI99qfJ7LMkN71y0lP0JWKzut0,18289
@@ -122,9 +120,9 @@ orionis/console/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
122
120
  orionis/console/base/command.py,sha256=ZAP-KdbTqgDU4_3MKb6OllxzoKRLNCh1xqvulk6VfdU,12318
123
121
  orionis/console/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
124
122
  orionis/console/commands/cache_clear.py,sha256=FBCnJnECdxoWFxd8EXKd7lNEddIzz7NdkPYLnnpELbw,2890
125
- orionis/console/commands/help.py,sha256=z-XMdpaNMwFgaAoIHcO64UTpyZclZIvlIMjKrUPOcVM,2527
123
+ orionis/console/commands/help.py,sha256=EX1ZzKdSlZi95l6WMDB7HpQc7paQaYGNksVbdysLKp8,2536
126
124
  orionis/console/commands/schedule_work.py,sha256=d6E_G_cgVqDagjZJA7T2Nk5PEjS7-710XTOL2q91mXY,2040
127
- orionis/console/commands/version.py,sha256=nX6j07xw26ThfTyzw5P8XXre1LpSklVT7TYYTpACY4s,1040
125
+ orionis/console/commands/version.py,sha256=A3qvjFl-TMBLDJxsWZhbcojcZa2p6owiVQvmBx0pFXU,1049
128
126
  orionis/console/dumper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
127
  orionis/console/dumper/dump_die.py,sha256=AsKrcuPwVgTT3UA8DxqFCzuZsGkaGm7bwkm-pr9XlaE,17089
130
128
  orionis/console/exceptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -227,6 +225,9 @@ orionis/foundation/config/testing/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW
227
225
  orionis/foundation/config/testing/entities/testing.py,sha256=C_T054W0jv29JUH9aiK0mIDMa6yJyGYjsmEx5p4zVyE,10001
228
226
  orionis/foundation/config/testing/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
227
  orionis/foundation/config/testing/enums/test_mode.py,sha256=IbFpauu7J-iSAfmC8jDbmTEYl8eZr-AexL-lyOh8_74,337
228
+ orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
+ orionis/metadata/framework.py,sha256=LTVm3WKzFPAzNsvW49ZCfsLTm2Zyzj2FDwRwRPg3UKs,4960
230
+ orionis/metadata/package.py,sha256=5p4fxjPpaktsreJ458pAl-Oi1363MWACPQvqXi_N6oA,6704
230
231
  orionis/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
231
232
  orionis/patterns/singleton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
233
  orionis/patterns/singleton/meta_class.py,sha256=YN5mSSQeIX_Gh_TK5HD-ms6IYBTRsRcuzoUtpX-9kYY,2134
@@ -321,7 +322,7 @@ orionis/test/suites/test_unit.py,sha256=u2sWLLyh0I41kanRjkNOt9p-do_Qh5IW5bHSx9N-
321
322
  orionis/test/suites/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
322
323
  orionis/test/suites/contracts/test_suite.py,sha256=arJSxWGjOHTVGiJrmqdqDrb9Ymt3SitDPZKVMBsWCf8,888
323
324
  orionis/test/suites/contracts/test_unit.py,sha256=5gaGXqCx07aDlAQJi8J-GF83kVj3uIx_fdPF1HYMKcg,5596
324
- orionis-0.278.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
325
+ orionis-0.280.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
325
326
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
326
327
  tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
327
328
  tests/example/test_example.py,sha256=DUZU6lWVFsyHtBEXx0cBxMrSCpOtAOL3PUoi9-tXAas,583
@@ -385,7 +386,7 @@ tests/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
385
386
  tests/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
386
387
  tests/services/asynchrony/test_async_io.py,sha256=oS_PRgAluASK-7MEwEktRoPG6lSubWBPrtLMyhGOum4,1526
387
388
  tests/services/environment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
388
- tests/services/environment/test_env.py,sha256=bI6hAxhpGRU2rDsO01zllUo0tAS3k237sYcHCc1n22Q,7054
389
+ tests/services/environment/test_env.py,sha256=Wk3TiaIUd_w-OWJQw82ZPZLv0-cfpi6dZcl0h0LD2MI,7063
389
390
  tests/services/inspection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
391
  tests/services/inspection/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
391
392
  tests/services/inspection/dependencies/test_reflect_dependencies.py,sha256=z0C9KkhV27Y7jKpLSCN9XCmHbjJDCPbBb7NkRFs3oMI,5803
@@ -419,8 +420,8 @@ tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=
419
420
  tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
420
421
  tests/testing/test_testing_result.py,sha256=54QDn6_v9feIcDcA6LPXcvYhlt_X8JqLGTYWS9XjKXM,3029
421
422
  tests/testing/test_testing_unit.py,sha256=MeVL4gc4cGRPXdVOOKJx6JPKducrZ8cN7F52Iiciixg,5443
422
- orionis-0.278.0.dist-info/METADATA,sha256=BWJWp_ZuvHc4Nmi6pZsQl1Xd0RK1z0iE0Jyx0E4ZCiw,4772
423
- orionis-0.278.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
424
- orionis-0.278.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
425
- orionis-0.278.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
426
- orionis-0.278.0.dist-info/RECORD,,
423
+ orionis-0.280.0.dist-info/METADATA,sha256=bQLvSa7YKGVJKz30jQA-deTfaPjfSk7fXPks7bpy4co,4772
424
+ orionis-0.280.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
425
+ orionis-0.280.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
426
+ orionis-0.280.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
427
+ orionis-0.280.0.dist-info/RECORD,,
@@ -118,7 +118,7 @@ class TestEnv(TestCase):
118
118
  - The Env.get() method returns None for a non-existent key.
119
119
  - All constants are present in the dictionary returned by Env.all().
120
120
  """
121
- from orionis.framework import (
121
+ from orionis.metadata.framework import (
122
122
  NAME, VERSION, AUTHOR, AUTHOR_EMAIL, DESCRIPTION,
123
123
  SKELETON, FRAMEWORK, DOCS, API, PYTHON_REQUIRES
124
124
  )