oe-python-template-example 0.4.2__py3-none-any.whl → 0.4.3__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_example/cli.py +1 -1
- oe_python_template_example/hello/_gui.py +11 -7
- oe_python_template_example/system/_service.py +1 -0
- oe_python_template_example/utils/.vendored/bottle.py +4563 -0
- oe_python_template_example/utils/boot.py +6 -0
- {oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/METADATA +5 -5
- {oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/RECORD +10 -9
- {oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/WHEEL +0 -0
- {oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/entry_points.txt +0 -0
- {oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/licenses/LICENSE +0 -0
@@ -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.
|
{oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: oe-python-template-example
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.3
|
4
4
|
Summary: 🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
|
5
5
|
Project-URL: Homepage, https://oe-python-template-example.readthedocs.io/en/latest/
|
6
6
|
Project-URL: Documentation, https://oe-python-template-example.readthedocs.io/en/latest/
|
@@ -50,6 +50,7 @@ Classifier: Typing :: Typed
|
|
50
50
|
Requires-Python: <4.0,>=3.11
|
51
51
|
Requires-Dist: fastapi[all,standard]>=0.115.12
|
52
52
|
Requires-Dist: logfire[system-metrics]>=3.13.1
|
53
|
+
Requires-Dist: nicegui[native]>=2.15.0
|
53
54
|
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.53b0
|
54
55
|
Requires-Dist: opentelemetry-instrumentation-httpx>=0.53b0
|
55
56
|
Requires-Dist: opentelemetry-instrumentation-jinja2>=0.53b0
|
@@ -60,17 +61,14 @@ Requires-Dist: opentelemetry-instrumentation-urllib3>=0.53b0
|
|
60
61
|
Requires-Dist: opentelemetry-instrumentation-urllib>=0.53b0
|
61
62
|
Requires-Dist: psutil>=7.0.0
|
62
63
|
Requires-Dist: pydantic-settings>=2.9.1
|
63
|
-
Requires-Dist: pydantic>=2.11.3
|
64
64
|
Requires-Dist: sentry-sdk>=2.26.1
|
65
65
|
Requires-Dist: typer>=0.15.1
|
66
66
|
Requires-Dist: uptime>=3.0.1
|
67
|
-
Provides-Extra: app
|
68
|
-
Requires-Dist: nicegui>=2.15.0; extra == 'app'
|
69
|
-
Requires-Dist: pywebview>=5.4; extra == 'app'
|
70
67
|
Provides-Extra: examples
|
71
68
|
Requires-Dist: jinja2>=3.1.6; extra == 'examples'
|
72
69
|
Requires-Dist: jupyter>=1.1.1; extra == 'examples'
|
73
70
|
Requires-Dist: marimo>=0.13.0; extra == 'examples'
|
71
|
+
Requires-Dist: matplotlib>=3.10.1; extra == 'examples'
|
74
72
|
Requires-Dist: streamlit>=1.44.1; extra == 'examples'
|
75
73
|
Description-Content-Type: text/markdown
|
76
74
|
|
@@ -253,6 +251,7 @@ Executing the command line interface (CLI) in an isolated Python environment is
|
|
253
251
|
uvx oe-python-template-example hello world # prints "Hello, world! [..]"
|
254
252
|
uvx oe-python-template-example hello echo "Lorem Ipsum" # echos "Lorem Ipsum"
|
255
253
|
uvx oe-python-template-example gui # opens the graphical user interface (GUI)
|
254
|
+
uvx --with "oe-python-template-example[examples]" oe-python-template-example gui # opens the graphical user interface (GUI) with support for scientific computing
|
256
255
|
uvx oe-python-template-example system serve # serves web API
|
257
256
|
uvx oe-python-template-example system serve --port=4711 # serves web API on port 4711
|
258
257
|
uvx oe-python-template-example system openapi # serves web API on port 4711
|
@@ -401,6 +400,7 @@ uvx oe-python-template-example hello echo --help
|
|
401
400
|
uvx oe-python-template-example hello echo "Lorem"
|
402
401
|
uvx oe-python-template-example hello echo "Lorem" --json
|
403
402
|
uvx oe-python-template-example gui
|
403
|
+
uvx --with "oe-python-template-example[examples]" oe-python-template-example gui # opens the graphical user interface (GUI) with support for scientific computing
|
404
404
|
uvx oe-python-template-example system info
|
405
405
|
uvx oe-python-template-example system health
|
406
406
|
uvx oe-python-template-example system openapi
|
{oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/RECORD
RENAMED
@@ -1,12 +1,12 @@
|
|
1
1
|
oe_python_template_example/__init__.py,sha256=_Z3Xb-x95UODU66avOiwROVaouk_s0ZNB25KFnPoS40,226
|
2
2
|
oe_python_template_example/api.py,sha256=gwUAW_pWUABFtAAiuIg3-X-dG25m1l0rqpnMqlaGEJo,2206
|
3
|
-
oe_python_template_example/cli.py,sha256=
|
3
|
+
oe_python_template_example/cli.py,sha256=fnE06WJFcks5N4LwWlgIDHICciKY1FM944aAdJM6Ju0,1644
|
4
4
|
oe_python_template_example/constants.py,sha256=eRFVkR2qwafucpx5ppJSohr5wpSRm4yh1deLpOTep9A,346
|
5
5
|
oe_python_template_example/hello/__init__.py,sha256=F7aJ_uhTPPnFLT_4GjI2GzjAmKrUhfe4KxqzrljuCVo,485
|
6
6
|
oe_python_template_example/hello/_api.py,sha256=B4gCojmEkvh-ScKPz0rXW70r4gVvg7SX2dfbZpUd2vU,2302
|
7
7
|
oe_python_template_example/hello/_cli.py,sha256=D1RZyz8sk7wpH1a9VDx1QtsNorOr9owxK8N7SxaaMWM,1200
|
8
8
|
oe_python_template_example/hello/_constants.py,sha256=6aRleAIcdgC13TeTzI07YwjoSwqGb2g131dw8aEoM4I,109
|
9
|
-
oe_python_template_example/hello/_gui.py,sha256=
|
9
|
+
oe_python_template_example/hello/_gui.py,sha256=cYzag6lLD-zQGgTBcgXRDfbuxjtF927OVrvLAcFfpHs,1470
|
10
10
|
oe_python_template_example/hello/_models.py,sha256=JtI7wGT72u23NOxFa-oeWzdyiMg7PnHL5eg22im2_yQ,574
|
11
11
|
oe_python_template_example/hello/_service.py,sha256=o9sgk-yFX5zRi06sAOdSPqkgT93naxn-JRknwK2Nnvs,3183
|
12
12
|
oe_python_template_example/hello/_settings.py,sha256=Q14SqSvBJYFuofA-tbvBwO30sVygSaXsgaYC7x1uCfo,1562
|
@@ -14,7 +14,7 @@ oe_python_template_example/system/__init__.py,sha256=7e2z8HATzy3dAIBXy5PM9rlCC7R
|
|
14
14
|
oe_python_template_example/system/_api.py,sha256=rE9Aau3IIHXdEkOBUXOwJ7SxN3cZpgtYEuojnSWfT_4,3687
|
15
15
|
oe_python_template_example/system/_cli.py,sha256=D19TuXtGGmxzQ-VkmCD7fmuqKQ5TQoJq9O0VzJKvWVE,6960
|
16
16
|
oe_python_template_example/system/_gui.py,sha256=uKI-tlBSJXMaxY79wgdYtMttEyu8BLQC1UQLEPOcoZg,653
|
17
|
-
oe_python_template_example/system/_service.py,sha256=
|
17
|
+
oe_python_template_example/system/_service.py,sha256=f-EtWEAanajo4S2KeGm26K9_RezYgPza1qVqPRBOFvY,6376
|
18
18
|
oe_python_template_example/system/_settings.py,sha256=MwMAJYifJ6jGImeSh4e9shmIXmiUSuQGHXz_Ts0mSdk,901
|
19
19
|
oe_python_template_example/utils/__init__.py,sha256=ggcc7xvH6MJ3kP45lfjmp8yZSPDTeQRaQYbZbG0M7yM,1924
|
20
20
|
oe_python_template_example/utils/_api.py,sha256=w3hPQK1pL2gBI4_1qNWNa2b4S_oH-8mY-ckRX0KrCWM,617
|
@@ -31,9 +31,10 @@ oe_python_template_example/utils/_process.py,sha256=40R0NZMqJUn0iUPERzohSUpJgU1H
|
|
31
31
|
oe_python_template_example/utils/_sentry.py,sha256=2sXrDSZSYoDEM87v7CakJ6eGBtcIhDI48PsQCLwOHgg,3319
|
32
32
|
oe_python_template_example/utils/_service.py,sha256=atHAejvBucKXjzhsMSdOBBFa7rRD74zcV70Pp0pl0Tg,1038
|
33
33
|
oe_python_template_example/utils/_settings.py,sha256=owFoaHEzJnVD3EVyOWF4rfIY7g6eLnU6rN0m4VHhCbA,2464
|
34
|
-
oe_python_template_example/utils/boot.py,sha256=
|
35
|
-
oe_python_template_example
|
36
|
-
oe_python_template_example-0.4.
|
37
|
-
oe_python_template_example-0.4.
|
38
|
-
oe_python_template_example-0.4.
|
39
|
-
oe_python_template_example-0.4.
|
34
|
+
oe_python_template_example/utils/boot.py,sha256=Qgq1sjT8d3fcfibnMyx5CVUJ_KKXgFI3ozZUIJbhh4I,2921
|
35
|
+
oe_python_template_example/utils/.vendored/bottle.py,sha256=D9YkHqkgvKkknd3ZQ-tgflUF6F9Kr2_jpzhod5WqfAM,175461
|
36
|
+
oe_python_template_example-0.4.3.dist-info/METADATA,sha256=d-7MUnXzb7WLnxp0YXs6GCxWD85_ziJjvkdba-H3tek,34643
|
37
|
+
oe_python_template_example-0.4.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
38
|
+
oe_python_template_example-0.4.3.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
|
39
|
+
oe_python_template_example-0.4.3.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
40
|
+
oe_python_template_example-0.4.3.dist-info/RECORD,,
|
{oe_python_template_example-0.4.2.dist-info → oe_python_template_example-0.4.3.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|