bluer-objects 6.35.1__tar.gz → 6.37.1__tar.gz
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.
Potentially problematic release.
This version of bluer-objects might be problematic. Click here for more details.
- {bluer_objects-6.35.1/bluer_objects.egg-info → bluer_objects-6.37.1}/PKG-INFO +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/README.md +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/alias.sh +7 -7
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/clone.sh +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/gif.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/host.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/browse.sh +3 -3
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/cache.sh +3 -3
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/log_run.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/run.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/tags/get.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/tags/search.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/tags/set.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/tags.sh +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/test.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow/transition.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/mlflow.sh +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/publish.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/gif.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/help.sh +0 -3
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/host.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +4 -4
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/mlflow_test.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/upload.sh +1 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/__init__.py +1 -1
- bluer_objects-6.37.1/bluer_objects/help/assets.py +38 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/functions.py +8 -0
- bluer_objects-6.37.1/bluer_objects/help/gif.py +28 -0
- bluer_objects-6.37.1/bluer_objects/help/host.py +61 -0
- bluer_objects-6.37.1/bluer_objects/help/mlflow/__init__.py +194 -0
- bluer_objects-6.37.1/bluer_objects/help/mlflow/cache.py +42 -0
- bluer_objects-6.37.1/bluer_objects/help/mlflow/tags.py +119 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects.egg-info/SOURCES.txt +6 -1
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/setup.py +1 -0
- bluer_objects-6.35.1/bluer_objects/.abcli/cache.sh +0 -5
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/LICENSE +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/MANIFEST.in +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/object.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/clone.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/metadata.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/testing/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/testing/__main__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/testing/functions.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_file_load_save.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_objects.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_storage.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_testing.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/pyproject.toml +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/requirements.txt +0 -0
- {bluer_objects-6.35.1 → bluer_objects-6.37.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.37.1
|
|
4
4
|
Summary: 🌀 data objects for Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -53,6 +53,6 @@ Also home to [blue README](https://github.com/kamangir/bluer-objects/blob/main/b
|
|
|
53
53
|
|
|
54
54
|
[](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [](https://pypi.org/project/bluer-objects/) [](https://pypistats.org/packages/bluer-objects)
|
|
55
55
|
|
|
56
|
-
built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
56
|
+
built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.37.1`](https://github.com/kamangir/bluer-objects).
|
|
57
57
|
|
|
58
58
|
built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
|
|
@@ -19,4 +19,4 @@ Also home to [blue README](./bluer_objects/README/).
|
|
|
19
19
|
|
|
20
20
|
[](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [](https://pypi.org/project/bluer-objects/) [](https://pypistats.org/packages/bluer-objects)
|
|
21
21
|
|
|
22
|
-
built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
22
|
+
built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.37.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -4,26 +4,26 @@ alias @ai=bluer_ai
|
|
|
4
4
|
|
|
5
5
|
alias @download=bluer_objects_download
|
|
6
6
|
|
|
7
|
-
alias @gif=
|
|
7
|
+
alias @gif=bluer_objects_gif
|
|
8
8
|
|
|
9
|
-
alias @assets=
|
|
9
|
+
alias @assets=bluer_objects_assets
|
|
10
10
|
|
|
11
|
-
alias @cache=
|
|
12
|
-
alias @ref="
|
|
13
|
-
alias @tags=
|
|
11
|
+
alias @cache=bluer_objects_mlflow_cache
|
|
12
|
+
alias @ref="bluer_objects_mlflow_cache read"
|
|
13
|
+
alias @tags=bluer_objects_mlflow_tags
|
|
14
14
|
|
|
15
15
|
alias @clone=bluer_objects_clone
|
|
16
16
|
alias @cp=bluer_objects_clone
|
|
17
17
|
|
|
18
18
|
alias @file=bluer_objects_file
|
|
19
19
|
|
|
20
|
-
alias @host=
|
|
20
|
+
alias @host=bluer_objects_host
|
|
21
21
|
|
|
22
22
|
alias @ls=bluer_ai_ls
|
|
23
23
|
|
|
24
24
|
alias @metadata=bluer_objects_metadata
|
|
25
25
|
|
|
26
|
-
alias @mlflow=
|
|
26
|
+
alias @mlflow=bluer_objects_mlflow
|
|
27
27
|
|
|
28
28
|
alias @mysql=abcli_mysql
|
|
29
29
|
|
|
@@ -36,12 +36,12 @@ function bluer_objects_clone() {
|
|
|
36
36
|
fi
|
|
37
37
|
|
|
38
38
|
[[ "$clone_tags" == 1 ]] &&
|
|
39
|
-
|
|
39
|
+
bluer_objects_mlflow_tags clone \
|
|
40
40
|
$object_1_name \
|
|
41
41
|
$object_2_name
|
|
42
42
|
|
|
43
43
|
[[ "$do_relate" == 1 ]] &&
|
|
44
|
-
|
|
44
|
+
bluer_objects_mlflow_tags set \
|
|
45
45
|
$object_2_name \
|
|
46
46
|
cloned.$object_1_name
|
|
47
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_objects_mlflow_browse() {
|
|
4
4
|
local options=$1
|
|
5
5
|
local browse_experiment=$(abcli_option_int "$options" experiment 0)
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ function abcli_mlflow_browse() {
|
|
|
15
15
|
else
|
|
16
16
|
local object_name=$(abcli_clarify_object $2 .)
|
|
17
17
|
|
|
18
|
-
local experiment_id=$(
|
|
18
|
+
local experiment_id=$(bluer_objects_mlflow get_id $object_name)
|
|
19
19
|
if [ -z "$experiment_id" ]; then
|
|
20
20
|
abcli_log_error "@mlflow: browse: $object_name: object not found."
|
|
21
21
|
return 1
|
|
@@ -25,7 +25,7 @@ function abcli_mlflow_browse() {
|
|
|
25
25
|
url="$url/experiments/$experiment_id"
|
|
26
26
|
|
|
27
27
|
if [[ "$browse_experiment" == 0 ]]; then
|
|
28
|
-
local last_run_id=$(
|
|
28
|
+
local last_run_id=$(bluer_objects_mlflow get_run_id $object_name --count 1)
|
|
29
29
|
abcli_log "last run id: $last_run_id"
|
|
30
30
|
|
|
31
31
|
url="$url/runs/$last_run_id"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_objects_mlflow_cache() {
|
|
4
4
|
local task=$1
|
|
5
5
|
|
|
6
6
|
local keyword=$2
|
|
7
7
|
|
|
8
8
|
if [ "$task" == "read" ]; then
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
bluer_objects_mlflow_tags get \
|
|
11
11
|
$keyword \
|
|
12
12
|
--tag referent \
|
|
13
13
|
"${@:3}"
|
|
@@ -18,7 +18,7 @@ function abcli_mlflow_cache() {
|
|
|
18
18
|
if [ "$task" == "write" ]; then
|
|
19
19
|
local value=$3
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
bluer_objects_mlflow_tags set \
|
|
22
22
|
$keyword \
|
|
23
23
|
referent=$value \
|
|
24
24
|
"${@:4}"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_objects_mlflow_tags() {
|
|
4
4
|
local task=$1
|
|
5
5
|
|
|
6
|
-
local function_name=
|
|
6
|
+
local function_name=bluer_objects_mlflow_tags_$task
|
|
7
7
|
if [[ $(type -t $function_name) == "function" ]]; then
|
|
8
8
|
$function_name "${@:2}"
|
|
9
9
|
return
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export ABCLI_MLFLOW_STAGES="Staging|Production|Archived"
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function bluer_objects_mlflow_transition() {
|
|
6
6
|
local options=$1
|
|
7
7
|
local model_name=$(abcli_option "$options" model)
|
|
8
8
|
local stage_name=$(abcli_option_choice "$options" $(echo $ABCLI_MLFLOW_STAGES | tr \| ,) Staging)
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
export MLFLOW_TRACKING_URI=$HOME/mlruns
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function bluer_objects_mlflow() {
|
|
6
6
|
local task=$1
|
|
7
7
|
|
|
8
|
-
local function_name=
|
|
8
|
+
local function_name=bluer_objects_mlflow_$task
|
|
9
9
|
if [[ $(type -t $function_name) == "function" ]]; then
|
|
10
10
|
$function_name "${@:2}"
|
|
11
11
|
return
|
|
@@ -11,7 +11,7 @@ function bluer_ai_publish() {
|
|
|
11
11
|
[[ "$do_download" == 1 ]] &&
|
|
12
12
|
bluer_objects_download - $object_name
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
bluer_objects_mlflow_tags set $object_name published
|
|
15
15
|
|
|
16
16
|
local public_object_name=$(abcli_option "$options" as $object_name)
|
|
17
17
|
|
|
@@ -4,11 +4,11 @@ function test_bluer_objects_mlflow_cache() {
|
|
|
4
4
|
local keyword="test-keyword-$(abcli_string_timestamp_short)"
|
|
5
5
|
local value="test-value-$(abcli_string_timestamp_short)"
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
bluer_objects_mlflow cache write \
|
|
8
8
|
$keyword $value
|
|
9
9
|
[[ $? -ne 0 ]] && return 1
|
|
10
10
|
|
|
11
11
|
abcli_assert \
|
|
12
|
-
$(
|
|
12
|
+
$(bluer_objects_mlflow cache read $keyword) \
|
|
13
13
|
$value
|
|
14
14
|
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
function test_bluer_objects_mlflow_logging() {
|
|
4
4
|
local object_name="test-object-$(abcli_string_timestamp_short)"
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
bluer_objects_clone \
|
|
7
7
|
upload \
|
|
8
8
|
vanwatch-mlflow-validation-2024-09-23-10673 \
|
|
9
9
|
"$object_name"
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
bluer_objects_mlflow rm $object_name
|
|
12
12
|
}
|
|
@@ -5,25 +5,25 @@ function test_bluer_objects_mlflow_tags_validation() {
|
|
|
5
5
|
local tag="test-tag-$(abcli_string_timestamp_short)"
|
|
6
6
|
local value="test-value-$(abcli_string_timestamp_short)"
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
bluer_objects_mlflow tags set \
|
|
9
9
|
$object_name \
|
|
10
10
|
$tag=$value
|
|
11
11
|
[[ $? -ne 0 ]] && return 1
|
|
12
12
|
|
|
13
13
|
abcli_assert \
|
|
14
|
-
"$(
|
|
14
|
+
"$(bluer_objects_mlflow tags get $object_name --tag $tag)" \
|
|
15
15
|
$value
|
|
16
16
|
[[ $? -ne 0 ]] && return 1
|
|
17
17
|
|
|
18
18
|
abcli_assert \
|
|
19
|
-
"$(
|
|
19
|
+
"$(bluer_objects_mlflow tags get $object_name --tag some-tag)" \
|
|
20
20
|
- empty
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
function test_bluer_objects_mlflow_tags_search() {
|
|
24
24
|
local options=$1
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
bluer_objects_mlflow_tags search \
|
|
27
27
|
cloned.firms_area-template-v1=True \
|
|
28
28
|
--log 0
|
|
29
29
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from bluer_options.terminal import show_usage, xtra
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def help_publish(
|
|
7
|
+
tokens: List[str],
|
|
8
|
+
mono: bool,
|
|
9
|
+
) -> str:
|
|
10
|
+
options = "".join(
|
|
11
|
+
[
|
|
12
|
+
xtra("download,", mono=mono),
|
|
13
|
+
"extensions=png+geojson",
|
|
14
|
+
xtra(",~pull,", mono=mono),
|
|
15
|
+
"push",
|
|
16
|
+
]
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
args = [
|
|
20
|
+
"[--prefix <prefix>]",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
return show_usage(
|
|
24
|
+
[
|
|
25
|
+
"@assets",
|
|
26
|
+
"publish",
|
|
27
|
+
f"[{options}]",
|
|
28
|
+
"[.|<object-name>]",
|
|
29
|
+
]
|
|
30
|
+
+ args,
|
|
31
|
+
"<object-name>/<prefix> -> assets.",
|
|
32
|
+
mono=mono,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
help_functions = {
|
|
37
|
+
"publish": help_publish,
|
|
38
|
+
}
|
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
from bluer_ai.help.generic import help_functions as generic_help_functions
|
|
2
2
|
|
|
3
3
|
from bluer_objects import ALIAS
|
|
4
|
+
from bluer_objects.help.assets import help_functions as help_assets
|
|
4
5
|
from bluer_objects.help.clone import help_clone
|
|
5
6
|
from bluer_objects.help.download import help_download
|
|
7
|
+
from bluer_objects.help.gif import help_gif
|
|
8
|
+
from bluer_objects.help.host import help_functions as help_host
|
|
6
9
|
from bluer_objects.help.metadata import help_functions as help_metadata
|
|
10
|
+
from bluer_objects.help.mlflow import help_functions as help_mlflow
|
|
7
11
|
from bluer_objects.help.upload import help_upload
|
|
8
12
|
|
|
9
13
|
help_functions = generic_help_functions(plugin_name=ALIAS)
|
|
10
14
|
|
|
11
15
|
help_functions.update(
|
|
12
16
|
{
|
|
17
|
+
"assets": help_assets,
|
|
13
18
|
"clone": help_clone,
|
|
14
19
|
"download": help_download,
|
|
20
|
+
"gif": help_gif,
|
|
21
|
+
"host": help_host,
|
|
15
22
|
"metadata": help_metadata,
|
|
23
|
+
"mlflow": help_mlflow,
|
|
16
24
|
"upload": help_upload,
|
|
17
25
|
}
|
|
18
26
|
)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from bluer_options.terminal import show_usage, xtra
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def help_gif(
|
|
7
|
+
tokens: List[str],
|
|
8
|
+
mono: bool,
|
|
9
|
+
) -> str:
|
|
10
|
+
options = xtra("~download,dryrun,~upload", mono=mono)
|
|
11
|
+
|
|
12
|
+
args = [
|
|
13
|
+
"[--frame_duration <150>]",
|
|
14
|
+
"[--output_filename <object-name>.gif]",
|
|
15
|
+
"[--scale <1>]",
|
|
16
|
+
"[--suffix <.png>]",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
return show_usage(
|
|
20
|
+
[
|
|
21
|
+
"@gif",
|
|
22
|
+
f"[{options}]",
|
|
23
|
+
"[.|<object-name>]",
|
|
24
|
+
]
|
|
25
|
+
+ args,
|
|
26
|
+
"generate <object-name>.gif.",
|
|
27
|
+
mono=mono,
|
|
28
|
+
)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from bluer_options.terminal import show_usage, xtra
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def help_get(
|
|
7
|
+
tokens: List[str],
|
|
8
|
+
mono: bool,
|
|
9
|
+
) -> str:
|
|
10
|
+
options = "name"
|
|
11
|
+
|
|
12
|
+
return show_usage(
|
|
13
|
+
[
|
|
14
|
+
"@host",
|
|
15
|
+
"get",
|
|
16
|
+
f"[{options}]",
|
|
17
|
+
],
|
|
18
|
+
"get $abcli_host_name.",
|
|
19
|
+
mono=mono,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def help_reboot(
|
|
24
|
+
tokens: List[str],
|
|
25
|
+
mono: bool,
|
|
26
|
+
) -> str:
|
|
27
|
+
options = xtra("dryrun", mono=mono)
|
|
28
|
+
|
|
29
|
+
return show_usage(
|
|
30
|
+
[
|
|
31
|
+
"@host",
|
|
32
|
+
"reboot",
|
|
33
|
+
f"[{options}]",
|
|
34
|
+
],
|
|
35
|
+
"reboot host.",
|
|
36
|
+
mono=mono,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def help_shutdown(
|
|
41
|
+
tokens: List[str],
|
|
42
|
+
mono: bool,
|
|
43
|
+
) -> str:
|
|
44
|
+
options = xtra("dryrun", mono=mono)
|
|
45
|
+
|
|
46
|
+
return show_usage(
|
|
47
|
+
[
|
|
48
|
+
"@host",
|
|
49
|
+
"shutdown",
|
|
50
|
+
f"[{options}]",
|
|
51
|
+
],
|
|
52
|
+
"shutdown host.",
|
|
53
|
+
mono=mono,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
help_functions = {
|
|
58
|
+
"get": help_get,
|
|
59
|
+
"reboot": help_reboot,
|
|
60
|
+
"shutdown": help_shutdown,
|
|
61
|
+
}
|