bluer-objects 6.51.1__tar.gz → 6.59.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.51.1/bluer_objects.egg-info → bluer_objects-6.59.1}/PKG-INFO +3 -3
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/README.md +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/bluer_objects.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/clone.sh +3 -3
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/download.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/gif.sh +4 -4
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/host.sh +2 -2
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/ls.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/metadata/get.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/metadata/post.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/browse.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/log_run.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/run.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +2 -2
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/tags/get.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/tags/set.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/test.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/object.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/select.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/clear.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/rm.sh +2 -2
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/status.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/README.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/help.sh +4 -2
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/host.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/ls.sh +4 -4
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/metadata.sh +4 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +2 -2
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/storage.sh +7 -7
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/version.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/upload.sh +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/__init__.py +1 -1
- {bluer_objects-6.51.1 → bluer_objects-6.59.1/bluer_objects.egg-info}/PKG-INFO +3 -3
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/LICENSE +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/MANIFEST.in +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/alias.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/assets.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/clone.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/functions.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/gif.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/host.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/ls.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/metadata.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/mlflow/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/mlflow/cache.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/mlflow/tags.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/testing/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/testing/__main__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/testing/functions.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_file_load_save.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_objects.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_storage.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_testing.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects.egg-info/SOURCES.txt +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/pyproject.toml +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/requirements.txt +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/setup.cfg +0 -0
- {bluer_objects-6.51.1 → bluer_objects-6.59.1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.59.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.
|
|
56
|
+
built by 🌀 [`bluer_options-5.55.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.59.1`](https://github.com/kamangir/bluer-objects).
|
|
57
57
|
|
|
58
|
-
built by 🌀 [`blueness-3.
|
|
58
|
+
built by 🌀 [`blueness-3.104.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.
|
|
22
|
+
built by 🌀 [`bluer_options-5.55.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.59.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -9,8 +9,8 @@ function bluer_objects_clone() {
|
|
|
9
9
|
local do_download=$(abcli_option_int "$options" download 1)
|
|
10
10
|
local transfer_mechanism=$(abcli_option_choice "$options" cp,mv mv)
|
|
11
11
|
|
|
12
|
-
local object_1_name=$(
|
|
13
|
-
local object_2_name=$(
|
|
12
|
+
local object_1_name=$(bluer_ai_clarify_object $2 ..)
|
|
13
|
+
local object_2_name=$(bluer_ai_clarify_object $3 .)
|
|
14
14
|
|
|
15
15
|
abcli_log "$object_1_name -clone:$transfer_mechanism-> $object_2_name"
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ function bluer_objects_clone() {
|
|
|
21
21
|
local object_2_path=$ABCLI_OBJECT_ROOT/$object_2_name
|
|
22
22
|
|
|
23
23
|
if [[ "$copy_content" == 1 ]]; then
|
|
24
|
-
|
|
24
|
+
bluer_ai_eval - \
|
|
25
25
|
rsync \
|
|
26
26
|
-avv \
|
|
27
27
|
$object_1_path/ \
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
function bluer_objects_gif() {
|
|
4
4
|
local options=$1
|
|
5
5
|
local do_dryrun=$(abcli_option_int "$options" dryrun 0)
|
|
6
|
-
local do_download=$(abcli_option_int "$options" download $(
|
|
7
|
-
local do_upload=$(abcli_option_int "$options" upload $(
|
|
6
|
+
local do_download=$(abcli_option_int "$options" download $(bluer_ai_not $do_dryrun))
|
|
7
|
+
local do_upload=$(abcli_option_int "$options" upload $(bluer_ai_not $do_dryrun))
|
|
8
8
|
|
|
9
|
-
local object_name=$(
|
|
9
|
+
local object_name=$(bluer_ai_clarify_object $2 .)
|
|
10
10
|
|
|
11
11
|
[[ "$do_download" == 1 ]] &&
|
|
12
12
|
bluer_objects_download - $object_name
|
|
13
13
|
|
|
14
14
|
abcli_log "generating animated gif: $object_name ..."
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
bluer_ai_eval dryrun=$do_dryrun \
|
|
17
17
|
python3 -m bluer_objects.graphics \
|
|
18
18
|
generate_animated_gif \
|
|
19
19
|
--object_name $object_name \
|
|
@@ -13,13 +13,13 @@ function bluer_objects_host() {
|
|
|
13
13
|
fi
|
|
14
14
|
|
|
15
15
|
if [ $task == "reboot" ]; then
|
|
16
|
-
|
|
16
|
+
bluer_ai_eval ,$options \
|
|
17
17
|
sudo reboot
|
|
18
18
|
return
|
|
19
19
|
fi
|
|
20
20
|
|
|
21
21
|
if [ $task == "shutdown" ]; then
|
|
22
|
-
|
|
22
|
+
bluer_ai_eval ,$options \
|
|
23
23
|
sudo shutdown -h now
|
|
24
24
|
return
|
|
25
25
|
fi
|
|
@@ -6,7 +6,7 @@ function bluer_objects_metadata_get() {
|
|
|
6
6
|
|
|
7
7
|
local source=$2
|
|
8
8
|
[[ "$source_type" == object ]] &&
|
|
9
|
-
source=$(
|
|
9
|
+
source=$(bluer_ai_clarify_object $2 .)
|
|
10
10
|
|
|
11
11
|
local key=$(abcli_option "$options" key)
|
|
12
12
|
local default=$(abcli_option "$options" default)
|
|
@@ -10,7 +10,7 @@ function bluer_objects_metadata_post() {
|
|
|
10
10
|
|
|
11
11
|
local source=$4
|
|
12
12
|
[[ "$source_type" == object ]] &&
|
|
13
|
-
source=$(
|
|
13
|
+
source=$(bluer_ai_clarify_object $4 .)
|
|
14
14
|
|
|
15
15
|
python3 -m bluer_objects.metadata post \
|
|
16
16
|
--filename $(abcli_option "$options" filename metadata.yaml) \
|
|
@@ -13,7 +13,7 @@ function bluer_objects_mlflow_browse() {
|
|
|
13
13
|
elif [ $(abcli_option_int "$options" models 0) == 1 ]; then
|
|
14
14
|
url="$url/models"
|
|
15
15
|
else
|
|
16
|
-
local object_name=$(
|
|
16
|
+
local object_name=$(bluer_ai_clarify_object $2 .)
|
|
17
17
|
|
|
18
18
|
local experiment_id=$(bluer_objects_mlflow get_id $object_name)
|
|
19
19
|
if [ -z "$experiment_id" ]; then
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
function bluer_objects_mlflow_tags_clone() {
|
|
4
|
-
local source_object=$(
|
|
4
|
+
local source_object=$(bluer_ai_clarify_object $1 ..)
|
|
5
5
|
|
|
6
|
-
local destination_object=$(
|
|
6
|
+
local destination_object=$(bluer_ai_clarify_object $2 .)
|
|
7
7
|
|
|
8
8
|
abcli_log "mlflow: tags: clone: $source_object -> $destination_object ..."
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
function bluer_ai_select() {
|
|
4
|
-
local object_name=$(
|
|
4
|
+
local object_name=$(bluer_ai_clarify_object "$1" $(abcli_string_timestamp))
|
|
5
5
|
|
|
6
6
|
local options=$2
|
|
7
7
|
local do_open=$(abcli_option_int "$options" open 0)
|
|
@@ -4,8 +4,8 @@ function bluer_ai_storage_rm() {
|
|
|
4
4
|
local options=$1
|
|
5
5
|
local do_dryrun=$(abcli_option_int "$options" dryrun 1)
|
|
6
6
|
|
|
7
|
-
local object_name=$(
|
|
7
|
+
local object_name=$(bluer_ai_clarify_object $2 void)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
bluer_ai_eval dryrun=$do_dryrun \
|
|
10
10
|
rm -rfv $ABCLI_OBJECT_ROOT/$object_name
|
|
11
11
|
}
|
|
@@ -6,6 +6,6 @@ function bluer_ai_storage_status() {
|
|
|
6
6
|
local depth=$(abcli_option_int "$options" depth 2)
|
|
7
7
|
local do_dryrun=$(abcli_option_int "$options" dryrun 0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
bluer_ai_eval dryrun=$do_dryrun,path=$ABCLI_PATH_STORAGE \
|
|
10
10
|
"du -hc -d $depth | sort -h -r | head -n $count"
|
|
11
11
|
}
|
|
@@ -72,12 +72,14 @@ function test_bluer_objects_help() {
|
|
|
72
72
|
\
|
|
73
73
|
"@upload" \
|
|
74
74
|
\
|
|
75
|
+
"@wait" \
|
|
76
|
+
\
|
|
75
77
|
"bluer_objects"; do
|
|
76
|
-
|
|
78
|
+
bluer_ai_eval ,$options \
|
|
77
79
|
bluer_ai_help $module
|
|
78
80
|
[[ $? -ne 0 ]] && return 1
|
|
79
81
|
|
|
80
|
-
|
|
82
|
+
bluer_ai_hr
|
|
81
83
|
done
|
|
82
84
|
|
|
83
85
|
return 0
|
|
@@ -7,19 +7,19 @@ function test_bluer_objects_ls() {
|
|
|
7
7
|
create_test_asset \
|
|
8
8
|
--object_name $object_name
|
|
9
9
|
[[ $? -ne 0 ]] && return 1
|
|
10
|
-
|
|
10
|
+
bluer_ai_hr
|
|
11
11
|
|
|
12
12
|
bluer_objects_upload - $object_name
|
|
13
13
|
[[ $? -ne 0 ]] && return 1
|
|
14
|
-
|
|
14
|
+
bluer_ai_hr
|
|
15
15
|
|
|
16
16
|
bluer_objects_ls cloud $object_name
|
|
17
17
|
[[ $? -ne 0 ]] && return 1
|
|
18
|
-
|
|
18
|
+
bluer_ai_hr
|
|
19
19
|
|
|
20
20
|
bluer_objects_ls local $object_name
|
|
21
21
|
[[ $? -ne 0 ]] && return 1
|
|
22
|
-
|
|
22
|
+
bluer_ai_hr
|
|
23
23
|
|
|
24
24
|
bluer_objects_ls $abcli_path_bash/tests/
|
|
25
25
|
}
|
|
@@ -47,7 +47,10 @@ function test_bluer_objects_metadata() {
|
|
|
47
47
|
key=$key,filename=metadata.yaml,path \
|
|
48
48
|
$object_path)
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
bluer_ai_assert "$value" "$returned_value"
|
|
51
|
+
[[ $? -ne 0 ]] && return 1
|
|
51
52
|
done
|
|
52
53
|
done
|
|
54
|
+
|
|
55
|
+
return 0
|
|
53
56
|
}
|
|
@@ -10,12 +10,12 @@ function test_bluer_objects_mlflow_tags_validation() {
|
|
|
10
10
|
$tag=$value
|
|
11
11
|
[[ $? -ne 0 ]] && return 1
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
bluer_ai_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
|
+
bluer_ai_assert \
|
|
19
19
|
"$(bluer_objects_mlflow tags get $object_name --tag some-tag)" \
|
|
20
20
|
- empty
|
|
21
21
|
}
|
|
@@ -13,29 +13,29 @@ function test_bluer_objects_storage() {
|
|
|
13
13
|
[[ $? -ne 0 ]] && return 1
|
|
14
14
|
|
|
15
15
|
# testing upload
|
|
16
|
-
|
|
16
|
+
bluer_ai_hr
|
|
17
17
|
|
|
18
18
|
bluer_objects_upload \
|
|
19
19
|
filename=this.yaml \
|
|
20
20
|
$object_name
|
|
21
21
|
[[ $? -ne 0 ]] && return 1
|
|
22
|
-
|
|
22
|
+
bluer_ai_hr
|
|
23
23
|
|
|
24
24
|
bluer_objects_upload \
|
|
25
25
|
filename=subfolder/this.yaml \
|
|
26
26
|
$object_name
|
|
27
27
|
[[ $? -ne 0 ]] && return 1
|
|
28
|
-
|
|
28
|
+
bluer_ai_hr
|
|
29
29
|
|
|
30
30
|
bluer_objects_upload \
|
|
31
31
|
- \
|
|
32
32
|
$object_name
|
|
33
33
|
[[ $? -ne 0 ]] && return 1
|
|
34
|
-
|
|
34
|
+
bluer_ai_hr
|
|
35
35
|
|
|
36
36
|
# clean-up
|
|
37
37
|
rm -rfv $object_path
|
|
38
|
-
|
|
38
|
+
bluer_ai_hr
|
|
39
39
|
|
|
40
40
|
# testing download
|
|
41
41
|
|
|
@@ -43,13 +43,13 @@ function test_bluer_objects_storage() {
|
|
|
43
43
|
filename=this.yaml \
|
|
44
44
|
$object_name
|
|
45
45
|
[[ $? -ne 0 ]] && return 1
|
|
46
|
-
|
|
46
|
+
bluer_ai_hr
|
|
47
47
|
|
|
48
48
|
bluer_objects_download \
|
|
49
49
|
filename=subfolder/this.yaml \
|
|
50
50
|
$object_name
|
|
51
51
|
[[ $? -ne 0 ]] && return 1
|
|
52
|
-
|
|
52
|
+
bluer_ai_hr
|
|
53
53
|
|
|
54
54
|
bluer_objects_download \
|
|
55
55
|
- \
|
|
@@ -4,7 +4,7 @@ function bluer_objects_upload() {
|
|
|
4
4
|
local options=$1
|
|
5
5
|
local filename=$(abcli_option "$options" filename)
|
|
6
6
|
|
|
7
|
-
local object_name=$(
|
|
7
|
+
local object_name=$(bluer_ai_clarify_object $2 .)
|
|
8
8
|
local object_path=$ABCLI_OBJECT_ROOT/$object_name
|
|
9
9
|
|
|
10
10
|
rm -rf $object_path/auxiliary
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.59.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.
|
|
56
|
+
built by 🌀 [`bluer_options-5.55.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.59.1`](https://github.com/kamangir/bluer-objects).
|
|
57
57
|
|
|
58
|
-
built by 🌀 [`blueness-3.
|
|
58
|
+
built by 🌀 [`blueness-3.104.1`](https://github.com/kamangir/blueness).
|
|
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
|
{bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh
RENAMED
|
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
|
|
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
|
|
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
|
{bluer_objects-6.51.1 → bluer_objects-6.59.1}/bluer_objects/tests/test_graphics_signature.py
RENAMED
|
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
|