oe-python-template 0.12.20__tar.gz → 0.12.23__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.12.20 → oe_python_template-0.12.23}/PKG-INFO +1 -1
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/pyproject.toml +3 -8
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_gui.py +3 -2
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/boot.py +6 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/.gitignore +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/LICENSE +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/README.md +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/__init__.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_api.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_cli.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_constants.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_models.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_service.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_settings.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/__init__.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_api.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_cli.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_gui.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_service.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_settings.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/.vendored/bottle.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/__init__.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_api.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_cli.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_console.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_constants.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_di.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_gui.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_health.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_log.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_logfire.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_notebook.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_process.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_sentry.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_service.py +0 -0
- {oe_python_template-0.12.20 → oe_python_template-0.12.23}/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.
|
3
|
+
Version: 0.12.23
|
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/
|
@@ -1,11 +1,9 @@
|
|
1
1
|
[project]
|
2
2
|
name = "oe-python-template"
|
3
|
-
version = "0.12.
|
3
|
+
version = "0.12.23"
|
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 = [
|
@@ -161,9 +159,6 @@ override-dependencies = [ # https://github.com/astral-sh/uv/issues/4422
|
|
161
159
|
"rfc3987; sys_platform == 'never'", # GPLv3
|
162
160
|
]
|
163
161
|
|
164
|
-
[tool.uv.sources]
|
165
|
-
bottle = { git = "https://github.com/helmut-hoffer-von-ankershoffen/bottle", tag = "0.14-dev" }
|
166
|
-
|
167
162
|
[tool.ruff]
|
168
163
|
target-version = "py311"
|
169
164
|
preview = true
|
@@ -284,7 +279,7 @@ source = ["src/"]
|
|
284
279
|
|
285
280
|
|
286
281
|
[tool.bumpversion]
|
287
|
-
current_version = "0.12.
|
282
|
+
current_version = "0.12.23"
|
288
283
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
289
284
|
serialize = ["{major}.{minor}.{patch}"]
|
290
285
|
search = "{current_version}"
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_gui.py
RENAMED
@@ -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)
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/boot.py
RENAMED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
import os
|
4
4
|
import sys
|
5
|
+
from pathlib import Path
|
5
6
|
|
6
7
|
from ._log import logging_initialize
|
7
8
|
from ._logfire import logfire_initialize
|
@@ -9,6 +10,11 @@ from ._sentry import sentry_initialize
|
|
9
10
|
|
10
11
|
_boot_called = False
|
11
12
|
|
13
|
+
# Import vendored dependencies
|
14
|
+
vendored_dir = Path(__file__).parent.absolute() / ".vendored"
|
15
|
+
if vendored_dir.is_dir() and str(vendored_dir) not in sys.path:
|
16
|
+
sys.path.insert(0, str(vendored_dir))
|
17
|
+
|
12
18
|
|
13
19
|
def boot(modules_to_instrument: list[str]) -> None:
|
14
20
|
"""Boot the application.
|
File without changes
|
File without changes
|
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_models.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_service.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/hello/_settings.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_service.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/system/_settings.py
RENAMED
File without changes
|
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_console.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_di.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_health.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_log.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_logfire.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_notebook.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_process.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_sentry.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_service.py
RENAMED
File without changes
|
{oe_python_template-0.12.20 → oe_python_template-0.12.23}/src/oe_python_template/utils/_settings.py
RENAMED
File without changes
|