oe-python-template 0.6.2__py3-none-any.whl → 0.6.4__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 +12 -9
- {oe_python_template-0.6.2.dist-info → oe_python_template-0.6.4.dist-info}/METADATA +2 -2
- {oe_python_template-0.6.2.dist-info → oe_python_template-0.6.4.dist-info}/RECORD +6 -6
- {oe_python_template-0.6.2.dist-info → oe_python_template-0.6.4.dist-info}/WHEEL +0 -0
- {oe_python_template-0.6.2.dist-info → oe_python_template-0.6.4.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.6.2.dist-info → oe_python_template-0.6.4.dist-info}/licenses/LICENSE +0 -0
oe_python_template/api.py
CHANGED
|
@@ -21,6 +21,9 @@ from oe_python_template import Service
|
|
|
21
21
|
HELLO_WORLD_EXAMPLE = "Hello, world!"
|
|
22
22
|
UVICORN_HOST = os.environ.get("UVICORN_HOST", "127.0.0.1")
|
|
23
23
|
UVICORN_PORT = os.environ.get("UVICORN_PORT", "8000")
|
|
24
|
+
CONTACT_NAME = "Helmut Hoffer von Ankershoffen"
|
|
25
|
+
CONTACT_EMAIL = "helmuthva@gmail.com"
|
|
26
|
+
CONTACT_URL = "https://github.com/helmut-hoffer-von-ankershoffen"
|
|
24
27
|
|
|
25
28
|
|
|
26
29
|
def get_service() -> Generator[Service, None, None]:
|
|
@@ -41,9 +44,9 @@ api = FastAPI(
|
|
|
41
44
|
root_path="/api",
|
|
42
45
|
title="OE Python Template",
|
|
43
46
|
contact={
|
|
44
|
-
"name":
|
|
45
|
-
"email":
|
|
46
|
-
"url":
|
|
47
|
+
"name": CONTACT_NAME,
|
|
48
|
+
"email": CONTACT_EMAIL,
|
|
49
|
+
"url": CONTACT_URL,
|
|
47
50
|
},
|
|
48
51
|
terms_of_service="https://oe-python-template.readthedocs.io/en/latest/",
|
|
49
52
|
openapi_tags=[
|
|
@@ -70,9 +73,9 @@ api_v1 = FastAPI(
|
|
|
70
73
|
version="1.0.0",
|
|
71
74
|
title="OE Python Template",
|
|
72
75
|
contact={
|
|
73
|
-
"name":
|
|
74
|
-
"email":
|
|
75
|
-
"url":
|
|
76
|
+
"name": CONTACT_NAME,
|
|
77
|
+
"email": CONTACT_EMAIL,
|
|
78
|
+
"url": CONTACT_URL,
|
|
76
79
|
},
|
|
77
80
|
terms_of_service="https://oe-python-template.readthedocs.io/en/latest/",
|
|
78
81
|
)
|
|
@@ -81,9 +84,9 @@ api_v2 = FastAPI(
|
|
|
81
84
|
version="2.0.0",
|
|
82
85
|
title="OE Python Template",
|
|
83
86
|
contact={
|
|
84
|
-
"name":
|
|
85
|
-
"email":
|
|
86
|
-
"url":
|
|
87
|
+
"name": CONTACT_NAME,
|
|
88
|
+
"email": CONTACT_EMAIL,
|
|
89
|
+
"url": CONTACT_URL,
|
|
87
90
|
},
|
|
88
91
|
terms_of_service="https://oe-python-template.readthedocs.io/en/latest/",
|
|
89
92
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.4
|
|
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/
|
|
@@ -130,7 +130,7 @@ uv tool install copier # Install copier as global
|
|
|
130
130
|
|
|
131
131
|
**Step 3**: Scaffold the project
|
|
132
132
|
```shell
|
|
133
|
-
copier copy gh:helmut-hoffer-von-ankershoffen/oe-python-template . --trust
|
|
133
|
+
copier copy --trust gh:helmut-hoffer-von-ankershoffen/oe-python-template . --trust
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
**Step 4**: Perform initial commit and push
|
|
@@ -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=L_kEmIhSG9YeRN7wHw-JjrP_3X8pFNWxdpu-R50vRUM,6299
|
|
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.4.dist-info/METADATA,sha256=jM7TISr6c0anzpiOzN_TAk-dWYK5qTe8w93Fybna2jg,21897
|
|
7
|
+
oe_python_template-0.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
oe_python_template-0.6.4.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
9
|
+
oe_python_template-0.6.4.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
10
|
+
oe_python_template-0.6.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|