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.
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/PKG-INFO +2 -3
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/pyproject.toml +6 -6
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_service.py +1 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/boot.py +7 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/.gitignore +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/LICENSE +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/README.md +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/bottle.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/__init__.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_api.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_cli.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_constants.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_gui.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_models.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_service.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_settings.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/__init__.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_api.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_cli.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_gui.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_settings.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/__init__.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_api.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_cli.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_console.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_constants.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_di.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_gui.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_health.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_log.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_logfire.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_notebook.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_process.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_sentry.py +0 -0
- {oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_service.py +0 -0
- {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.
|
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]
|
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.
|
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 = [
|
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.
|
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}"
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_service.py
RENAMED
@@ -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),
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/boot.py
RENAMED
@@ -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__)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_models.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_service.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/hello/_settings.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/system/_settings.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/__init__.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_api.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_cli.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_console.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_constants.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_di.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_gui.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_health.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_log.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_logfire.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_notebook.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_process.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_sentry.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_service.py
RENAMED
File without changes
|
{oe_python_template-0.12.11 → oe_python_template-0.12.13}/src/oe_python_template/utils/_settings.py
RENAMED
File without changes
|