oe-python-template 0.6.12__py3-none-any.whl → 0.6.14__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.
- oe_python_template/api.py +4 -3
- {oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/METADATA +1 -1
- {oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/RECORD +6 -6
- {oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/WHEEL +0 -0
- {oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/licenses/LICENSE +0 -0
oe_python_template/api.py
CHANGED
|
@@ -18,6 +18,7 @@ from pydantic import BaseModel, Field
|
|
|
18
18
|
|
|
19
19
|
from oe_python_template import Service
|
|
20
20
|
|
|
21
|
+
TITLE = "OE Python Template"
|
|
21
22
|
HELLO_WORLD_EXAMPLE = "Hello, world!"
|
|
22
23
|
UVICORN_HOST = os.environ.get("UVICORN_HOST", "127.0.0.1")
|
|
23
24
|
UVICORN_PORT = os.environ.get("UVICORN_PORT", "8000")
|
|
@@ -43,7 +44,7 @@ def get_service() -> Generator[Service, None, None]:
|
|
|
43
44
|
|
|
44
45
|
api = FastAPI(
|
|
45
46
|
root_path="/api",
|
|
46
|
-
title=
|
|
47
|
+
title=TITLE,
|
|
47
48
|
contact={
|
|
48
49
|
"name": CONTACT_NAME,
|
|
49
50
|
"email": CONTACT_EMAIL,
|
|
@@ -72,7 +73,7 @@ api = FastAPI(
|
|
|
72
73
|
|
|
73
74
|
api_v1 = FastAPI(
|
|
74
75
|
version="1.0.0",
|
|
75
|
-
title=
|
|
76
|
+
title=TITLE,
|
|
76
77
|
contact={
|
|
77
78
|
"name": CONTACT_NAME,
|
|
78
79
|
"email": CONTACT_EMAIL,
|
|
@@ -83,7 +84,7 @@ api_v1 = FastAPI(
|
|
|
83
84
|
|
|
84
85
|
api_v2 = FastAPI(
|
|
85
86
|
version="2.0.0",
|
|
86
|
-
title=
|
|
87
|
+
title=TITLE,
|
|
87
88
|
contact={
|
|
88
89
|
"name": CONTACT_NAME,
|
|
89
90
|
"email": CONTACT_EMAIL,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.14
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
oe_python_template/__init__.py,sha256=XJAycUgDI2K8T0jVcXbaGfx2UAQJZbYcvJ_SYSqFyDA,315
|
|
2
|
-
oe_python_template/api.py,sha256
|
|
2
|
+
oe_python_template/api.py,sha256=-7d4cLPHmdLZSkzu6UOaCp9hUO0Aq8MNq8uEZuiW9Y4,6259
|
|
3
3
|
oe_python_template/cli.py,sha256=jvIPeJzx9esff7-M5pBe2R3vvmpxRvxKIre1VOGndls,3426
|
|
4
4
|
oe_python_template/constants.py,sha256=Z1c06l5DeRuFxYVLHihHHTYvr8_Qh0nyzVKOe5X3ZNs,350
|
|
5
5
|
oe_python_template/service.py,sha256=Gd-B9IIZ1vB1uONVJHA65hPnfeYeKUIcnU3rZbU2lGs,744
|
|
6
|
-
oe_python_template-0.6.
|
|
7
|
-
oe_python_template-0.6.
|
|
8
|
-
oe_python_template-0.6.
|
|
9
|
-
oe_python_template-0.6.
|
|
10
|
-
oe_python_template-0.6.
|
|
6
|
+
oe_python_template-0.6.14.dist-info/METADATA,sha256=Rxz1yXrj8hlsX8-fRa_vI7-ak_zU32S2eiMTTIDbAjU,21890
|
|
7
|
+
oe_python_template-0.6.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
oe_python_template-0.6.14.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
9
|
+
oe_python_template-0.6.14.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
10
|
+
oe_python_template-0.6.14.dist-info/RECORD,,
|
|
File without changes
|
{oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{oe_python_template-0.6.12.dist-info → oe_python_template-0.6.14.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|