oe-python-template-example 0.1.19__py3-none-any.whl → 0.2.1__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.
@@ -21,6 +21,10 @@ from oe_python_template_example 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"
27
+ TERMS_OF_SERVICE_URL = "https://oe-python-template-example.readthedocs.io/en/latest/"
24
28
 
25
29
 
26
30
  def get_service() -> Generator[Service, None, None]:
@@ -41,11 +45,11 @@ api = FastAPI(
41
45
  root_path="/api",
42
46
  title="OE Python Template Example",
43
47
  contact={
44
- "name": "Helmut Hoffer von Ankershoffen",
45
- "email": "helmuthva@gmail.com",
46
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
48
+ "name": CONTACT_NAME,
49
+ "email": CONTACT_EMAIL,
50
+ "url": CONTACT_URL,
47
51
  },
48
- terms_of_service="https://oe-python-template-example.readthedocs.io/en/latest/",
52
+ terms_of_service=TERMS_OF_SERVICE_URL,
49
53
  openapi_tags=[
50
54
  {
51
55
  "name": "v1",
@@ -70,22 +74,22 @@ api_v1 = FastAPI(
70
74
  version="1.0.0",
71
75
  title="OE Python Template Example",
72
76
  contact={
73
- "name": "Helmut Hoffer von Ankershoffen",
74
- "email": "helmuthva@gmail.com",
75
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
77
+ "name": CONTACT_NAME,
78
+ "email": CONTACT_EMAIL,
79
+ "url": CONTACT_URL,
76
80
  },
77
- terms_of_service="https://oe-python-template-example.readthedocs.io/en/latest/",
81
+ terms_of_service=TERMS_OF_SERVICE_URL,
78
82
  )
79
83
 
80
84
  api_v2 = FastAPI(
81
85
  version="2.0.0",
82
86
  title="OE Python Template Example",
83
87
  contact={
84
- "name": "Helmut Hoffer von Ankershoffen",
85
- "email": "helmuthva@gmail.com",
86
- "url": "https://github.com/helmut-hoffer-von-ankershoffen",
88
+ "name": CONTACT_NAME,
89
+ "email": CONTACT_EMAIL,
90
+ "url": CONTACT_URL,
87
91
  },
88
- terms_of_service="https://oe-python-template-example.readthedocs.io/en/latest/",
92
+ terms_of_service=TERMS_OF_SERVICE_URL,
89
93
  )
90
94
 
91
95
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template-example
3
- Version: 0.1.19
3
+ Version: 0.2.1
4
4
  Summary: 🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  Project-URL: Homepage, https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template-example.readthedocs.io/en/latest/
@@ -0,0 +1,10 @@
1
+ oe_python_template_example/__init__.py,sha256=-sCwS9lD6CvgWw88f7snBDF947PWIhEupJVebXL_w1M,314
2
+ oe_python_template_example/api.py,sha256=C5A81a2sm_L5IL8HCE3nf4_nB7MGPomrhOtY19YcXvg,6323
3
+ oe_python_template_example/cli.py,sha256=BHuDCrzYkvJYDdvk06KwkK_sKQx7h7hhRiO0peQMM1s,3474
4
+ oe_python_template_example/constants.py,sha256=6uQHr2CRgzWQWhUQCRRKiPuFhzKB2iblZk3dIRQ5dDc,358
5
+ oe_python_template_example/service.py,sha256=XlCrklSRy8_YaYvlVYiDFPUubHHm-J8BPx2f7_niGG4,760
6
+ oe_python_template_example-0.2.1.dist-info/METADATA,sha256=MVJ6e7dz1mTlny_CQmDFLJWGCnhhx3URMB1dns30Erg,21071
7
+ oe_python_template_example-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ oe_python_template_example-0.2.1.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
9
+ oe_python_template_example-0.2.1.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
+ oe_python_template_example-0.2.1.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- oe_python_template_example/__init__.py,sha256=-sCwS9lD6CvgWw88f7snBDF947PWIhEupJVebXL_w1M,314
2
- oe_python_template_example/api.py,sha256=vN2a10Ph4pffsXBx9TpFe0g39lZOE-5dJat2VhMPszU,6415
3
- oe_python_template_example/cli.py,sha256=BHuDCrzYkvJYDdvk06KwkK_sKQx7h7hhRiO0peQMM1s,3474
4
- oe_python_template_example/constants.py,sha256=6uQHr2CRgzWQWhUQCRRKiPuFhzKB2iblZk3dIRQ5dDc,358
5
- oe_python_template_example/service.py,sha256=XlCrklSRy8_YaYvlVYiDFPUubHHm-J8BPx2f7_niGG4,760
6
- oe_python_template_example-0.1.19.dist-info/METADATA,sha256=qAE06Ivj33B-OOdegAnSg5NoSYY-uh3bfilq87jE-KA,21072
7
- oe_python_template_example-0.1.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- oe_python_template_example-0.1.19.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
9
- oe_python_template_example-0.1.19.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
- oe_python_template_example-0.1.19.dist-info/RECORD,,