oe-python-template 0.6.1__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 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.1
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,15 +130,10 @@ 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 .
133
+ copier copy --trust gh:helmut-hoffer-von-ankershoffen/oe-python-template . --trust
134
134
  ```
135
- **Step 4**: Setup the local environment
136
135
 
137
- ```shell
138
- uv run nox -s setup_dev
139
- ```
140
-
141
- **Step 5**: Perform initial commit and push
136
+ **Step 4**: Perform initial commit and push
142
137
  ```shell
143
138
  git add .
144
139
  git commit -m "feat: Initial commit"
@@ -148,10 +143,10 @@ git push
148
143
  Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
149
144
  as this external service is not yet configured for our new repository.
150
145
 
151
- **Step 6**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
146
+ **Step 5**: Follow the [instructions](SERVICE_CONNECTIONS.md) to wire up
152
147
  external services such as Cloudcov, SonarQube Cloud, Read The Docs, Docker.io, GHCR.io and Streamlit Community Cloud.
153
148
 
154
- **Step 7**: Release the first versions
149
+ **Step 6**: Release the first versions
155
150
  ```shell
156
151
  ./n bump
157
152
  ```
@@ -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.1.dist-info/METADATA,sha256=k2d6huUOQuiS3PzBZqPs43VD0i4FAFcqjzJpOZqxoAE,21959
7
- oe_python_template-0.6.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- oe_python_template-0.6.1.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
9
- oe_python_template-0.6.1.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
10
- oe_python_template-0.6.1.dist-info/RECORD,,
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,,