oe-python-template 0.2.2__py3-none-any.whl → 0.2.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/__init__.py +2 -1
- oe_python_template/cli.py +1 -1
- oe_python_template/service.py +1 -3
- {oe_python_template-0.2.2.dist-info → oe_python_template-0.2.4.dist-info}/METADATA +10 -6
- oe_python_template-0.2.4.dist-info/RECORD +9 -0
- oe_python_template-0.2.2.dist-info/RECORD +0 -9
- {oe_python_template-0.2.2.dist-info → oe_python_template-0.2.4.dist-info}/WHEEL +0 -0
- {oe_python_template-0.2.2.dist-info → oe_python_template-0.2.4.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.2.2.dist-info → oe_python_template-0.2.4.dist-info}/licenses/LICENSE +0 -0
oe_python_template/__init__.py
CHANGED
oe_python_template/cli.py
CHANGED
oe_python_template/service.py
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"""Service of OE Python Template."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
-
|
|
5
4
|
from dotenv import load_dotenv
|
|
6
5
|
|
|
7
6
|
load_dotenv()
|
|
8
|
-
THE_VAR = os.getenv("THE_VAR",
|
|
9
|
-
|
|
7
|
+
THE_VAR = os.getenv("THE_VAR","not defined")
|
|
10
8
|
|
|
11
9
|
class Service:
|
|
12
10
|
"""Service of OE Python Template."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.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/
|
|
@@ -52,6 +52,7 @@ Requires-Dist: pydantic>=2.10.6
|
|
|
52
52
|
Requires-Dist: python-dotenv>=1.0.1
|
|
53
53
|
Requires-Dist: typer>=0.15.1
|
|
54
54
|
Provides-Extra: examples
|
|
55
|
+
Requires-Dist: jinja2>=3.1.6; extra == 'examples'
|
|
55
56
|
Requires-Dist: jupyter>=1.1.1; extra == 'examples'
|
|
56
57
|
Requires-Dist: marimo>=0.11.13; extra == 'examples'
|
|
57
58
|
Requires-Dist: streamlit>=1.42.2; extra == 'examples'
|
|
@@ -78,6 +79,9 @@ Description-Content-Type: text/markdown
|
|
|
78
79
|
[](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
|
|
79
80
|
[](https://hub.docker.com/r/helmuthva/oe-python-template/)
|
|
80
81
|
[](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template)
|
|
82
|
+
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template)
|
|
83
|
+
[](https://github.com/codespaces/new/helmut-hoffer-von-ankershoffen/oe-python-template)
|
|
84
|
+
|
|
81
85
|
<!---
|
|
82
86
|
[](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/pkgs/container/oe-python-template)
|
|
83
87
|
[](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/pkgs/container/oe-python-template)
|
|
@@ -116,7 +120,7 @@ uv tool install copier # Install copier as global
|
|
|
116
120
|
Step 2: Now create an empty repo on GitHub and clone it to your local machine in a directory of your choice. Change to that directory.
|
|
117
121
|
|
|
118
122
|
Step 3: Scaffold the project
|
|
119
|
-
```shell
|
|
123
|
+
```shell
|
|
120
124
|
copier copy gh:helmut-hoffer-von-ankershoffen/oe-python-template .
|
|
121
125
|
```
|
|
122
126
|
Step 4: Setup the local environment
|
|
@@ -131,19 +135,19 @@ git add .
|
|
|
131
135
|
git commit -m "feat: Initial commit"
|
|
132
136
|
```
|
|
133
137
|
|
|
134
|
-
Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
|
|
138
|
+
Visit your GitHub repository and check the Actions tab. The CI workflow should fail at the SonarQube step,
|
|
135
139
|
as this external service is not yet configured for our new repository.
|
|
136
140
|
|
|
137
|
-
Step 6: Follow the instructions in SERVICE_CONNECTIONS.md to setup the connections to external services
|
|
141
|
+
Step 6: Follow the instructions in SERVICE_CONNECTIONS.md to setup the connections to external services
|
|
138
142
|
such as Cloudcov, SonarQube Cloud, Read The Docs, Docker.io, GHCR.io and Streamlit Community Cloud.
|
|
139
143
|
|
|
140
144
|
Step 7: Release the first versions
|
|
141
145
|
```shell
|
|
142
146
|
./bump
|
|
143
147
|
```
|
|
144
|
-
Notes:
|
|
148
|
+
Notes:
|
|
145
149
|
* You can remove this section post having successfully scafolded your project.
|
|
146
|
-
* The following sections refer to the dummy application and service provided by this template.
|
|
150
|
+
* The following sections refer to the dummy application and service provided by this template.
|
|
147
151
|
Use them as inspiration and adapt them to your own project.
|
|
148
152
|
|
|
149
153
|
## Overview
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
oe_python_template/__init__.py,sha256=Fnde1pSaMfYkaxltxJhP0d4G5o314EmKJThX08th754,316
|
|
2
|
+
oe_python_template/cli.py,sha256=JE64lWrsnUEZFLSIuehjDAScTJkBEKlqubaXjlJJcWU,1319
|
|
3
|
+
oe_python_template/constants.py,sha256=Z1c06l5DeRuFxYVLHihHHTYvr8_Qh0nyzVKOe5X3ZNs,350
|
|
4
|
+
oe_python_template/service.py,sha256=3sXzBoJTZQ2jIsdUfvZSIj47INJmLklfnUBvQC3Wm0o,497
|
|
5
|
+
oe_python_template-0.2.4.dist-info/METADATA,sha256=PK9FWmepOMhaSzCqGu8zT2hBucvVKuD2CjIr63JTWsk,18881
|
|
6
|
+
oe_python_template-0.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
oe_python_template-0.2.4.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
8
|
+
oe_python_template-0.2.4.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
9
|
+
oe_python_template-0.2.4.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
oe_python_template/__init__.py,sha256=XJAycUgDI2K8T0jVcXbaGfx2UAQJZbYcvJ_SYSqFyDA,315
|
|
2
|
-
oe_python_template/cli.py,sha256=5tUw70ffHL-ot0rM7g6BmsVhn9IKBQXwbWU0-n9-wb4,1319
|
|
3
|
-
oe_python_template/constants.py,sha256=Z1c06l5DeRuFxYVLHihHHTYvr8_Qh0nyzVKOe5X3ZNs,350
|
|
4
|
-
oe_python_template/service.py,sha256=p59ch0g81LpsRvL-m-vLPuk0Rf6EYsZfZJ_OCA9vWzQ,500
|
|
5
|
-
oe_python_template-0.2.2.dist-info/METADATA,sha256=5_3hlgmfrqMEca6iYd8Me9NhaEhz6MxpcW6CF6CvR4o,18088
|
|
6
|
-
oe_python_template-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
oe_python_template-0.2.2.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
8
|
-
oe_python_template-0.2.2.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
9
|
-
oe_python_template-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|