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.
@@ -5,11 +5,12 @@ from .constants import (
5
5
  __project_path__,
6
6
  __version__,
7
7
  )
8
+
8
9
  from .service import Service
9
10
 
10
11
  __all__ = [
11
- "Service",
12
12
  "__project_name__",
13
13
  "__project_path__",
14
14
  "__version__",
15
+ "Service",
15
16
  ]
oe_python_template/cli.py CHANGED
@@ -5,7 +5,7 @@ from typing import Annotated
5
5
  import typer
6
6
  from rich.console import Console
7
7
 
8
- from oe_python_template import Service, __version__
8
+ from oe_python_template import __version__, Service
9
9
 
10
10
  console = Console()
11
11
 
@@ -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", "not defined")
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.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
  [![Docker - Version](https://img.shields.io/docker/v/helmuthva/oe-python-template?sort=semver&label=Docker&logo=docker&logoColor=white&labelColor=1354D4&color=10151B)](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
79
80
  [![Docker - Size](https://img.shields.io/docker/image-size/helmuthva/oe-python-templatesort=semver&arch=arm64&label=image&logo=docker&logoColor=white&labelColor=1354D4&color=10151B)](https://hub.docker.com/r/helmuthva/oe-python-template/)
80
81
  [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template)
82
+ [![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE3IDE2VjdsLTYgNU0yIDlWOGwxLTFoMWw0IDMgOC04aDFsNCAyIDEgMXYxNGwtMSAxLTQgMmgtMWwtOC04LTQgM0gzbC0xLTF2LTFsMy0zIi8+PC9zdmc+)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template)
83
+ [![Open in GitHub Codespaces](https://img.shields.io/static/v1?label=GitHub%20Codespaces&message=Open&color=blue&logo=github)](https://github.com/codespaces/new/helmut-hoffer-von-ankershoffen/oe-python-template)
84
+
81
85
  <!---
82
86
  [![ghcr.io - Version](https://ghcr-badge.egpl.dev/helmut-hoffer-von-ankershoffen/oe-python-template/tags?color=%2344cc11&ignore=0.0%2C0%2Clatest&n=3&label=ghcr.io&trim=)](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/pkgs/container/oe-python-template)
83
87
  [![ghcr.io - Sze](https://ghcr-badge.egpl.dev/helmut-hoffer-von-ankershoffen/oe-python-template/size?color=%2344cc11&tag=latest&label=size&trim=)](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,,