oe-python-template 0.17.6__tar.gz → 0.17.8__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.
Files changed (40) hide show
  1. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/PKG-INFO +2 -1
  2. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/pyproject.toml +3 -2
  3. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/_service.py +1 -2
  4. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/.gitignore +0 -0
  5. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/LICENSE +0 -0
  6. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/README.md +0 -0
  7. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/__init__.py +0 -0
  8. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/api.py +0 -0
  9. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/cli.py +0 -0
  10. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/constants.py +0 -0
  11. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/__init__.py +0 -0
  12. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_api.py +0 -0
  13. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_cli.py +0 -0
  14. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_constants.py +0 -0
  15. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_gui.py +0 -0
  16. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_models.py +0 -0
  17. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_service.py +0 -0
  18. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/hello/_settings.py +0 -0
  19. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/__init__.py +0 -0
  20. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/_api.py +0 -0
  21. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/_cli.py +0 -0
  22. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/_gui.py +0 -0
  23. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/system/_settings.py +0 -0
  24. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/.vendored/bottle.py +0 -0
  25. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/__init__.py +0 -0
  26. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_api.py +0 -0
  27. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_cli.py +0 -0
  28. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_console.py +0 -0
  29. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_constants.py +0 -0
  30. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_di.py +0 -0
  31. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_gui.py +0 -0
  32. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_health.py +0 -0
  33. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_log.py +0 -0
  34. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_logfire.py +0 -0
  35. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_notebook.py +0 -0
  36. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_process.py +0 -0
  37. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_sentry.py +0 -0
  38. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_service.py +0 -0
  39. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/src/oe_python_template/utils/_settings.py +0 -0
  40. {oe_python_template-0.17.6 → oe_python_template-0.17.8}/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.17.6
3
+ Version: 0.17.8
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/
@@ -61,6 +61,7 @@ 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: pywin32>=310; sys_platform == 'win32'
64
65
  Requires-Dist: sentry-sdk>=2.27.0
65
66
  Requires-Dist: typer>=0.15.1
66
67
  Requires-Dist: uptime>=3.0.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.17.6"
3
+ version = "0.17.8"
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" }]
@@ -74,6 +74,7 @@ dependencies = [
74
74
  "opentelemetry-instrumentation-urllib3>=0.53b0",
75
75
  "psutil>=7.0.0",
76
76
  "pydantic-settings>=2.9.1",
77
+ "pywin32>=310 ; sys_platform == 'win32'",
77
78
  "sentry-sdk>=2.27.0",
78
79
  "typer>=0.15.1",
79
80
  "uptime>=3.0.1",
@@ -288,7 +289,7 @@ source = ["src/"]
288
289
 
289
290
 
290
291
  [tool.bumpversion]
291
- current_version = "0.17.6"
292
+ current_version = "0.17.8"
292
293
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
293
294
  serialize = ["{major}.{minor}.{patch}"]
294
295
  search = "{current_version}"
@@ -3,7 +3,6 @@
3
3
  import json
4
4
  import os
5
5
  import platform
6
- import pwd
7
6
  import sys
8
7
  import time
9
8
  from socket import AF_INET, SOCK_DGRAM, socket
@@ -173,7 +172,7 @@ class Service(BaseService):
173
172
  },
174
173
  "runtime": {
175
174
  "environment": __env__,
176
- "username": pwd.getpwuid(os.getuid())[0],
175
+ "username": psutil.Process().username(),
177
176
  "process": {
178
177
  "command_line": " ".join(sys.argv),
179
178
  "entry_point": sys.argv[0] if sys.argv else None,