oe-python-template 0.12.11__tar.gz → 0.12.13__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.12.11 → oe_python_template-0.12.13}/PKG-INFO +2 -3
  2. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/pyproject.toml +6 -6
  3. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_service.py +1 -0
  4. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/boot.py +7 -0
  5. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/.gitignore +0 -0
  6. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/LICENSE +0 -0
  7. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/README.md +0 -0
  8. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/bottle.py +0 -0
  9. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/__init__.py +0 -0
  10. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/api.py +0 -0
  11. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/cli.py +0 -0
  12. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/constants.py +0 -0
  13. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/__init__.py +0 -0
  14. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_api.py +0 -0
  15. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_cli.py +0 -0
  16. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_constants.py +0 -0
  17. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_gui.py +0 -0
  18. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_models.py +0 -0
  19. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_service.py +0 -0
  20. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_settings.py +0 -0
  21. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/__init__.py +0 -0
  22. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_api.py +0 -0
  23. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_cli.py +0 -0
  24. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_gui.py +0 -0
  25. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_settings.py +0 -0
  26. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/__init__.py +0 -0
  27. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_api.py +0 -0
  28. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_cli.py +0 -0
  29. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_console.py +0 -0
  30. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_constants.py +0 -0
  31. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_di.py +0 -0
  32. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_gui.py +0 -0
  33. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_health.py +0 -0
  34. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_log.py +0 -0
  35. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_logfire.py +0 -0
  36. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_notebook.py +0 -0
  37. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_process.py +0 -0
  38. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_sentry.py +0 -0
  39. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_service.py +0 -0
  40. {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_settings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template
3
- Version: 0.12.11
3
+ Version: 0.12.13
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/
@@ -69,8 +69,7 @@ Requires-Dist: jupyter>=1.1.1; extra == 'examples'
69
69
  Requires-Dist: marimo>=0.13.0; extra == 'examples'
70
70
  Requires-Dist: streamlit>=1.44.1; extra == 'examples'
71
71
  Provides-Extra: gui
72
- Requires-Dist: nicegui[matplotlib,native]==2.15.0; extra == 'gui'
73
- Requires-Dist: pywebview==5.4.0; extra == 'gui'
72
+ Requires-Dist: nicegui[matplotlib,native]>=2.15.0; extra == 'gui'
74
73
  Description-Content-Type: text/markdown
75
74
 
76
75
 
@@ -1,11 +1,9 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.12.11"
3
+ version = "0.12.13"
4
4
  description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
5
5
  readme = "README.md"
6
- authors = [
7
- { name = "Helmut Hoffer von Ankershoffen", email = "helmuthva@gmail.com" },
8
- ]
6
+ authors = [{ name = "Helmut Hoffer von Ankershoffen", email = "helmuthva@gmail.com" }]
9
7
  license = { file = "LICENSE" }
10
8
 
11
9
  keywords = [
@@ -89,7 +87,9 @@ examples = [
89
87
  "jupyter>=1.1.1",
90
88
  "jinja2>=3.1.6",
91
89
  ]
92
- gui = ["nicegui[native,matplotlib]==2.15.0", "pywebview==5.4.0"]
90
+ gui = [
91
+ "nicegui[native,matplotlib]>=2.15.0",
92
+ ]
93
93
 
94
94
  [dependency-groups]
95
95
  dev = [
@@ -281,7 +281,7 @@ source = ["src/"]
281
281
 
282
282
 
283
283
  [tool.bumpversion]
284
- current_version = "0.12.11"
284
+ current_version = "0.12.13"
285
285
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
286
286
  serialize = ["{major}.{minor}.{patch}"]
287
287
  search = "{current_version}"
@@ -108,6 +108,7 @@ class Service(BaseService):
108
108
  "version": platform.python_version(),
109
109
  "compiler": platform.python_compiler(),
110
110
  "implementation": platform.python_implementation(),
111
+ "sys.path": sys.path,
111
112
  },
112
113
  "interpreter_path": sys.executable,
113
114
  "command_line": " ".join(sys.argv),
@@ -22,6 +22,7 @@ def boot(modules_to_instrument: list[str]) -> None:
22
22
  if _boot_called:
23
23
  return
24
24
  _boot_called = True
25
+ _prioritize_src()
25
26
  sentry_initialize()
26
27
  log_to_logfire = logfire_initialize(modules_to_instrument)
27
28
  logging_initialize(log_to_logfire)
@@ -71,6 +72,12 @@ def _amend_library_path() -> None:
71
72
  os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = f"{os.getenv('HOMEBREW_PREFIX', '/opt/homebrew')}/lib/"
72
73
 
73
74
 
75
+ def _prioritize_src() -> None:
76
+ if len(sys.path) > 0:
77
+ src_path = sys.path.pop(-1)
78
+ sys.path.insert(0, src_path)
79
+
80
+
74
81
  def _log_boot_message() -> None:
75
82
  """Log boot message with version and process information."""
76
83
  logger = get_logger(__name__)