bluer-objects 6.7.1__tar.gz → 6.8.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.7.1/bluer_objects.egg-info → bluer_objects-6.8.1}/PKG-INFO +2 -2
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/README.md +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/alias.sh +2 -2
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/blue_objects.sh +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/host.sh +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/cache.sh +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow.sh +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/object.sh +0 -26
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/publish.sh +2 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage.sh +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/__init__.py +1 -1
- {bluer_objects-6.7.1 → bluer_objects-6.8.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects.egg-info/SOURCES.txt +0 -4
- bluer_objects-6.7.1/bluer_objects/.abcli/mysql/cache.sh +0 -65
- bluer_objects-6.7.1/bluer_objects/.abcli/mysql/relations.sh +0 -83
- bluer_objects-6.7.1/bluer_objects/.abcli/mysql/tags.sh +0 -85
- bluer_objects-6.7.1/bluer_objects/.abcli/mysql.sh +0 -16
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/LICENSE +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/MANIFEST.in +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/cache.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/clone.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/gif.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tags.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/help.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/host.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mysql_cache.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mysql_relations.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/mysql_tags.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/test_gif.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/.abcli/upload.sh +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/help/functions.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_file_load_save.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_objects.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/pyproject.toml +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/requirements.txt +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.1}/setup.cfg +0 -0
- {bluer_objects-6.7.1 → bluer_objects-6.8.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.8.1
|
|
4
4
|
Summary: 🌀 data objects for Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -52,6 +52,6 @@ Also home to [blue README](https://github.com/kamangir/bluer-objects/blob/main/b
|
|
|
52
52
|
|
|
53
53
|
[](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)
|
|
54
54
|
|
|
55
|
-
built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
55
|
+
built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.8.1`](https://github.com/kamangir/bluer-objects).
|
|
56
56
|
|
|
57
57
|
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 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
22
|
+
built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.8.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
+
alias @ai=blue_ai
|
|
4
|
+
|
|
3
5
|
alias @download=abcli_download
|
|
4
6
|
|
|
5
7
|
alias @gif=abcli_gif
|
|
@@ -25,8 +27,6 @@ alias @mlflow=abcli_mlflow
|
|
|
25
27
|
|
|
26
28
|
alias @mysql=abcli_mysql
|
|
27
29
|
|
|
28
|
-
alias @object=abcli_object
|
|
29
|
-
|
|
30
30
|
alias @objects=bluer_objects
|
|
31
31
|
|
|
32
32
|
alias @publish=abcli_publish
|
|
@@ -22,33 +22,7 @@ function abcli_clarify_object() {
|
|
|
22
22
|
object_name=${!object_var_prev2}
|
|
23
23
|
fi
|
|
24
24
|
|
|
25
|
-
if [ "$(abcli_keyword_is $object_name validate)" == true ]; then
|
|
26
|
-
local object_name="validate"
|
|
27
|
-
fi
|
|
28
|
-
|
|
29
25
|
mkdir -p $ABCLI_OBJECT_ROOT/$object_name
|
|
30
26
|
|
|
31
27
|
echo $object_name
|
|
32
28
|
}
|
|
33
|
-
|
|
34
|
-
function abcli_object() {
|
|
35
|
-
local task=$(abcli_unpack_keyword $1 void)
|
|
36
|
-
|
|
37
|
-
if [ "$task" == "open" ]; then
|
|
38
|
-
local object_name=$(abcli_clarify_object $2 .)
|
|
39
|
-
|
|
40
|
-
abcli_download - $object_name
|
|
41
|
-
|
|
42
|
-
rm -v ../$object_name.tar.gz
|
|
43
|
-
aws s3 rm "$ABCLI_S3_OBJECT_PREFIX/$object_name.tar.gz"
|
|
44
|
-
|
|
45
|
-
abcli_tags set $object_name ~solid
|
|
46
|
-
|
|
47
|
-
abcli_upload - $object_name
|
|
48
|
-
|
|
49
|
-
return
|
|
50
|
-
fi
|
|
51
|
-
|
|
52
|
-
abcli_log_error "@object: $task: command not found."
|
|
53
|
-
return 1
|
|
54
|
-
}
|
|
@@ -22,7 +22,8 @@ function abcli_publish() {
|
|
|
22
22
|
aws s3 cp \
|
|
23
23
|
$ABCLI_S3_OBJECT_PREFIX/$object_name.tar.gz \
|
|
24
24
|
s3://$ABCLI_AWS_S3_PUBLIC_BUCKET_NAME/$public_object_name.tar.gz
|
|
25
|
-
|
|
25
|
+
aws s3 rm \
|
|
26
|
+
$ABCLI_S3_OBJECT_PREFIX/$object_name.tar.gz
|
|
26
27
|
|
|
27
28
|
abcli_log "🔗 $ABCLI_PUBLIC_PREFIX/$public_object_name.tar.gz"
|
|
28
29
|
return
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.8.1
|
|
4
4
|
Summary: 🌀 data objects for Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -52,6 +52,6 @@ Also home to [blue README](https://github.com/kamangir/bluer-objects/blob/main/b
|
|
|
52
52
|
|
|
53
53
|
[](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)
|
|
54
54
|
|
|
55
|
-
built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
55
|
+
built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.8.1`](https://github.com/kamangir/bluer-objects).
|
|
56
56
|
|
|
57
57
|
built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
|
|
@@ -32,7 +32,6 @@ bluer_objects/.abcli/host.sh
|
|
|
32
32
|
bluer_objects/.abcli/ls.sh
|
|
33
33
|
bluer_objects/.abcli/metadata.sh
|
|
34
34
|
bluer_objects/.abcli/mlflow.sh
|
|
35
|
-
bluer_objects/.abcli/mysql.sh
|
|
36
35
|
bluer_objects/.abcli/object.sh
|
|
37
36
|
bluer_objects/.abcli/publish.sh
|
|
38
37
|
bluer_objects/.abcli/select.sh
|
|
@@ -54,9 +53,6 @@ bluer_objects/.abcli/mlflow/tags/clone.sh
|
|
|
54
53
|
bluer_objects/.abcli/mlflow/tags/get.sh
|
|
55
54
|
bluer_objects/.abcli/mlflow/tags/search.sh
|
|
56
55
|
bluer_objects/.abcli/mlflow/tags/set.sh
|
|
57
|
-
bluer_objects/.abcli/mysql/cache.sh
|
|
58
|
-
bluer_objects/.abcli/mysql/relations.sh
|
|
59
|
-
bluer_objects/.abcli/mysql/tags.sh
|
|
60
56
|
bluer_objects/.abcli/storage/clear.sh
|
|
61
57
|
bluer_objects/.abcli/storage/download_file.sh
|
|
62
58
|
bluer_objects/.abcli/storage/exists.sh
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function abcli_mysql_cache() {
|
|
4
|
-
local task=$(abcli_unpack_keyword $1 help)
|
|
5
|
-
local keyword=$2
|
|
6
|
-
|
|
7
|
-
if [ "$task" == "help" ]; then
|
|
8
|
-
abcli_show_usage "@mysql cache clone$ABCUL<object-1>$ABCUL<object-2>" \
|
|
9
|
-
"clone the mysql cache from <object-1> to <object-2>."
|
|
10
|
-
|
|
11
|
-
abcli_show_usage "@mysql cache read$ABCUL<keyword>" \
|
|
12
|
-
"read mysql.cache[<keyword>]."
|
|
13
|
-
|
|
14
|
-
abcli_show_usage "@mysql cache search$ABCUL<keyword>" \
|
|
15
|
-
"search in the mysql cache for <keyword>."
|
|
16
|
-
|
|
17
|
-
abcli_show_usage "@mysql cache write$ABCUL<keyword> <value>$ABCUL[validate]" \
|
|
18
|
-
"write mysql.cache[<keyword>]=value."
|
|
19
|
-
return
|
|
20
|
-
fi
|
|
21
|
-
|
|
22
|
-
if [ "$task" == "clone" ]; then
|
|
23
|
-
python3 -m bluer_objects.mysql.cache \
|
|
24
|
-
clone \
|
|
25
|
-
--source "$2" \
|
|
26
|
-
--destination "$3" \
|
|
27
|
-
"${@:4}"
|
|
28
|
-
return
|
|
29
|
-
fi
|
|
30
|
-
|
|
31
|
-
if [ "$task" == "read" ]; then
|
|
32
|
-
python3 -m bluer_objects.mysql.cache \
|
|
33
|
-
read \
|
|
34
|
-
--keyword "$keyword" \
|
|
35
|
-
"${@:3}"
|
|
36
|
-
return
|
|
37
|
-
fi
|
|
38
|
-
|
|
39
|
-
if [ "$task" == "search" ]; then
|
|
40
|
-
python3 -m bluer_objects.mysql.cache \
|
|
41
|
-
search \
|
|
42
|
-
--keyword "$keyword" \
|
|
43
|
-
"${@:3}"
|
|
44
|
-
return
|
|
45
|
-
fi
|
|
46
|
-
|
|
47
|
-
if [ "$task" == "write" ]; then
|
|
48
|
-
local options=$4
|
|
49
|
-
local do_validate=$(abcli_option_int "$options" "validate" 0)
|
|
50
|
-
|
|
51
|
-
python3 -m bluer_objects.mysql.cache \
|
|
52
|
-
write \
|
|
53
|
-
--keyword "$keyword" \
|
|
54
|
-
--value "$3" \
|
|
55
|
-
"${@:5}"
|
|
56
|
-
|
|
57
|
-
[[ "$do_validate" == 1 ]] &&
|
|
58
|
-
abcli_log "@mysql: cache[$keyword] <- $(abcli_mysql_cache read $keyword)"
|
|
59
|
-
|
|
60
|
-
return 0
|
|
61
|
-
fi
|
|
62
|
-
|
|
63
|
-
abcli_log_error "@mysql: cache: $task: command not found."
|
|
64
|
-
return 1
|
|
65
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function abcli_mysql_relations() {
|
|
4
|
-
local task=$(abcli_unpack_keyword $1 help)
|
|
5
|
-
local object_1=$(abcli_clarify_object $2 .)
|
|
6
|
-
|
|
7
|
-
if [ "$task" == "help" ]; then
|
|
8
|
-
abcli_show_usage "@mysql relations clone$ABCUL<object-1>$ABCUL<object-2>" \
|
|
9
|
-
"clone <object-1> mysql relations -> <object-2>."
|
|
10
|
-
|
|
11
|
-
abcli_show_usage "@mysql relations get$ABCUL<object-1>$ABCUL<object-2>" \
|
|
12
|
-
"get the mysql relation between object_1 and object_2."
|
|
13
|
-
|
|
14
|
-
local args="[--count <count>]$ABCUL[--delim space]$ABCUL[--log 0]$ABCUL[--return_list 1]"
|
|
15
|
-
abcli_show_usage "@mysql relations list$ABCUL$args" \
|
|
16
|
-
"list possible mysql relations."
|
|
17
|
-
|
|
18
|
-
abcli_show_usage "@mysql relations search$ABCUL<object-name>$ABCUL[--relation <relation>]" \
|
|
19
|
-
"search for all mysql relations of/relation to <object-name>."
|
|
20
|
-
|
|
21
|
-
abcli_show_usage "@mysql relations set$ABCUL<object-1>$ABCUL<object-2>$ABCUL<relation>$ABCUL[validate]" \
|
|
22
|
-
"set <object-1> =mysql.relation=> <object-2>."
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
if [ "$task" == "clone" ] || [ "$task" == "get" ] || [ "$task" == "set" ]; then
|
|
28
|
-
local object_2=$(abcli_clarify_object $3 .)
|
|
29
|
-
fi
|
|
30
|
-
|
|
31
|
-
if [ "$task" == "clone" ]; then
|
|
32
|
-
python3 -m bluer_objects.mysql.relations \
|
|
33
|
-
clone \
|
|
34
|
-
--object_1 $object_1 \
|
|
35
|
-
--object_2 $object_2 \
|
|
36
|
-
"${@:4}"
|
|
37
|
-
return
|
|
38
|
-
fi
|
|
39
|
-
|
|
40
|
-
if [ "$task" == "get" ]; then
|
|
41
|
-
python3 -m bluer_objects.mysql.relations \
|
|
42
|
-
get \
|
|
43
|
-
--object_1 $object_1 \
|
|
44
|
-
--object_2 $object_2 \
|
|
45
|
-
"${@:4}"
|
|
46
|
-
return
|
|
47
|
-
fi
|
|
48
|
-
|
|
49
|
-
if [ "$task" == "list" ]; then
|
|
50
|
-
python3 -m bluer_objects.mysql.relations \
|
|
51
|
-
list \
|
|
52
|
-
"${@:2}"
|
|
53
|
-
return
|
|
54
|
-
fi
|
|
55
|
-
|
|
56
|
-
if [ "$task" == "search" ]; then
|
|
57
|
-
python3 -m bluer_objects.mysql.relations \
|
|
58
|
-
search \
|
|
59
|
-
--object_1 $object_1 \
|
|
60
|
-
"${@:3}"
|
|
61
|
-
return
|
|
62
|
-
fi
|
|
63
|
-
|
|
64
|
-
if [ "$task" == "set" ]; then
|
|
65
|
-
local options=$5
|
|
66
|
-
local do_validate=$(abcli_option_int "$options" validate 0)
|
|
67
|
-
|
|
68
|
-
python3 -m bluer_objects.mysql.relations \
|
|
69
|
-
set \
|
|
70
|
-
--object_1 $object_1 \
|
|
71
|
-
--object_2 $object_2 \
|
|
72
|
-
--relation $4 \
|
|
73
|
-
"${@:6}"
|
|
74
|
-
|
|
75
|
-
[[ "$do_validate" == 1 ]] &&
|
|
76
|
-
abcli_log "@mysql: relations: $object_1 -$(abcli_mysql_relations get $object_1 $object_2 --log 0)-> $object_2"
|
|
77
|
-
|
|
78
|
-
return 0
|
|
79
|
-
fi
|
|
80
|
-
|
|
81
|
-
abcli_log_error "@mysql: relations: $task: command not found."
|
|
82
|
-
return 1
|
|
83
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
export abcli_tag_search_args="[--count <count>]$ABCUL[--delim space]$ABCUL[--log 0]$ABCUL[--offset <offset>]"
|
|
4
|
-
|
|
5
|
-
function abcli_mysql_tags() {
|
|
6
|
-
local task=$(abcli_unpack_keyword $1 help)
|
|
7
|
-
local object=$(abcli_clarify_object $2 .)
|
|
8
|
-
|
|
9
|
-
if [ "$task" == "help" ]; then
|
|
10
|
-
abcli_show_usage "@mysql tags clone$ABCUL<object-1>$ABCUL<object-2>" \
|
|
11
|
-
"clone <object-1> mysql tags -> <object-2>."
|
|
12
|
-
|
|
13
|
-
abcli_show_usage "@mysql tags get$ABCUL<object-name>" \
|
|
14
|
-
"get <object-name> mysql tags."
|
|
15
|
-
|
|
16
|
-
abcli_show_usage "@mysql tags search$ABCUL<tag>$ABCUL$abcli_tag_search_args" \
|
|
17
|
-
"search for all objects that are tagged tag in mysql."
|
|
18
|
-
|
|
19
|
-
abcli_show_usage "@mysql tags set$ABCUL<object-1,object-2>$ABCUL<tag-1,~tag-2>$ABCUL[validate]" \
|
|
20
|
-
"add <tag-1> and remove <tag-2> from <object-1> and <object-2> in mysql."
|
|
21
|
-
|
|
22
|
-
abcli_show_usage "@mysql tags set${ABCUL}disable|enable" \
|
|
23
|
-
"disable|enable '@mysql tags set'."
|
|
24
|
-
return
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
if [ "$task" == "clone" ]; then
|
|
28
|
-
python3 -m bluer_objects.mysql.tags \
|
|
29
|
-
clone \
|
|
30
|
-
--object $object \
|
|
31
|
-
--object_2 $(abcli_clarify_object $3 .) \
|
|
32
|
-
"${@:4}"
|
|
33
|
-
return
|
|
34
|
-
fi
|
|
35
|
-
|
|
36
|
-
if [ "$task" == "get" ]; then
|
|
37
|
-
python3 -m bluer_objects.mysql.tags \
|
|
38
|
-
get \
|
|
39
|
-
--item_name tag \
|
|
40
|
-
--object $object \
|
|
41
|
-
"${@:3}"
|
|
42
|
-
return
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
if [ "$task" == "search" ]; then
|
|
46
|
-
python3 -m bluer_objects.mysql.tags \
|
|
47
|
-
search \
|
|
48
|
-
--tags $2 \
|
|
49
|
-
"${@:3}"
|
|
50
|
-
return
|
|
51
|
-
fi
|
|
52
|
-
|
|
53
|
-
if [ "$task" == "set" ]; then
|
|
54
|
-
if [ "$object" == "disable" ]; then
|
|
55
|
-
export ABCLI_TAG_DISABLE=true
|
|
56
|
-
return
|
|
57
|
-
elif [ "$object" == "enable" ]; then
|
|
58
|
-
export ABCLI_TAG_DISABLE=false
|
|
59
|
-
return
|
|
60
|
-
elif [ "$ABCLI_TAG_DISABLE" == true ]; then
|
|
61
|
-
abcli_log_warning "ignored '@mysql tags set ${@:2}'."
|
|
62
|
-
return
|
|
63
|
-
fi
|
|
64
|
-
|
|
65
|
-
local options=$4
|
|
66
|
-
local do_validate=$(abcli_option_int "$options" validate 0)
|
|
67
|
-
|
|
68
|
-
local object
|
|
69
|
-
for object in $(echo "$object" | tr , " "); do
|
|
70
|
-
python3 -m bluer_objects.mysql.tags \
|
|
71
|
-
set \
|
|
72
|
-
--object $object \
|
|
73
|
-
--tags $3 \
|
|
74
|
-
"${@:5}"
|
|
75
|
-
|
|
76
|
-
[[ "$do_validate" == 1 ]] &&
|
|
77
|
-
abcli_log "mysql: $object: $(abcli_mysql_tags get $object --log 0)"
|
|
78
|
-
done
|
|
79
|
-
|
|
80
|
-
return 0
|
|
81
|
-
fi
|
|
82
|
-
|
|
83
|
-
abcli_log_error "@mysql: tags: $task: command not found."
|
|
84
|
-
return 1
|
|
85
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function abcli_mysql() {
|
|
4
|
-
local task=$(abcli_unpack_keyword $1 void)
|
|
5
|
-
|
|
6
|
-
local function_name=abcli_mysql_$task
|
|
7
|
-
if [[ $(type -t $function_name) == "function" ]]; then
|
|
8
|
-
$function_name "${@:2}"
|
|
9
|
-
return
|
|
10
|
-
fi
|
|
11
|
-
|
|
12
|
-
abcli_log_error "@mysql: $task: command not found."
|
|
13
|
-
return 1
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
abcli_source_caller_suffix_path /mysql
|
|
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.7.1 → bluer_objects-6.8.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
|
|
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
|