oe-python-template 0.6.21__py3-none-any.whl → 0.6.22__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-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/METADATA +21 -10
- {oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/RECORD +5 -5
- {oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/WHEEL +0 -0
- {oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.22
|
|
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/
|
|
@@ -104,9 +104,19 @@ Description-Content-Type: text/markdown
|
|
|
104
104
|
Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
105
105
|
|
|
106
106
|
Use Cases:
|
|
107
|
-
1) Fast and easy
|
|
108
|
-
2)
|
|
109
|
-
3)
|
|
107
|
+
1) Fast and easy generation of Python projects from this template
|
|
108
|
+
2) Seamless updates of projects when improvements to the template are released
|
|
109
|
+
3) Generates a fully-functional Python package with test and build automation featuring
|
|
110
|
+
- Service architecture suiteable for use as shared library
|
|
111
|
+
- Command-line interface (CLI)
|
|
112
|
+
- Versioned Web API
|
|
113
|
+
- Integration examples with Notebooks and Dashboards
|
|
114
|
+
- Complete developer-tooling with formatting, linting, type checking etc.
|
|
115
|
+
- CI/CD pipeline for GitHub, PyPI, and Docker registries
|
|
116
|
+
- Unit and E2E tests including parallel and matrix-testing
|
|
117
|
+
- Release artifacts include SBOM, license information, and test coverage
|
|
118
|
+
- Auto-generated documentation published to Read The Docs
|
|
119
|
+
- Service integrations monitoring code quality, dependencies, and security
|
|
110
120
|
|
|
111
121
|
## Scaffolding
|
|
112
122
|
|
|
@@ -157,7 +167,7 @@ Notes:
|
|
|
157
167
|
|
|
158
168
|
## Overview
|
|
159
169
|
|
|
160
|
-
Adding OE Python Template to your project as a dependency is easy.
|
|
170
|
+
Adding OE Python Template to your project as a dependency is easy. See below for usage examples.
|
|
161
171
|
|
|
162
172
|
```shell
|
|
163
173
|
uv add oe-python-template # add dependency to your project
|
|
@@ -165,6 +175,7 @@ uv add oe-python-template # add dependency to your project
|
|
|
165
175
|
|
|
166
176
|
If you don't have uv installed follow [these instructions](https://docs.astral.sh/uv/getting-started/installation/). If you still prefer pip over the modern and fast package manager [uv](https://github.com/astral-sh/uv), you can install the library like this:
|
|
167
177
|
|
|
178
|
+
|
|
168
179
|
```shell
|
|
169
180
|
pip install oe-python-template # add dependency to your project
|
|
170
181
|
```
|
|
@@ -172,14 +183,14 @@ pip install oe-python-template # add dependency to your project
|
|
|
172
183
|
Executing the command line interface (CLI) in an isolated Python environment is just as easy:
|
|
173
184
|
|
|
174
185
|
```shell
|
|
175
|
-
uvx oe-python-template hello-world
|
|
176
|
-
uvx oe-python-template serve
|
|
177
|
-
uvx oe-python-template serve --port=4711 # serves
|
|
186
|
+
uvx oe-python-template hello-world # prints "Hello, world! [..]"
|
|
187
|
+
uvx oe-python-template serve # serves web API
|
|
188
|
+
uvx oe-python-template serve --port=4711 # serves web API on port 4711
|
|
178
189
|
```
|
|
179
190
|
|
|
180
191
|
Notes:
|
|
181
192
|
* The API is versioned, mounted at `/api/v1` resp. `/api/v2`
|
|
182
|
-
* While serving the
|
|
193
|
+
* While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
|
|
183
194
|
* Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
|
|
184
195
|
|
|
185
196
|
|
|
@@ -217,7 +228,7 @@ This project is designed with operational excellence in mind, using modern Pytho
|
|
|
217
228
|
|
|
218
229
|
## Usage Examples
|
|
219
230
|
|
|
220
|
-
The following examples run from source
|
|
231
|
+
The following examples run from source - clone this repository using
|
|
221
232
|
`git clone git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git`.
|
|
222
233
|
|
|
223
234
|
### Minimal Python Script:
|
|
@@ -3,8 +3,8 @@ oe_python_template/api.py,sha256=-7d4cLPHmdLZSkzu6UOaCp9hUO0Aq8MNq8uEZuiW9Y4,625
|
|
|
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.
|
|
7
|
-
oe_python_template-0.6.
|
|
8
|
-
oe_python_template-0.6.
|
|
9
|
-
oe_python_template-0.6.
|
|
10
|
-
oe_python_template-0.6.
|
|
6
|
+
oe_python_template-0.6.22.dist-info/METADATA,sha256=wxHhwDOGwkJha3y5SB5fd-QizmJUNiVTAWl2v8BAo14,22571
|
|
7
|
+
oe_python_template-0.6.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
oe_python_template-0.6.22.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
9
|
+
oe_python_template-0.6.22.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
10
|
+
oe_python_template-0.6.22.dist-info/RECORD,,
|
|
File without changes
|
{oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{oe_python_template-0.6.21.dist-info → oe_python_template-0.6.22.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|