oe-python-template 0.12.22__tar.gz → 0.12.24__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.22 → oe_python_template-0.12.24}/PKG-INFO +3 -1
  2. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/README.md +2 -0
  3. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/pyproject.toml +3 -5
  4. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_gui.py +3 -2
  5. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/.gitignore +0 -0
  6. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/LICENSE +0 -0
  7. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/__init__.py +0 -0
  8. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/api.py +0 -0
  9. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/cli.py +0 -0
  10. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/constants.py +0 -0
  11. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/__init__.py +0 -0
  12. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_api.py +0 -0
  13. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_cli.py +0 -0
  14. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_constants.py +0 -0
  15. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_models.py +0 -0
  16. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_service.py +0 -0
  17. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/hello/_settings.py +0 -0
  18. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/__init__.py +0 -0
  19. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/_api.py +0 -0
  20. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/_cli.py +0 -0
  21. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/_gui.py +0 -0
  22. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/_service.py +0 -0
  23. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/system/_settings.py +0 -0
  24. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/.vendored/bottle.py +0 -0
  25. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/__init__.py +0 -0
  26. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_api.py +0 -0
  27. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_cli.py +0 -0
  28. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_console.py +0 -0
  29. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_constants.py +0 -0
  30. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_di.py +0 -0
  31. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_gui.py +0 -0
  32. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_health.py +0 -0
  33. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_log.py +0 -0
  34. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_logfire.py +0 -0
  35. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_notebook.py +0 -0
  36. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_process.py +0 -0
  37. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_sentry.py +0 -0
  38. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_service.py +0 -0
  39. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/src/oe_python_template/utils/_settings.py +0 -0
  40. {oe_python_template-0.12.22 → oe_python_template-0.12.24}/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.22
3
+ Version: 0.12.24
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/
@@ -248,6 +248,7 @@ Executing the command line interface (CLI) in an isolated Python environment is
248
248
  uvx oe-python-template hello world # prints "Hello, world! [..]"
249
249
  uvx oe-python-template hello echo "Lorem Ipsum" # echos "Lorem Ipsum"
250
250
  uvx oe-python-template gui # opens the graphical user interface (GUI)
251
+ uvx --with "oe-python-template[examples]" oe-python-template gui # opens the graphical user interface (GUI) with support for scientific computing
251
252
  uvx oe-python-template system serve # serves web API
252
253
  uvx oe-python-template system serve --port=4711 # serves web API on port 4711
253
254
  uvx oe-python-template system openapi # serves web API on port 4711
@@ -392,6 +393,7 @@ uvx oe-python-template hello echo --help
392
393
  uvx oe-python-template hello echo "Lorem"
393
394
  uvx oe-python-template hello echo "Lorem" --json
394
395
  uvx oe-python-template gui
396
+ uvx --with "oe-python-template[examples]" oe-python-template gui # opens the graphical user interface (GUI) with support for scientific computing
395
397
  uvx oe-python-template system info
396
398
  uvx oe-python-template system health
397
399
  uvx oe-python-template system openapi
@@ -174,6 +174,7 @@ Executing the command line interface (CLI) in an isolated Python environment is
174
174
  uvx oe-python-template hello world # prints "Hello, world! [..]"
175
175
  uvx oe-python-template hello echo "Lorem Ipsum" # echos "Lorem Ipsum"
176
176
  uvx oe-python-template gui # opens the graphical user interface (GUI)
177
+ uvx --with "oe-python-template[examples]" oe-python-template gui # opens the graphical user interface (GUI) with support for scientific computing
177
178
  uvx oe-python-template system serve # serves web API
178
179
  uvx oe-python-template system serve --port=4711 # serves web API on port 4711
179
180
  uvx oe-python-template system openapi # serves web API on port 4711
@@ -318,6 +319,7 @@ uvx oe-python-template hello echo --help
318
319
  uvx oe-python-template hello echo "Lorem"
319
320
  uvx oe-python-template hello echo "Lorem" --json
320
321
  uvx oe-python-template gui
322
+ uvx --with "oe-python-template[examples]" oe-python-template gui # opens the graphical user interface (GUI) with support for scientific computing
321
323
  uvx oe-python-template system info
322
324
  uvx oe-python-template system health
323
325
  uvx oe-python-template system openapi
@@ -1,11 +1,9 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.12.22"
3
+ version = "0.12.24"
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 = [
@@ -281,7 +279,7 @@ source = ["src/"]
281
279
 
282
280
 
283
281
  [tool.bumpversion]
284
- current_version = "0.12.22"
282
+ current_version = "0.12.24"
285
283
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
286
284
  serialize = ["{major}.{minor}.{patch}"]
287
285
  search = "{current_version}"
@@ -2,7 +2,6 @@
2
2
 
3
3
  from pathlib import Path
4
4
 
5
- import numpy as np
6
5
  from nicegui import ui
7
6
 
8
7
  from oe_python_template.utils import BasePageBuilder, GUILocalFilePicker
@@ -32,7 +31,9 @@ class PageBuilder(BasePageBuilder):
32
31
 
33
32
  from importlib.util import find_spec # noqa: PLC0415
34
33
 
35
- if find_spec("matplotlib"):
34
+ if find_spec("matplotlib") and find_spec("numpy"):
35
+ import numpy as np # noqa: PLC0415
36
+
36
37
  with ui.card().tight().mark("CARD_PLOT"): # noqa: SIM117
37
38
  with ui.matplotlib(figsize=(4, 3)).figure as fig:
38
39
  x = np.linspace(0.0, 5.0)