hydraflow 0.13.0__py3-none-any.whl → 0.13.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.
- hydraflow/cli.py +4 -6
- {hydraflow-0.13.0.dist-info → hydraflow-0.13.1.dist-info}/METADATA +3 -4
- {hydraflow-0.13.0.dist-info → hydraflow-0.13.1.dist-info}/RECORD +6 -6
- {hydraflow-0.13.0.dist-info → hydraflow-0.13.1.dist-info}/WHEEL +0 -0
- {hydraflow-0.13.0.dist-info → hydraflow-0.13.1.dist-info}/entry_points.txt +0 -0
- {hydraflow-0.13.0.dist-info → hydraflow-0.13.1.dist-info}/licenses/LICENSE +0 -0
hydraflow/cli.py
CHANGED
@@ -6,11 +6,9 @@ import shlex
|
|
6
6
|
from typing import Annotated
|
7
7
|
|
8
8
|
import typer
|
9
|
-
from
|
10
|
-
from typer import Argument, Option
|
9
|
+
from typer import Argument, Exit, Option
|
11
10
|
|
12
11
|
app = typer.Typer(add_completion=False)
|
13
|
-
console = Console()
|
14
12
|
|
15
13
|
|
16
14
|
@app.command(context_settings={"ignore_unknown_options": True})
|
@@ -41,7 +39,7 @@ def run(
|
|
41
39
|
it = iter_calls(args, iter_batches(job), dry_run=dry_run)
|
42
40
|
else:
|
43
41
|
typer.echo(f"No command found in job: {job.name}.")
|
44
|
-
raise
|
42
|
+
raise Exit(1)
|
45
43
|
|
46
44
|
if not dry_run:
|
47
45
|
import mlflow
|
@@ -79,7 +77,7 @@ def submit(
|
|
79
77
|
|
80
78
|
if not job.run:
|
81
79
|
typer.echo(f"No run found in job: {job.name}.")
|
82
|
-
raise
|
80
|
+
raise Exit(1)
|
83
81
|
|
84
82
|
if not dry_run:
|
85
83
|
import mlflow
|
@@ -124,4 +122,4 @@ def callback(
|
|
124
122
|
import importlib.metadata
|
125
123
|
|
126
124
|
typer.echo(f"hydraflow {importlib.metadata.version('hydraflow')}")
|
127
|
-
raise
|
125
|
+
raise Exit
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hydraflow
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.1
|
4
4
|
Summary: Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
|
5
5
|
Project-URL: Documentation, https://daizutabi.github.io/hydraflow/
|
6
6
|
Project-URL: Source, https://github.com/daizutabi/hydraflow
|
@@ -38,10 +38,9 @@ Classifier: Programming Language :: Python :: 3.13
|
|
38
38
|
Requires-Python: >=3.10
|
39
39
|
Requires-Dist: hydra-core>=1.3
|
40
40
|
Requires-Dist: mlflow>=2.15
|
41
|
-
Requires-Dist: omegaconf
|
41
|
+
Requires-Dist: omegaconf>=2.3
|
42
42
|
Requires-Dist: python-ulid>=3.0.0
|
43
|
-
Requires-Dist:
|
44
|
-
Requires-Dist: typer
|
43
|
+
Requires-Dist: typer>=0.15
|
45
44
|
Description-Content-Type: text/markdown
|
46
45
|
|
47
46
|
# Hydraflow
|
@@ -1,5 +1,5 @@
|
|
1
1
|
hydraflow/__init__.py,sha256=f2KO2iF7um-nNmayNyEr7TWG4UICOXy7YAN1d3qu0OY,936
|
2
|
-
hydraflow/cli.py,sha256=
|
2
|
+
hydraflow/cli.py,sha256=DaxOfB2gGajFB4--USZL1QkH7j1MAgD2q0bjYmT09HU,3320
|
3
3
|
hydraflow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
hydraflow/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
hydraflow/core/config.py,sha256=SJzjgsO_kzB78_whJ3lmy7GlZvTvwZONH1BJBn8zCuI,3817
|
@@ -17,8 +17,8 @@ hydraflow/executor/conf.py,sha256=2dv6_PlsynRmia-fGZlmBEVt8GopT0f32N13qY7tYnM,40
|
|
17
17
|
hydraflow/executor/io.py,sha256=yZMcBVmAbPZZ82cAXhgiJfj9p8WvHmzOCMBg_vtEVek,1509
|
18
18
|
hydraflow/executor/job.py,sha256=bmjlqE-cE7lyNFFKj1nUhxiQHKf7DsFkCSTD9iTEQ5I,5606
|
19
19
|
hydraflow/executor/parser.py,sha256=_Rfund3FDgrXitTt_znsTpgEtMDqZ_ICynaB_Zje14Q,14561
|
20
|
-
hydraflow-0.13.
|
21
|
-
hydraflow-0.13.
|
22
|
-
hydraflow-0.13.
|
23
|
-
hydraflow-0.13.
|
24
|
-
hydraflow-0.13.
|
20
|
+
hydraflow-0.13.1.dist-info/METADATA,sha256=oDGZBZVuwfEnOa2p2ciybUVqUAKFmq7OToTvXjZ4W_o,4540
|
21
|
+
hydraflow-0.13.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
22
|
+
hydraflow-0.13.1.dist-info/entry_points.txt,sha256=XI0khPbpCIUo9UPqkNEpgh-kqK3Jy8T7L2VCWOdkbSM,48
|
23
|
+
hydraflow-0.13.1.dist-info/licenses/LICENSE,sha256=IGdDrBPqz1O0v_UwCW-NJlbX9Hy9b3uJ11t28y2srmY,1062
|
24
|
+
hydraflow-0.13.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|