oe-python-template-example 0.2.17__tar.gz → 0.3.1__tar.gz
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_example-0.2.17 → oe_python_template_example-0.3.1}/PKG-INFO +15 -12
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/README.md +14 -11
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/pyproject.toml +3 -2
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/.gitignore +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/LICENSE +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/__init__.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/api.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/cli.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/constants.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/models.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/service.py +0 -0
- {oe_python_template_example-0.2.17 → oe_python_template_example-0.3.1}/src/oe_python_template_example/settings.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oe-python-template-example
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.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/
|
@@ -132,8 +132,8 @@ Projects generated with this template come with a comprehensive development tool
|
|
132
132
|
13. Software Bill of Materials (SBOM) generated in [CycloneDX](https://cyclonedx.org/) and [SPDX](https://spdx.dev/) formats with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) resp. [trivy](https://trivy.dev/latest/), published as release artifacts
|
133
133
|
14. Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
|
134
134
|
15. Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
|
135
|
-
16. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and
|
136
|
-
17. Documentation published to [Read The Docs](https://readthedocs.org/)
|
135
|
+
16. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation for the library, CLI, and API
|
136
|
+
17. Documentation published to [Read The Docs](https://readthedocs.org/) including generation of PDF and single page HTML versions
|
137
137
|
18. Interactive OpenAPI specification with [Swagger](https://swagger.io/)
|
138
138
|
19. Python package published to [PyPI](https://pypi.org/)
|
139
139
|
20. Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
|
@@ -250,7 +250,7 @@ This project is designed with operational excellence in mind, using modern Pytho
|
|
250
250
|
a. [Simple Python script](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py)
|
251
251
|
b. [Streamlit web application](https://oe-python-template-example.streamlit.app/) deployed on [Streamlit Community Cloud](https://streamlit.io/cloud)
|
252
252
|
c. [Jupyter](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/notebook.ipynb) and [Marimo](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/notebook.py) notebook
|
253
|
-
2.
|
253
|
+
2. Complete reference documentation [for the library](https://oe-python-template-example.readthedocs.io/en/latest/lib_reference.html), [for the CLI](https://oe-python-template-example.readthedocs.io/en/latest/cli_reference.html) and [for the API](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) on Read the Docs
|
254
254
|
3. [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example) including unit and E2E tests (reported on Codecov)
|
255
255
|
4. Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
|
256
256
|
5. Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
|
@@ -286,19 +286,16 @@ message = Service.get_hello_world()
|
|
286
286
|
console.print(f"[blue]{message}[/blue]")
|
287
287
|
```
|
288
288
|
|
289
|
-
[Show script code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py) -
|
290
|
-
|
289
|
+
[Show script code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py) - [Read the reference documentation](https://oe-python-template-example.readthedocs.io/en/latest/lib_reference.html)
|
290
|
+
|
291
291
|
|
292
292
|
### Streamlit App
|
293
293
|
|
294
|
-
Serve the functionality provided by OE Python Template Example in the web by
|
295
|
-
easily integrating the service into a Streamlit application.
|
294
|
+
Serve the functionality provided by OE Python Template Example in the web by easily integrating the service into a Streamlit application.
|
296
295
|
|
297
|
-
[Try it out!](https://oe-python-template-example.streamlit.app) -
|
298
|
-
[Show the code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/streamlit.py)
|
296
|
+
[Try it out!](https://oe-python-template-example.streamlit.app) - [Show the code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/streamlit.py)
|
299
297
|
|
300
298
|
... or serve the app locally
|
301
|
-
|
302
299
|
```shell
|
303
300
|
uv sync --all-extras # Install streamlit dependency part of the examples extra, see pyproject.toml
|
304
301
|
uv run streamlit run examples/streamlit.py # Serve on localhost:8501, opens browser
|
@@ -374,6 +371,9 @@ uvx oe-python-template-example openapi --output-format=json
|
|
374
371
|
uvx oe-python-template-example serve
|
375
372
|
```
|
376
373
|
|
374
|
+
See the [reference documentation of the CLI](https://oe-python-template-example.readthedocs.io/en/latest/cli_reference.html) for detailed documentation of all CLI commands and options.
|
375
|
+
|
376
|
+
|
377
377
|
### Environment
|
378
378
|
|
379
379
|
The service loads environment variables including support for .env files.
|
@@ -444,6 +444,9 @@ echo "Shutting down the API container ..."
|
|
444
444
|
docker compose down
|
445
445
|
```
|
446
446
|
|
447
|
+
* See the [reference documentation of the API](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) for detailed documentation of all API operations and parameters.
|
448
|
+
|
449
|
+
|
447
450
|
## Extra: Lorem Ipsum
|
448
451
|
|
449
452
|
Nothing yet
|
@@ -457,7 +460,7 @@ Nothing yet
|
|
457
460
|
* Check out the [API Reference](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) with detailed documentation of all API operations and parameters.
|
458
461
|
* Our [release notes](https://oe-python-template-example.readthedocs.io/en/latest/release-notes.html) provide a complete log of recent improvements and changes.
|
459
462
|
* In case you want to help us improve 🧠 OE Python Template Example: The [contribution guidelines](https://oe-python-template-example.readthedocs.io/en/latest/contributing.html) explain how to setup your development environment and create pull requests.
|
460
|
-
* We gratefully acknowledge the [open source projects](
|
463
|
+
* We gratefully acknowledge the [open source projects](https://oe-python-template-example.readthedocs.io/en/latest/attributions.html) that this project builds upon. Thank you to all these wonderful contributors!
|
461
464
|
|
462
465
|
## Star History
|
463
466
|
|
@@ -71,8 +71,8 @@ Projects generated with this template come with a comprehensive development tool
|
|
71
71
|
13. Software Bill of Materials (SBOM) generated in [CycloneDX](https://cyclonedx.org/) and [SPDX](https://spdx.dev/) formats with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) resp. [trivy](https://trivy.dev/latest/), published as release artifacts
|
72
72
|
14. Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
|
73
73
|
15. Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
|
74
|
-
16. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and
|
75
|
-
17. Documentation published to [Read The Docs](https://readthedocs.org/)
|
74
|
+
16. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation for the library, CLI, and API
|
75
|
+
17. Documentation published to [Read The Docs](https://readthedocs.org/) including generation of PDF and single page HTML versions
|
76
76
|
18. Interactive OpenAPI specification with [Swagger](https://swagger.io/)
|
77
77
|
19. Python package published to [PyPI](https://pypi.org/)
|
78
78
|
20. Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
|
@@ -189,7 +189,7 @@ This project is designed with operational excellence in mind, using modern Pytho
|
|
189
189
|
a. [Simple Python script](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py)
|
190
190
|
b. [Streamlit web application](https://oe-python-template-example.streamlit.app/) deployed on [Streamlit Community Cloud](https://streamlit.io/cloud)
|
191
191
|
c. [Jupyter](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/notebook.ipynb) and [Marimo](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/notebook.py) notebook
|
192
|
-
2.
|
192
|
+
2. Complete reference documentation [for the library](https://oe-python-template-example.readthedocs.io/en/latest/lib_reference.html), [for the CLI](https://oe-python-template-example.readthedocs.io/en/latest/cli_reference.html) and [for the API](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) on Read the Docs
|
193
193
|
3. [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template-example) including unit and E2E tests (reported on Codecov)
|
194
194
|
4. Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
|
195
195
|
5. Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
|
@@ -225,19 +225,16 @@ message = Service.get_hello_world()
|
|
225
225
|
console.print(f"[blue]{message}[/blue]")
|
226
226
|
```
|
227
227
|
|
228
|
-
[Show script code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py) -
|
229
|
-
|
228
|
+
[Show script code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/script.py) - [Read the reference documentation](https://oe-python-template-example.readthedocs.io/en/latest/lib_reference.html)
|
229
|
+
|
230
230
|
|
231
231
|
### Streamlit App
|
232
232
|
|
233
|
-
Serve the functionality provided by OE Python Template Example in the web by
|
234
|
-
easily integrating the service into a Streamlit application.
|
233
|
+
Serve the functionality provided by OE Python Template Example in the web by easily integrating the service into a Streamlit application.
|
235
234
|
|
236
|
-
[Try it out!](https://oe-python-template-example.streamlit.app) -
|
237
|
-
[Show the code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/streamlit.py)
|
235
|
+
[Try it out!](https://oe-python-template-example.streamlit.app) - [Show the code](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example/blob/main/examples/streamlit.py)
|
238
236
|
|
239
237
|
... or serve the app locally
|
240
|
-
|
241
238
|
```shell
|
242
239
|
uv sync --all-extras # Install streamlit dependency part of the examples extra, see pyproject.toml
|
243
240
|
uv run streamlit run examples/streamlit.py # Serve on localhost:8501, opens browser
|
@@ -313,6 +310,9 @@ uvx oe-python-template-example openapi --output-format=json
|
|
313
310
|
uvx oe-python-template-example serve
|
314
311
|
```
|
315
312
|
|
313
|
+
See the [reference documentation of the CLI](https://oe-python-template-example.readthedocs.io/en/latest/cli_reference.html) for detailed documentation of all CLI commands and options.
|
314
|
+
|
315
|
+
|
316
316
|
### Environment
|
317
317
|
|
318
318
|
The service loads environment variables including support for .env files.
|
@@ -383,6 +383,9 @@ echo "Shutting down the API container ..."
|
|
383
383
|
docker compose down
|
384
384
|
```
|
385
385
|
|
386
|
+
* See the [reference documentation of the API](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) for detailed documentation of all API operations and parameters.
|
387
|
+
|
388
|
+
|
386
389
|
## Extra: Lorem Ipsum
|
387
390
|
|
388
391
|
Nothing yet
|
@@ -396,7 +399,7 @@ Nothing yet
|
|
396
399
|
* Check out the [API Reference](https://oe-python-template-example.readthedocs.io/en/latest/api_reference_v1.html) with detailed documentation of all API operations and parameters.
|
397
400
|
* Our [release notes](https://oe-python-template-example.readthedocs.io/en/latest/release-notes.html) provide a complete log of recent improvements and changes.
|
398
401
|
* In case you want to help us improve 🧠 OE Python Template Example: The [contribution guidelines](https://oe-python-template-example.readthedocs.io/en/latest/contributing.html) explain how to setup your development environment and create pull requests.
|
399
|
-
* We gratefully acknowledge the [open source projects](
|
402
|
+
* We gratefully acknowledge the [open source projects](https://oe-python-template-example.readthedocs.io/en/latest/attributions.html) that this project builds upon. Thank you to all these wonderful contributors!
|
400
403
|
|
401
404
|
## Star History
|
402
405
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "oe-python-template-example"
|
3
|
-
version = "0.
|
3
|
+
version = "0.3.1"
|
4
4
|
description = "🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template)."
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [
|
@@ -245,6 +245,7 @@ markers = [
|
|
245
245
|
"no_extras: tests that do require no extras installed",
|
246
246
|
"scheduled: tests to run on a schedule",
|
247
247
|
"sequential: exclude from parallel test execution",
|
248
|
+
"skip_with_act: don't run with act",
|
248
249
|
# Custom
|
249
250
|
# Nothing yet
|
250
251
|
]
|
@@ -263,7 +264,7 @@ source = ["src/"]
|
|
263
264
|
|
264
265
|
|
265
266
|
[tool.bumpversion]
|
266
|
-
current_version = "0.
|
267
|
+
current_version = "0.3.1"
|
267
268
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
268
269
|
serialize = ["{major}.{minor}.{patch}"]
|
269
270
|
search = "{current_version}"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|