bluer-objects 6.129.1__tar.gz → 6.136.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.129.1/bluer_objects.egg-info → bluer_objects-6.136.1}/PKG-INFO +2 -2
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/README.md +1 -1
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/alias.sh +2 -0
- bluer_objects-6.136.1/bluer_objects/.abcli/create_test_asset.sh +10 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/clone.sh +2 -3
- bluer_objects-6.136.1/bluer_objects/.abcli/tests/create_test_asset.sh +16 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/gif.sh +2 -3
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/help.sh +2 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/ls.sh +2 -3
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/storage.sh +2 -3
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/__init__.py +1 -1
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/functions.py +2 -0
- bluer_objects-6.136.1/bluer_objects/help/create_test_asset.py +22 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/functions.py +2 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/testing/__main__.py +6 -0
- bluer_objects-6.136.1/bluer_objects/tests/test_file_download.py +25 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_file_load_save.py +1 -1
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_logger_matrix.py +2 -2
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_metadata.py +12 -6
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_mlflow.py +2 -2
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_objects.py +2 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects.egg-info/SOURCES.txt +4 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/LICENSE +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/MANIFEST.in +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/clone.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/gif.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/host.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/deploy.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/object.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/host.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/upload.sh +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/clone.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/gif.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/host.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/ls.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/metadata.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/mlflow/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/mlflow/cache.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/mlflow/tags.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/WebDAVrequest.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/testing/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/testing/functions.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_file_load_save_text.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage_base.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage_webdav_request.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage_webdav_zip.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_testing.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/pyproject.toml +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/requirements.txt +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.1}/setup.cfg +0 -0
- {bluer_objects-6.129.1 → bluer_objects-6.136.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.136.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -63,6 +63,6 @@ pip install bluer-objects
|
|
|
63
63
|
|
|
64
64
|
[](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)
|
|
65
65
|
|
|
66
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
66
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.136.1`](https://github.com/kamangir/bluer-objects).
|
|
67
67
|
|
|
68
68
|
built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
|
|
@@ -30,4 +30,4 @@ pip install bluer-objects
|
|
|
30
30
|
|
|
31
31
|
[](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)
|
|
32
32
|
|
|
33
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
33
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.136.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -5,9 +5,8 @@ function test_bluer_objects_clone() {
|
|
|
5
5
|
|
|
6
6
|
local source_object_name=test_bluer_objects_clone-$(bluer_ai_string_timestamp_short)
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--object_name $source_object_name
|
|
8
|
+
bluer_objects_create_test_asset \
|
|
9
|
+
$source_object_name
|
|
11
10
|
[[ $? -ne 0 ]] && return 1
|
|
12
11
|
|
|
13
12
|
local object_name=test_bluer_objects_clone-$(bluer_ai_string_timestamp_short)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#! /usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
function test_bluer_objects_create_test_asset() {
|
|
4
|
+
local options=$1
|
|
5
|
+
|
|
6
|
+
local source_object_name=test_bluer_objects_clone-$(bluer_ai_string_timestamp_short)
|
|
7
|
+
|
|
8
|
+
bluer_objects_create_test_asset \
|
|
9
|
+
$source_object_name
|
|
10
|
+
[[ $? -ne 0 ]] && return 1
|
|
11
|
+
bluer_ai_hr
|
|
12
|
+
|
|
13
|
+
bluer_objects_create_test_asset \
|
|
14
|
+
$source_object_name \
|
|
15
|
+
--depth 3
|
|
16
|
+
}
|
|
@@ -5,9 +5,8 @@ function test_bluer_objects_gif() {
|
|
|
5
5
|
|
|
6
6
|
local source_object_name=test_bluer_objects_clone-$(bluer_ai_string_timestamp_short)
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--object_name $source_object_name
|
|
8
|
+
bluer_objects_create_test_asset \
|
|
9
|
+
$source_object_name
|
|
11
10
|
[[ $? -ne 0 ]] && return 1
|
|
12
11
|
|
|
13
12
|
bluer_objects_gif \
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
function test_bluer_objects_ls() {
|
|
4
4
|
local object_name=test_bluer_objects_ls-$(bluer_ai_string_timestamp_short)
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--object_name $object_name
|
|
6
|
+
bluer_objects_create_test_asset \
|
|
7
|
+
$object_name
|
|
9
8
|
[[ $? -ne 0 ]] && return 1
|
|
10
9
|
bluer_ai_hr
|
|
11
10
|
|
|
@@ -7,9 +7,8 @@ function test_bluer_objects_storage() {
|
|
|
7
7
|
local object_path=$ABCLI_OBJECT_ROOT/$object_name
|
|
8
8
|
mkdir -pv $object_path
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--object_name $object_name
|
|
10
|
+
bluer_objects_create_test_asset \
|
|
11
|
+
$object_name
|
|
13
12
|
[[ $? -ne 0 ]] && return 1
|
|
14
13
|
bluer_ai_hr
|
|
15
14
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from bluer_options.terminal import show_usage
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def help_create_test_asset(
|
|
7
|
+
tokens: List[str],
|
|
8
|
+
mono: bool,
|
|
9
|
+
) -> str:
|
|
10
|
+
args = [
|
|
11
|
+
"[--depth 10]",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
return show_usage(
|
|
15
|
+
[
|
|
16
|
+
"@create_test_asset",
|
|
17
|
+
"[.|<object-name>]",
|
|
18
|
+
]
|
|
19
|
+
+ args,
|
|
20
|
+
"create test asset.",
|
|
21
|
+
mono=mono,
|
|
22
|
+
)
|
|
@@ -2,6 +2,7 @@ from bluer_ai.help.generic import help_functions as generic_help_functions
|
|
|
2
2
|
|
|
3
3
|
from bluer_objects import ALIAS
|
|
4
4
|
from bluer_objects.help.clone import help_clone
|
|
5
|
+
from bluer_objects.help.create_test_asset import help_create_test_asset
|
|
5
6
|
from bluer_objects.help.download import help_download
|
|
6
7
|
from bluer_objects.help.gif import help_gif
|
|
7
8
|
from bluer_objects.help.host import help_functions as help_host
|
|
@@ -15,6 +16,7 @@ help_functions = generic_help_functions(plugin_name=ALIAS)
|
|
|
15
16
|
help_functions.update(
|
|
16
17
|
{
|
|
17
18
|
"clone": help_clone,
|
|
19
|
+
"create_test_asset": help_create_test_asset,
|
|
18
20
|
"download": help_download,
|
|
19
21
|
"gif": help_gif,
|
|
20
22
|
"host": help_host,
|
|
@@ -19,12 +19,18 @@ parser.add_argument(
|
|
|
19
19
|
"--object_name",
|
|
20
20
|
type=str,
|
|
21
21
|
)
|
|
22
|
+
parser.add_argument(
|
|
23
|
+
"--depth",
|
|
24
|
+
type=int,
|
|
25
|
+
default=10,
|
|
26
|
+
)
|
|
22
27
|
args = parser.parse_args()
|
|
23
28
|
|
|
24
29
|
success = False
|
|
25
30
|
if args.task == "create_test_asset":
|
|
26
31
|
success = create_test_asset(
|
|
27
32
|
object_name=args.object_name,
|
|
33
|
+
depth=args.depth,
|
|
28
34
|
)
|
|
29
35
|
else:
|
|
30
36
|
success = None
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from bluer_objects import objects, file
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@pytest.mark.parametrize(
|
|
7
|
+
["url"],
|
|
8
|
+
[
|
|
9
|
+
["https://raw.githubusercontent.com/jbrownlee/Datasets/master/shampoo.csv"],
|
|
10
|
+
],
|
|
11
|
+
)
|
|
12
|
+
def test_file_download(url: str):
|
|
13
|
+
object_name = objects.unique_object("test_file_download")
|
|
14
|
+
|
|
15
|
+
filename = objects.path_of(
|
|
16
|
+
object_name=object_name,
|
|
17
|
+
filename=url.split("/")[-1],
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
assert file.download(
|
|
21
|
+
url=url,
|
|
22
|
+
filename=filename,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
assert file.exists(filename)
|
|
@@ -94,7 +94,7 @@ def test_file_load_save_matrix(
|
|
|
94
94
|
size: Tuple[int, ...],
|
|
95
95
|
dtype: Union[np.dtype, type],
|
|
96
96
|
) -> None:
|
|
97
|
-
object_name = objects.unique_object(test_file_load_save_matrix)
|
|
97
|
+
object_name = objects.unique_object("test_file_load_save_matrix")
|
|
98
98
|
|
|
99
99
|
test_matrix = (
|
|
100
100
|
np.random.randint(0, 256, size=size, dtype=dtype)
|
|
@@ -18,7 +18,7 @@ def test_log_matrix(
|
|
|
18
18
|
test_image,
|
|
19
19
|
verbose: bool,
|
|
20
20
|
):
|
|
21
|
-
object_name = objects.unique_object()
|
|
21
|
+
object_name = objects.unique_object("test_log_matrix")
|
|
22
22
|
|
|
23
23
|
assert log_matrix(
|
|
24
24
|
matrix=test_image,
|
|
@@ -58,7 +58,7 @@ def test_log_matrix_hist(
|
|
|
58
58
|
test_image,
|
|
59
59
|
verbose: bool,
|
|
60
60
|
):
|
|
61
|
-
object_name = objects.unique_object()
|
|
61
|
+
object_name = objects.unique_object("test_log_matrix_hist")
|
|
62
62
|
|
|
63
63
|
assert log_matrix_hist(
|
|
64
64
|
matrix=test_image,
|
|
@@ -77,7 +77,8 @@ def test_metadata(
|
|
|
77
77
|
get_source: Callable[[str], str],
|
|
78
78
|
get_source_type: MetadataSourceType,
|
|
79
79
|
):
|
|
80
|
-
object_name = unique_object()
|
|
80
|
+
object_name = unique_object("test_metadata")
|
|
81
|
+
|
|
81
82
|
key = random()
|
|
82
83
|
value = random()
|
|
83
84
|
|
|
@@ -98,7 +99,8 @@ def test_metadata(
|
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
def test_metadata_dict():
|
|
101
|
-
object_name = unique_object()
|
|
102
|
+
object_name = unique_object("test_metadata_dict")
|
|
103
|
+
|
|
102
104
|
key = random()
|
|
103
105
|
value = {random(): random() for _ in range(10)}
|
|
104
106
|
|
|
@@ -138,7 +140,8 @@ def test_metadata_dict():
|
|
|
138
140
|
|
|
139
141
|
|
|
140
142
|
def test_metadata_file():
|
|
141
|
-
object_name = unique_object()
|
|
143
|
+
object_name = unique_object("test_metadata_file")
|
|
144
|
+
|
|
142
145
|
key = random()
|
|
143
146
|
value = random()
|
|
144
147
|
|
|
@@ -153,7 +156,8 @@ def test_metadata_file():
|
|
|
153
156
|
|
|
154
157
|
|
|
155
158
|
def test_metadata_object():
|
|
156
|
-
object_name = unique_object()
|
|
159
|
+
object_name = unique_object("test_metadata_object")
|
|
160
|
+
|
|
157
161
|
key = random()
|
|
158
162
|
value = random()
|
|
159
163
|
|
|
@@ -163,7 +167,8 @@ def test_metadata_object():
|
|
|
163
167
|
|
|
164
168
|
|
|
165
169
|
def test_metadata_path():
|
|
166
|
-
object_name = unique_object()
|
|
170
|
+
object_name = unique_object("test_metadata_path")
|
|
171
|
+
|
|
167
172
|
key = random()
|
|
168
173
|
value = random()
|
|
169
174
|
|
|
@@ -175,7 +180,8 @@ def test_metadata_path():
|
|
|
175
180
|
|
|
176
181
|
|
|
177
182
|
def test_metadata_upload():
|
|
178
|
-
object_name = unique_object()
|
|
183
|
+
object_name = unique_object("test_metadata_upload")
|
|
184
|
+
|
|
179
185
|
key = random()
|
|
180
186
|
value = random()
|
|
181
187
|
|
|
@@ -11,7 +11,7 @@ from bluer_objects.mlflow import testing
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def test_from_and_to_experiment_name():
|
|
14
|
-
object_name = unique_object()
|
|
14
|
+
object_name = unique_object("test_from_and_to_experiment_name")
|
|
15
15
|
|
|
16
16
|
assert (
|
|
17
17
|
objects.to_object_name(objects.to_experiment_name(object_name)) == object_name
|
|
@@ -27,7 +27,7 @@ def test_mlflow_testing():
|
|
|
27
27
|
[["x=1,y=2,z=3"]],
|
|
28
28
|
)
|
|
29
29
|
def test_mlflow_tag_set_get(tags_str: str):
|
|
30
|
-
object_name = unique_object("
|
|
30
|
+
object_name = unique_object("test_mlflow_tag_set_get")
|
|
31
31
|
|
|
32
32
|
assert tags.set_tags(
|
|
33
33
|
object_name,
|
|
@@ -41,6 +41,7 @@ def test_objects_list_of_files(
|
|
|
41
41
|
|
|
42
42
|
def test_object_object_path():
|
|
43
43
|
object_name = objects.unique_object("test_object_object_path")
|
|
44
|
+
|
|
44
45
|
object_path = objects.object_path(object_name, create=True)
|
|
45
46
|
assert object_path
|
|
46
47
|
assert path.exists(object_path)
|
|
@@ -61,5 +62,6 @@ def test_objects_path_of(test_object):
|
|
|
61
62
|
)
|
|
62
63
|
def test_objects_unique_object(prefix: str):
|
|
63
64
|
object_name = objects.unique_object(prefix)
|
|
65
|
+
|
|
64
66
|
assert object_name
|
|
65
67
|
assert object_name.startswith(prefix)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.136.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -63,6 +63,6 @@ pip install bluer-objects
|
|
|
63
63
|
|
|
64
64
|
[](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)
|
|
65
65
|
|
|
66
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
66
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.136.1`](https://github.com/kamangir/bluer-objects).
|
|
67
67
|
|
|
68
68
|
built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
|
|
@@ -24,6 +24,7 @@ bluer_objects/.abcli/aka.sh
|
|
|
24
24
|
bluer_objects/.abcli/alias.sh
|
|
25
25
|
bluer_objects/.abcli/bluer_objects.sh
|
|
26
26
|
bluer_objects/.abcli/clone.sh
|
|
27
|
+
bluer_objects/.abcli/create_test_asset.sh
|
|
27
28
|
bluer_objects/.abcli/download.sh
|
|
28
29
|
bluer_objects/.abcli/file.sh
|
|
29
30
|
bluer_objects/.abcli/gif.sh
|
|
@@ -59,6 +60,7 @@ bluer_objects/.abcli/storage/rm.sh
|
|
|
59
60
|
bluer_objects/.abcli/storage/status.sh
|
|
60
61
|
bluer_objects/.abcli/tests/README.sh
|
|
61
62
|
bluer_objects/.abcli/tests/clone.sh
|
|
63
|
+
bluer_objects/.abcli/tests/create_test_asset.sh
|
|
62
64
|
bluer_objects/.abcli/tests/gif.sh
|
|
63
65
|
bluer_objects/.abcli/tests/help.sh
|
|
64
66
|
bluer_objects/.abcli/tests/host.sh
|
|
@@ -89,6 +91,7 @@ bluer_objects/graphics/text.py
|
|
|
89
91
|
bluer_objects/help/__init__.py
|
|
90
92
|
bluer_objects/help/__main__.py
|
|
91
93
|
bluer_objects/help/clone.py
|
|
94
|
+
bluer_objects/help/create_test_asset.py
|
|
92
95
|
bluer_objects/help/download.py
|
|
93
96
|
bluer_objects/help/functions.py
|
|
94
97
|
bluer_objects/help/gif.py
|
|
@@ -130,6 +133,7 @@ bluer_objects/testing/functions.py
|
|
|
130
133
|
bluer_objects/tests/__init__.py
|
|
131
134
|
bluer_objects/tests/test_README.py
|
|
132
135
|
bluer_objects/tests/test_env.py
|
|
136
|
+
bluer_objects/tests/test_file_download.py
|
|
133
137
|
bluer_objects/tests/test_file_load_save.py
|
|
134
138
|
bluer_objects/tests/test_file_load_save_text.py
|
|
135
139
|
bluer_objects/tests/test_fullname.py
|
|
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.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/mlflow/log_artifacts.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
|
{bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/storage/download_file.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
|
{bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/.abcli/tests/mlflow_logging.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
|
{bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_file_load_save_text.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluer_objects-6.129.1 → bluer_objects-6.136.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
|
{bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage_webdav_request.py
RENAMED
|
File without changes
|
{bluer_objects-6.129.1 → bluer_objects-6.136.1}/bluer_objects/tests/test_storage_webdav_zip.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
|