oe-python-template 0.12.12__tar.gz → 0.12.14__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.12 → oe_python_template-0.12.14}/PKG-INFO +3 -3
  2. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/pyproject.toml +10 -8
  3. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/cli.py +0 -3
  4. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/_service.py +1 -0
  5. oe_python_template-0.12.12/src/bottle.py +0 -4756
  6. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/.gitignore +0 -0
  7. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/LICENSE +0 -0
  8. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/README.md +0 -0
  9. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/__init__.py +0 -0
  10. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/api.py +0 -0
  11. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/constants.py +0 -0
  12. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/__init__.py +0 -0
  13. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_api.py +0 -0
  14. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_cli.py +0 -0
  15. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_constants.py +0 -0
  16. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_gui.py +0 -0
  17. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_models.py +0 -0
  18. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_service.py +0 -0
  19. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/hello/_settings.py +0 -0
  20. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/__init__.py +0 -0
  21. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/_api.py +0 -0
  22. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/_cli.py +0 -0
  23. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/_gui.py +0 -0
  24. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/system/_settings.py +0 -0
  25. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/__init__.py +0 -0
  26. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_api.py +0 -0
  27. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_cli.py +0 -0
  28. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_console.py +0 -0
  29. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_constants.py +0 -0
  30. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_di.py +0 -0
  31. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_gui.py +0 -0
  32. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_health.py +0 -0
  33. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_log.py +0 -0
  34. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_logfire.py +0 -0
  35. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_notebook.py +0 -0
  36. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_process.py +0 -0
  37. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_sentry.py +0 -0
  38. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_service.py +0 -0
  39. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/src/oe_python_template/utils/_settings.py +0 -0
  40. {oe_python_template-0.12.12 → oe_python_template-0.12.14}/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.12.12
3
+ Version: 0.12.14
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/
@@ -48,6 +48,7 @@ Classifier: Programming Language :: Python :: 3.12
48
48
  Classifier: Programming Language :: Python :: 3.13
49
49
  Classifier: Typing :: Typed
50
50
  Requires-Python: <4.0,>=3.11
51
+ Requires-Dist: bottle
51
52
  Requires-Dist: fastapi[all,standard]>=0.115.12
52
53
  Requires-Dist: logfire[system-metrics]>=3.13.1
53
54
  Requires-Dist: opentelemetry-instrumentation-fastapi>=0.53b0
@@ -69,8 +70,7 @@ Requires-Dist: jupyter>=1.1.1; extra == 'examples'
69
70
  Requires-Dist: marimo>=0.13.0; extra == 'examples'
70
71
  Requires-Dist: streamlit>=1.44.1; extra == 'examples'
71
72
  Provides-Extra: gui
72
- Requires-Dist: nicegui[matplotlib,native]==2.15.0; extra == 'gui'
73
- Requires-Dist: pywebview==5.4.0; extra == 'gui'
73
+ Requires-Dist: nicegui[matplotlib,native]>=2.15.0; extra == 'gui'
74
74
  Description-Content-Type: text/markdown
75
75
 
76
76
 
@@ -1,11 +1,9 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.12.12"
3
+ version = "0.12.14"
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 = [
@@ -63,6 +61,7 @@ requires-python = ">=3.11, <4.0"
63
61
 
64
62
  dependencies = [
65
63
  # From Template
64
+ "bottle",
66
65
  "fastapi[standard,all]>=0.115.12",
67
66
  "logfire[system-metrics]>=3.13.1",
68
67
  "opentelemetry-instrumentation-fastapi>=0.53b0",
@@ -89,7 +88,9 @@ examples = [
89
88
  "jupyter>=1.1.1",
90
89
  "jinja2>=3.1.6",
91
90
  ]
92
- gui = ["nicegui[native,matplotlib]==2.15.0", "pywebview==5.4.0"]
91
+ gui = [
92
+ "nicegui[native,matplotlib]>=2.15.0",
93
+ ]
93
94
 
94
95
  [dependency-groups]
95
96
  dev = [
@@ -160,13 +161,15 @@ override-dependencies = [ # https://github.com/astral-sh/uv/issues/4422
160
161
  "rfc3987; sys_platform == 'never'", # GPLv3
161
162
  ]
162
163
 
164
+ [tool.uv.sources]
165
+ bottle = { git = "https://github.com/helmut-hoffer-von-ankershoffen/bottle" }
163
166
 
164
167
  [tool.ruff]
165
168
  target-version = "py311"
166
169
  preview = true
167
170
  fix = true
168
171
  line-length = 120
169
- extend-exclude = [".fixme", "notebook.py", "template/*.py", "bottle.py"]
172
+ extend-exclude = [".fixme", "notebook.py", "template/*.py"]
170
173
 
171
174
  [tool.ruff.lint]
172
175
  select = ["ALL"]
@@ -229,7 +232,6 @@ docstring-code-format = true
229
232
  convention = "google"
230
233
 
231
234
  [tool.mypy] # https://mypy.readthedocs.io/en/latest/config_file.html
232
- exclude = ["bottle.py"]
233
235
  junit_xml = "reports/mypy_junit.xml"
234
236
  plugins = "pydantic.mypy"
235
237
  strict = true
@@ -281,7 +283,7 @@ source = ["src/"]
281
283
 
282
284
 
283
285
  [tool.bumpversion]
284
- current_version = "0.12.12"
286
+ current_version = "0.12.14"
285
287
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
286
288
  serialize = ["{major}.{minor}.{patch}"]
287
289
  search = "{current_version}"
@@ -5,8 +5,6 @@ from importlib.util import find_spec
5
5
 
6
6
  import typer
7
7
 
8
- import bottle
9
-
10
8
  from .constants import MODULES_TO_INSTRUMENT
11
9
  from .utils import __version__, boot, console, get_logger, prepare_cli
12
10
 
@@ -16,7 +14,6 @@ logger = get_logger(__name__)
16
14
  cli = typer.Typer(help="Command Line Interface of OE Python Template")
17
15
  prepare_cli(cli, f"🧠 OE Python Template v{__version__} - built with love in Berlin 🐻")
18
16
 
19
- the_class = bottle.Bottle
20
17
 
21
18
  if find_spec("nicegui") and find_spec("webview"):
22
19
 
@@ -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),