oe-python-template 0.13.16__py3-none-any.whl → 0.14.1__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/system/_cli.py +1 -1
- oe_python_template/utils/_log.py +2 -2
- {oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/METADATA +1 -1
- {oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/RECORD +7 -7
- {oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/WHEEL +0 -0
- {oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/entry_points.txt +0 -0
- {oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -194,7 +194,7 @@ def fail() -> None:
|
|
|
194
194
|
|
|
195
195
|
@cli.command()
|
|
196
196
|
def sleep(
|
|
197
|
-
seconds: Annotated[int, typer.Option(help="Duration in seconds")] =
|
|
197
|
+
seconds: Annotated[int, typer.Option(help="Duration in seconds")] = 2,
|
|
198
198
|
) -> None:
|
|
199
199
|
"""Sleep given for given number of seconds.
|
|
200
200
|
|
oe_python_template/utils/_log.py
CHANGED
|
@@ -54,8 +54,8 @@ def _validate_file_name(file_name: str | None) -> str | None:
|
|
|
54
54
|
|
|
55
55
|
file_path = Path(file_name)
|
|
56
56
|
if file_path.exists():
|
|
57
|
-
if not file_path.is_file():
|
|
58
|
-
message = f"File name {file_path.absolute()} is not a file"
|
|
57
|
+
if not file_path.is_file() and not file_path.is_symlink():
|
|
58
|
+
message = f"File name {file_path.absolute()} is not a file or symlink"
|
|
59
59
|
raise ValueError(message)
|
|
60
60
|
if not os.access(file_path, os.W_OK):
|
|
61
61
|
message = f"File {file_path.absolute()} is not writable"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.1
|
|
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/
|
|
@@ -12,7 +12,7 @@ oe_python_template/hello/_service.py,sha256=22-IqNpra43IQcdeZNnzY4uhdPZmlXL6mCsL
|
|
|
12
12
|
oe_python_template/hello/_settings.py,sha256=_85PIdq8UuS4orCZ0qFJ22RTQTooOTB0USRxBapBK3M,1533
|
|
13
13
|
oe_python_template/system/__init__.py,sha256=7e2z8HATzy3dAIBXy5PM9rlCC7Rbu8m8NapROdrf3Wk,624
|
|
14
14
|
oe_python_template/system/_api.py,sha256=rE9Aau3IIHXdEkOBUXOwJ7SxN3cZpgtYEuojnSWfT_4,3687
|
|
15
|
-
oe_python_template/system/_cli.py,sha256=
|
|
15
|
+
oe_python_template/system/_cli.py,sha256=0cGwSicK0j7P53SMm9nSyQqj0WYpHKvFvkISCcjeTPU,6959
|
|
16
16
|
oe_python_template/system/_gui.py,sha256=uKI-tlBSJXMaxY79wgdYtMttEyu8BLQC1UQLEPOcoZg,653
|
|
17
17
|
oe_python_template/system/_service.py,sha256=f-EtWEAanajo4S2KeGm26K9_RezYgPza1qVqPRBOFvY,6376
|
|
18
18
|
oe_python_template/system/_settings.py,sha256=MwMAJYifJ6jGImeSh4e9shmIXmiUSuQGHXz_Ts0mSdk,901
|
|
@@ -24,7 +24,7 @@ oe_python_template/utils/_constants.py,sha256=FRe5ZNaBwpBPwOHZVWYOlI-ijamfzdBVr8
|
|
|
24
24
|
oe_python_template/utils/_di.py,sha256=KdjiD4xZ_QSfbddkKWwsPJmG5YrIg6dzuBrlsd-FhxA,2189
|
|
25
25
|
oe_python_template/utils/_gui.py,sha256=PmMTSmUOxbf6pmYCIgKrK5wNheh35aGd90I12y3L7Uc,5720
|
|
26
26
|
oe_python_template/utils/_health.py,sha256=35QOWe2r5InrEpGtuVMym9dI5aRHS0HWf4BHBRAUIj0,4102
|
|
27
|
-
oe_python_template/utils/_log.py,sha256=
|
|
27
|
+
oe_python_template/utils/_log.py,sha256=fYU-7rU1eBlQLea0TNzvRS2qCEfv0Ilv1D83YwNmAXI,4905
|
|
28
28
|
oe_python_template/utils/_logfire.py,sha256=wZYNVowQx7kh3XJoJ59FjUKdrta7tp6cXOJRUT6lDU8,2128
|
|
29
29
|
oe_python_template/utils/_notebook.py,sha256=oBQw9IBcXjuhzd1ECfOEPN4WJHGOm9xiPtrs11GtWG4,1777
|
|
30
30
|
oe_python_template/utils/_process.py,sha256=40R0NZMqJUn0iUPERzohSUpJgU1HcJApIg1HipIxFCw,941
|
|
@@ -33,8 +33,8 @@ oe_python_template/utils/_service.py,sha256=atHAejvBucKXjzhsMSdOBBFa7rRD74zcV70P
|
|
|
33
33
|
oe_python_template/utils/_settings.py,sha256=owFoaHEzJnVD3EVyOWF4rfIY7g6eLnU6rN0m4VHhCbA,2464
|
|
34
34
|
oe_python_template/utils/boot.py,sha256=Qgq1sjT8d3fcfibnMyx5CVUJ_KKXgFI3ozZUIJbhh4I,2921
|
|
35
35
|
oe_python_template/utils/.vendored/bottle.py,sha256=kZAZmh3nRzCUf-9IKGpv0yqlMciZMA_DNaaMDdcQmt0,175437
|
|
36
|
-
oe_python_template-0.
|
|
37
|
-
oe_python_template-0.
|
|
38
|
-
oe_python_template-0.
|
|
39
|
-
oe_python_template-0.
|
|
40
|
-
oe_python_template-0.
|
|
36
|
+
oe_python_template-0.14.1.dist-info/METADATA,sha256=paiABmYkQwt7GAUH7Ae0lrpGw2UxW4BrEdF2lQDQLJk,34475
|
|
37
|
+
oe_python_template-0.14.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
38
|
+
oe_python_template-0.14.1.dist-info/entry_points.txt,sha256=IroSSWhLGxus9rxcashkYQda39TTvf7LbUMYtOKXUBE,66
|
|
39
|
+
oe_python_template-0.14.1.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
|
|
40
|
+
oe_python_template-0.14.1.dist-info/RECORD,,
|
|
File without changes
|
{oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{oe_python_template-0.13.16.dist-info → oe_python_template-0.14.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|