oe-python-template 0.15.1__tar.gz → 0.15.3__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-0.15.1 → oe_python_template-0.15.3}/PKG-INFO +4 -4
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/pyproject.toml +5 -5
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_log.py +4 -1
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/.gitignore +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/LICENSE +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/README.md +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/__init__.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_api.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_cli.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_constants.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_gui.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_models.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_service.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_settings.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/__init__.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_api.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_cli.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_gui.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_service.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_settings.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/.vendored/bottle.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/__init__.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_api.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_cli.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_console.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_constants.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_di.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_gui.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_health.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_logfire.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_notebook.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_process.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_sentry.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_service.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_settings.py +0 -0
- {oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/boot.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oe-python-template
|
3
|
-
Version: 0.15.
|
3
|
+
Version: 0.15.3
|
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/
|
@@ -49,7 +49,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
49
49
|
Classifier: Typing :: Typed
|
50
50
|
Requires-Python: <4.0,>=3.11
|
51
51
|
Requires-Dist: fastapi[all,standard]>=0.115.12
|
52
|
-
Requires-Dist: logfire[system-metrics]>=3.
|
52
|
+
Requires-Dist: logfire[system-metrics]>=3.14.1
|
53
53
|
Requires-Dist: nicegui[native]>=2.15.0
|
54
54
|
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.53b0
|
55
55
|
Requires-Dist: opentelemetry-instrumentation-httpx>=0.53b0
|
@@ -61,13 +61,13 @@ Requires-Dist: opentelemetry-instrumentation-urllib3>=0.53b0
|
|
61
61
|
Requires-Dist: opentelemetry-instrumentation-urllib>=0.53b0
|
62
62
|
Requires-Dist: psutil>=7.0.0
|
63
63
|
Requires-Dist: pydantic-settings>=2.9.1
|
64
|
-
Requires-Dist: sentry-sdk>=2.
|
64
|
+
Requires-Dist: sentry-sdk>=2.27.0
|
65
65
|
Requires-Dist: typer>=0.15.1
|
66
66
|
Requires-Dist: uptime>=3.0.1
|
67
67
|
Provides-Extra: examples
|
68
68
|
Requires-Dist: jinja2>=3.1.6; extra == 'examples'
|
69
69
|
Requires-Dist: jupyter>=1.1.1; extra == 'examples'
|
70
|
-
Requires-Dist: marimo>=0.13.
|
70
|
+
Requires-Dist: marimo>=0.13.1; extra == 'examples'
|
71
71
|
Requires-Dist: matplotlib>=3.10.1; extra == 'examples'
|
72
72
|
Requires-Dist: streamlit>=1.44.1; extra == 'examples'
|
73
73
|
Description-Content-Type: text/markdown
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "oe-python-template"
|
3
|
-
version = "0.15.
|
3
|
+
version = "0.15.3"
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [{ name = "Helmut Hoffer von Ankershoffen", email = "helmuthva@gmail.com" }]
|
@@ -62,7 +62,7 @@ requires-python = ">=3.11, <4.0"
|
|
62
62
|
dependencies = [
|
63
63
|
# From Template
|
64
64
|
"fastapi[standard,all]>=0.115.12",
|
65
|
-
"logfire[system-metrics]>=3.
|
65
|
+
"logfire[system-metrics]>=3.14.1",
|
66
66
|
"nicegui[native]>=2.15.0",
|
67
67
|
"opentelemetry-instrumentation-fastapi>=0.53b0",
|
68
68
|
"opentelemetry-instrumentation-httpx>=0.53b0",
|
@@ -74,7 +74,7 @@ dependencies = [
|
|
74
74
|
"opentelemetry-instrumentation-urllib3>=0.53b0",
|
75
75
|
"psutil>=7.0.0",
|
76
76
|
"pydantic-settings>=2.9.1",
|
77
|
-
"sentry-sdk>=2.
|
77
|
+
"sentry-sdk>=2.27.0",
|
78
78
|
"typer>=0.15.1",
|
79
79
|
"uptime>=3.0.1",
|
80
80
|
# Custom
|
@@ -83,7 +83,7 @@ dependencies = [
|
|
83
83
|
|
84
84
|
[project.optional-dependencies]
|
85
85
|
examples = [
|
86
|
-
"marimo>=0.13.
|
86
|
+
"marimo>=0.13.1",
|
87
87
|
"matplotlib>=3.10.1",
|
88
88
|
"jinja2>=3.1.6",
|
89
89
|
"jupyter>=1.1.1",
|
@@ -280,7 +280,7 @@ source = ["src/"]
|
|
280
280
|
|
281
281
|
|
282
282
|
[tool.bumpversion]
|
283
|
-
current_version = "0.15.
|
283
|
+
current_version = "0.15.3"
|
284
284
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
285
285
|
serialize = ["{major}.{minor}.{patch}"]
|
286
286
|
search = "{current_version}"
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_log.py
RENAMED
@@ -1,5 +1,6 @@
|
|
1
1
|
"""Logging configuration and utilities."""
|
2
2
|
|
3
|
+
import contextlib
|
3
4
|
import logging as python_logging
|
4
5
|
import os
|
5
6
|
import typing as t
|
@@ -63,11 +64,13 @@ def _validate_file_name(file_name: str | None) -> str | None:
|
|
63
64
|
else:
|
64
65
|
try:
|
65
66
|
file_path.touch(exist_ok=True)
|
66
|
-
file_path.unlink()
|
67
67
|
except OSError as e:
|
68
68
|
message = f"File {file_path.absolute()} cannot be created: {e}"
|
69
69
|
raise ValueError(message) from e
|
70
70
|
|
71
|
+
with contextlib.suppress(OSError): # Parallel execution e.g. in tests can create race
|
72
|
+
file_path.unlink()
|
73
|
+
|
71
74
|
return file_name
|
72
75
|
|
73
76
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_api.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_constants.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_models.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_service.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/hello/_settings.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_api.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_service.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/system/_settings.py
RENAMED
File without changes
|
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_api.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_console.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_constants.py
RENAMED
File without changes
|
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_health.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_logfire.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_notebook.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_process.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_sentry.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_service.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/_settings.py
RENAMED
File without changes
|
{oe_python_template-0.15.1 → oe_python_template-0.15.3}/src/oe_python_template/utils/boot.py
RENAMED
File without changes
|