oe-python-template 0.6.2__py3-none-any.whl → 0.6.5__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 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": "Helmut Hoffer von Ankershoffen",
45
- "email": "helmuthva@gmail.com",
46
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
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": "Helmut Hoffer von Ankershoffen",
74
- "email": "helmuthva@gmail.com",
75
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
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": "Helmut Hoffer von Ankershoffen",
85
- "email": "helmuthva@gmail.com",
86
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
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.2
3
+ Version: 0.6.5
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 .
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=UMdq-jiLUAAuhJlbwAA3SPeQ0TotBWnIoRfi8-563yE,6351
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.2.dist-info/METADATA,sha256=ps3n3-r2oCCFNkT0wQ16nqIEDOHn7c3FlGTIOntNiDc,21889
7
- oe_python_template-0.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- oe_python_template-0.6.2.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
9
- oe_python_template-0.6.2.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
- oe_python_template-0.6.2.dist-info/RECORD,,
6
+ oe_python_template-0.6.5.dist-info/METADATA,sha256=TLlUUQhwZMa_fN9B5PdHSacHMskSUfE5t_pUQ0AHf3c,21889
7
+ oe_python_template-0.6.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ oe_python_template-0.6.5.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
9
+ oe_python_template-0.6.5.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
+ oe_python_template-0.6.5.dist-info/RECORD,,