orionis 0.267.0__py3-none-any.whl → 0.268.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- orionis/framework.py +24 -6
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/METADATA +2 -2
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/RECORD +8 -8
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/WHEEL +0 -0
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/entry_points.txt +0 -0
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/top_level.txt +0 -0
- {orionis-0.267.0.dist-info → orionis-0.268.0.dist-info}/zip-safe +0 -0
orionis/framework.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
NAME = "orionis"
|
6
6
|
|
7
7
|
# Current version of the framework
|
8
|
-
VERSION = "0.
|
8
|
+
VERSION = "0.268.0"
|
9
9
|
|
10
10
|
# Full name of the author or maintainer of the project
|
11
11
|
AUTHOR = "Raul Mauricio Uñate Castro"
|
@@ -83,11 +83,7 @@ KEYWORDS = [
|
|
83
83
|
"framework",
|
84
84
|
"python",
|
85
85
|
"orionis-framework",
|
86
|
-
"django",
|
87
|
-
"flask",
|
88
|
-
"fastapi",
|
89
86
|
"starlette",
|
90
|
-
"werkzeug",
|
91
87
|
"uvicorn"
|
92
88
|
]
|
93
89
|
|
@@ -116,4 +112,26 @@ def get_requires():
|
|
116
112
|
return [
|
117
113
|
">=".join(requirement)
|
118
114
|
for requirement in REQUIRES
|
119
|
-
]
|
115
|
+
]
|
116
|
+
|
117
|
+
def get_svg_assets():
|
118
|
+
"""
|
119
|
+
Returns the SVG code for the project's icon and text images.
|
120
|
+
|
121
|
+
Reads the SVG files and returns their contents as strings.
|
122
|
+
|
123
|
+
Returns:
|
124
|
+
dict: Dictionary with 'icon' and 'text' keys containing SVG code as strings.
|
125
|
+
"""
|
126
|
+
import os
|
127
|
+
current_dir = os.path.dirname(__file__)
|
128
|
+
icon_path = os.path.join(current_dir, "static", "svg", "logo.svg")
|
129
|
+
text_path = os.path.join(current_dir, "static", "svg", "text.svg")
|
130
|
+
with open(icon_path, 'r', encoding='utf-8') as icon_file:
|
131
|
+
icon_svg = icon_file.read()
|
132
|
+
with open(text_path, 'r', encoding='utf-8') as text_file:
|
133
|
+
text_svg = text_file.read()
|
134
|
+
return {
|
135
|
+
'icon': icon_svg,
|
136
|
+
'text': text_svg,
|
137
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: orionis
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.268.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
|
7
7
|
Author-email: raulmauriciounate@gmail.com
|
8
|
-
Keywords: orionis,framework,python,orionis-framework,
|
8
|
+
Keywords: orionis,framework,python,orionis-framework,starlette,uvicorn
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Intended Audience :: Developers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
orionis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
orionis/application.py,sha256=EK1ErClgoEwQ4sj-3RXZ9dx1WpJCFlpyYD1d2u9Rdyg,129
|
3
3
|
orionis/clinstall.py,sha256=4gYWxf0fWYgJ4RKwARvnTPh06FL3GJ6SAZ7R2NzOICw,1342
|
4
|
-
orionis/framework.py,sha256=
|
4
|
+
orionis/framework.py,sha256=ntvhhdLrCvIXvA7nhoQ_jf05I_HAQMnvMXy0GypiX1Q,4960
|
5
5
|
orionis/unittesting.py,sha256=bGDkjHtI1G0DYui_atBJ3fXdDY9nD5h0gVEpiGu0dfM,1291
|
6
6
|
orionis/installer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
orionis/installer/manager.py,sha256=Li4TVziRXWfum02xNG4JHwbnLk-u8xzHjdqKz-D894k,2755
|
@@ -334,7 +334,7 @@ orionis/luminate/test/suites/contracts/test_unit.py,sha256=wWIlSNX-C2Yi98UrU-B_1
|
|
334
334
|
orionis/static/ascii/icon.ascii,sha256=IgrlVjcYxcCrr0cJuJkOnEz0aEdAQBTyLzO5ainKsWc,398
|
335
335
|
orionis/static/ascii/info.ascii,sha256=HF_o2eXaiw5iqcOhHfnPByn5GJ_O2eBwSK3IpTfYOwY,457
|
336
336
|
orionis/static/bg/galaxy.jpg,sha256=_FuPghOe9LBrIWv1eKZ9fiZR72sEz5obvXGDnD7MzTc,172244
|
337
|
-
orionis-0.
|
337
|
+
orionis-0.268.0.dist-info/licenses/LICENCE,sha256=-_4cF2EBKuYVS_SQpy1uapq0oJPUU1vl_RUWSy2jJTo,1111
|
338
338
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
339
339
|
tests/example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
340
340
|
tests/example/test_example.py,sha256=aWTi5PQJT7m-J_jsnZFBEgcEGlutm0lA9P0yS69qnqE,592
|
@@ -432,9 +432,9 @@ tests/support/inspection/fakes/fake_reflection_instance_with_abstract.py,sha256=
|
|
432
432
|
tests/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
433
433
|
tests/testing/test_testing_result.py,sha256=54QDn6_v9feIcDcA6LPXcvYhlt_X8JqLGTYWS9XjKXM,3029
|
434
434
|
tests/testing/test_testing_unit.py,sha256=ddtpjNKfjCfpnoB8psjQitMtl6p0mY3mhzj3B64hvyE,5452
|
435
|
-
orionis-0.
|
436
|
-
orionis-0.
|
437
|
-
orionis-0.
|
438
|
-
orionis-0.
|
439
|
-
orionis-0.
|
440
|
-
orionis-0.
|
435
|
+
orionis-0.268.0.dist-info/METADATA,sha256=nUxkQQvc6ygBMjvNn_2Gp_d6PFKEOu1LnmdPXOwDWp0,4308
|
436
|
+
orionis-0.268.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
437
|
+
orionis-0.268.0.dist-info/entry_points.txt,sha256=KBt3L4oNLcGkcnia1q8nXzG5MWvuDBXE1QTHAuBpCUQ,51
|
438
|
+
orionis-0.268.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
|
439
|
+
orionis-0.268.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
440
|
+
orionis-0.268.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|