oe-python-template 0.12.13__py3-none-any.whl → 0.12.15__py3-none-any.whl
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/cli.py +1 -1
- oe_python_template/utils/boot.py +0 -7
- {oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/METADATA +2 -1
- {oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/RECORD +7 -7
- {oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/WHEEL +0 -0
- {oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/licenses/LICENSE +0 -0
oe_python_template/cli.py
CHANGED
oe_python_template/utils/boot.py
CHANGED
@@ -22,7 +22,6 @@ def boot(modules_to_instrument: list[str]) -> None:
|
|
22
22
|
if _boot_called:
|
23
23
|
return
|
24
24
|
_boot_called = True
|
25
|
-
_prioritize_src()
|
26
25
|
sentry_initialize()
|
27
26
|
log_to_logfire = logfire_initialize(modules_to_instrument)
|
28
27
|
logging_initialize(log_to_logfire)
|
@@ -72,12 +71,6 @@ def _amend_library_path() -> None:
|
|
72
71
|
os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = f"{os.getenv('HOMEBREW_PREFIX', '/opt/homebrew')}/lib/"
|
73
72
|
|
74
73
|
|
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
|
-
|
81
74
|
def _log_boot_message() -> None:
|
82
75
|
"""Log boot message with version and process information."""
|
83
76
|
logger = get_logger(__name__)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oe-python-template
|
3
|
-
Version: 0.12.
|
3
|
+
Version: 0.12.15
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
oe_python_template/__init__.py,sha256=_Z3Xb-x95UODU66avOiwROVaouk_s0ZNB25KFnPoS40,226
|
2
2
|
oe_python_template/api.py,sha256=Hcpj4UYFrZBaE-O8Iwb7poGCCtlMIqrmNiFqJSKElqI,2190
|
3
|
-
oe_python_template/cli.py,sha256=
|
3
|
+
oe_python_template/cli.py,sha256=kXCJTssNIW4X8rCcvcA1YK-RL4L0UJ3KgHgelKEQKos,1620
|
4
4
|
oe_python_template/constants.py,sha256=tIWRWxG7Ob-MwH8ucPplOMO3mCgXPo97acRjydpHiyg,330
|
5
5
|
oe_python_template/hello/__init__.py,sha256=F7aJ_uhTPPnFLT_4GjI2GzjAmKrUhfe4KxqzrljuCVo,485
|
6
6
|
oe_python_template/hello/_api.py,sha256=hWWlEDUfFY1se2ZzhqGMfPyD3FPwuA-YzxG9Q9z4F2o,2294
|
@@ -31,9 +31,9 @@ oe_python_template/utils/_process.py,sha256=40R0NZMqJUn0iUPERzohSUpJgU1HcJApIg1H
|
|
31
31
|
oe_python_template/utils/_sentry.py,sha256=2sXrDSZSYoDEM87v7CakJ6eGBtcIhDI48PsQCLwOHgg,3319
|
32
32
|
oe_python_template/utils/_service.py,sha256=atHAejvBucKXjzhsMSdOBBFa7rRD74zcV70Pp0pl0Tg,1038
|
33
33
|
oe_python_template/utils/_settings.py,sha256=owFoaHEzJnVD3EVyOWF4rfIY7g6eLnU6rN0m4VHhCbA,2464
|
34
|
-
oe_python_template/utils/boot.py,sha256=
|
35
|
-
oe_python_template-0.12.
|
36
|
-
oe_python_template-0.12.
|
37
|
-
oe_python_template-0.12.
|
38
|
-
oe_python_template-0.12.
|
39
|
-
oe_python_template-0.12.
|
34
|
+
oe_python_template/utils/boot.py,sha256=TBgmqbtIryQz0cAozYzxhYQRIldfbJ6v9R-rH6sO9mY,2696
|
35
|
+
oe_python_template-0.12.15.dist-info/METADATA,sha256=8kAhl1Bcin0uloEx4WTogFiKO3jNJoPeBo3xmnAd1ic,33052
|
36
|
+
oe_python_template-0.12.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
37
|
+
oe_python_template-0.12.15.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
38
|
+
oe_python_template-0.12.15.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
39
|
+
oe_python_template-0.12.15.dist-info/RECORD,,
|
File without changes
|
{oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/entry_points.txt
RENAMED
File without changes
|
{oe_python_template-0.12.13.dist-info → oe_python_template-0.12.15.dist-info}/licenses/LICENSE
RENAMED
File without changes
|