hydraflow 0.5.0__tar.gz → 0.5.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {hydraflow-0.5.0 → hydraflow-0.5.1}/PKG-INFO +2 -2
- {hydraflow-0.5.0 → hydraflow-0.5.1}/README.md +1 -1
- {hydraflow-0.5.0 → hydraflow-0.5.1}/pyproject.toml +1 -1
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/run_collection.py +2 -2
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_app.py +3 -3
- {hydraflow-0.5.0 → hydraflow-0.5.1}/.devcontainer/devcontainer.json +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/.devcontainer/postCreate.sh +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/.devcontainer/starship.toml +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/.gitattributes +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/.gitignore +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/LICENSE +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/apps/quickstart.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/mkdocs.yml +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/__init__.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/config.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/context.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/mlflow.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/param.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/py.typed +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/run_data.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/run_info.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/src/hydraflow/utils.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/__init__.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/apps/__init__.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/apps/app.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/conftest.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_config.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_context.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_log_run.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_mlflow.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_param.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_run_collection.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_run_data.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_run_info.py +0 -0
- {hydraflow-0.5.0 → hydraflow-0.5.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hydraflow
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
|
5
5
|
Project-URL: Documentation, https://github.com/daizutabi/hydraflow
|
6
6
|
Project-URL: Source, https://github.com/daizutabi/hydraflow
|
@@ -111,7 +111,7 @@ def my_app(cfg: MySQLConfig) -> None:
|
|
111
111
|
hydraflow.set_experiment()
|
112
112
|
|
113
113
|
# Automatically log Hydra config as params.
|
114
|
-
with hydraflow.start_run():
|
114
|
+
with hydraflow.start_run(cfg):
|
115
115
|
# Your app code below.
|
116
116
|
|
117
117
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "hydraflow"
|
7
|
-
version = "0.5.
|
7
|
+
version = "0.5.1"
|
8
8
|
description = "Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments."
|
9
9
|
readme = "README.md"
|
10
10
|
license = { file = "LICENSE" }
|
@@ -609,8 +609,8 @@ class RunCollection:
|
|
609
609
|
|
610
610
|
def sort(
|
611
611
|
self,
|
612
|
-
key: Callable[[Run], Any] | None = None,
|
613
612
|
*,
|
613
|
+
key: Callable[[Run], Any] | None = None,
|
614
614
|
reverse: bool = False,
|
615
615
|
) -> None:
|
616
616
|
"""Sort the runs in the collection.
|
@@ -652,7 +652,7 @@ class RunCollection:
|
|
652
652
|
|
653
653
|
return [v[0] for v in values]
|
654
654
|
|
655
|
-
def
|
655
|
+
def sorted(
|
656
656
|
self,
|
657
657
|
names: str | list[str],
|
658
658
|
*,
|
@@ -187,11 +187,11 @@ def test_values(rc: RunCollection):
|
|
187
187
|
assert values == [("x", 1), ("x", 2), ("y", 1), ("y", 2)]
|
188
188
|
|
189
189
|
|
190
|
-
def
|
191
|
-
sorted = rc.
|
190
|
+
def test_sorted(rc: RunCollection):
|
191
|
+
sorted = rc.sorted("host", reverse=True)
|
192
192
|
assert sorted.values(["host", "port"]) == [("y", 1), ("y", 2), ("x", 1), ("x", 2)]
|
193
193
|
|
194
|
-
sorted = rc.
|
194
|
+
sorted = rc.sorted(["host", "port"], reverse=True)
|
195
195
|
assert sorted.values(["host", "port"]) == [("y", 2), ("y", 1), ("x", 2), ("x", 1)]
|
196
196
|
|
197
197
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|