bluer-objects 6.28.1__tar.gz → 6.29.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.28.1/bluer_objects.egg-info → bluer_objects-6.29.1}/PKG-INFO +2 -2
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/README.md +1 -1
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/__init__.py +1 -1
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/env.py +0 -3
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_env.py +0 -2
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_file_load_save.py +12 -5
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_objects.py +39 -10
- {bluer_objects-6.28.1 → bluer_objects-6.29.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/LICENSE +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/MANIFEST.in +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/alias.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/cache.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/clone.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/gif.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/host.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/mlflow.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/object.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/publish.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/help.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/host.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/.abcli/upload.sh +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/help/functions.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_storage.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects.egg-info/SOURCES.txt +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/pyproject.toml +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/requirements.txt +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.1}/setup.cfg +0 -0
- {bluer_objects-6.28.1 → bluer_objects-6.29.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.29.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.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.29.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.
|
|
22
|
+
built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.29.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -37,9 +37,6 @@ DUMMY_TEXT = "This is some dummy text. This is some dummy text. This is some dum
|
|
|
37
37
|
|
|
38
38
|
DATABRICKS_WORKSPACE = get_env("DATABRICKS_WORKSPACE")
|
|
39
39
|
|
|
40
|
-
DATABRICKS_HOST = get_env("DATABRICKS_HOST")
|
|
41
|
-
DATABRICKS_TOKEN = get_env("DATABRICKS_TOKEN")
|
|
42
|
-
|
|
43
40
|
ABCLI_MLFLOW_EXPERIMENT_PREFIX = get_env("ABCLI_MLFLOW_EXPERIMENT_PREFIX")
|
|
44
41
|
|
|
45
42
|
ABCLI_S3_OBJECT_PREFIX = "to-be-removed"
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import pytest
|
|
2
|
-
from typing import Callable, Union, Tuple
|
|
2
|
+
from typing import Callable, Union, Tuple
|
|
3
3
|
import numpy as np
|
|
4
4
|
|
|
5
5
|
from bluer_options import string
|
|
6
6
|
|
|
7
|
-
from bluer_objects import file, objects
|
|
7
|
+
from bluer_objects import file, objects
|
|
8
8
|
from bluer_objects.file.load import (
|
|
9
9
|
load_image,
|
|
10
10
|
load_json,
|
|
11
11
|
load_matrix,
|
|
12
12
|
load_text,
|
|
13
|
+
load_yaml,
|
|
13
14
|
)
|
|
14
15
|
from bluer_objects.file.save import (
|
|
15
16
|
save_image,
|
|
16
17
|
save_json,
|
|
17
18
|
save_matrix,
|
|
18
19
|
save_text,
|
|
20
|
+
save_yaml,
|
|
19
21
|
)
|
|
20
22
|
from bluer_objects.tests.test_objects import test_object
|
|
21
23
|
|
|
@@ -29,19 +31,24 @@ from bluer_objects.tests.test_objects import test_object
|
|
|
29
31
|
[
|
|
30
32
|
[
|
|
31
33
|
load_image,
|
|
32
|
-
"
|
|
34
|
+
"test-00.png",
|
|
33
35
|
save_image,
|
|
34
36
|
],
|
|
35
37
|
[
|
|
36
38
|
load_json,
|
|
37
|
-
"
|
|
39
|
+
"test.json",
|
|
38
40
|
save_json,
|
|
39
41
|
],
|
|
40
42
|
[
|
|
41
43
|
load_text,
|
|
42
|
-
"
|
|
44
|
+
"test.yaml",
|
|
43
45
|
save_text,
|
|
44
46
|
],
|
|
47
|
+
[
|
|
48
|
+
load_yaml,
|
|
49
|
+
"test.yaml",
|
|
50
|
+
save_yaml,
|
|
51
|
+
],
|
|
45
52
|
],
|
|
46
53
|
)
|
|
47
54
|
def test_file_load_save(
|
|
@@ -1,24 +1,49 @@
|
|
|
1
1
|
import pytest
|
|
2
|
+
import numpy as np
|
|
2
3
|
|
|
3
|
-
from
|
|
4
|
+
from bluer_options import string
|
|
4
5
|
|
|
5
|
-
from bluer_objects import file, path, objects
|
|
6
|
+
from bluer_objects import file, path, objects
|
|
6
7
|
from bluer_objects import storage
|
|
7
|
-
from bluer_objects.env import VANWATCH_TEST_OBJECT
|
|
8
8
|
from bluer_objects.logger import logger
|
|
9
9
|
|
|
10
|
-
NAME = module.name(__file__, NAME)
|
|
11
|
-
|
|
12
10
|
|
|
13
11
|
@pytest.fixture
|
|
14
12
|
def test_object():
|
|
15
|
-
object_name =
|
|
13
|
+
object_name = objects.unique_object("test_object")
|
|
14
|
+
for suffix in range(10):
|
|
15
|
+
assert file.save_image(
|
|
16
|
+
objects.path_of(
|
|
17
|
+
object_name=object_name,
|
|
18
|
+
filename=f"test-{suffix:02d}.png",
|
|
19
|
+
),
|
|
20
|
+
(np.random.rand(512, 512, 3) * 255).astype(np.uint8),
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
depth = 10
|
|
24
|
+
data = {
|
|
25
|
+
string.random(length=depth): string.random(length=depth) for _ in range(depth)
|
|
26
|
+
}
|
|
16
27
|
|
|
17
|
-
assert
|
|
28
|
+
assert file.save_yaml(
|
|
29
|
+
objects.path_of(
|
|
30
|
+
object_name=object_name,
|
|
31
|
+
filename="test.yaml",
|
|
32
|
+
),
|
|
33
|
+
data,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
assert file.save_json(
|
|
37
|
+
objects.path_of(
|
|
38
|
+
object_name=object_name,
|
|
39
|
+
filename="test.json",
|
|
40
|
+
),
|
|
41
|
+
data,
|
|
42
|
+
)
|
|
18
43
|
|
|
19
44
|
yield object_name
|
|
20
45
|
|
|
21
|
-
logger.info(f"deleting
|
|
46
|
+
logger.info(f"deleting test_object ...")
|
|
22
47
|
|
|
23
48
|
|
|
24
49
|
@pytest.mark.parametrize(
|
|
@@ -29,6 +54,10 @@ def test_objects_list_of_files(
|
|
|
29
54
|
test_object,
|
|
30
55
|
cloud: bool,
|
|
31
56
|
):
|
|
57
|
+
if cloud:
|
|
58
|
+
# TODO: enable when implemented
|
|
59
|
+
return
|
|
60
|
+
|
|
32
61
|
list_of_files = [
|
|
33
62
|
file.name_and_extension(filename)
|
|
34
63
|
for filename in objects.list_of_files(
|
|
@@ -37,7 +66,7 @@ def test_objects_list_of_files(
|
|
|
37
66
|
)
|
|
38
67
|
]
|
|
39
68
|
|
|
40
|
-
assert "
|
|
69
|
+
assert "test-00.png" in list_of_files
|
|
41
70
|
|
|
42
71
|
|
|
43
72
|
def test_object_object_path():
|
|
@@ -51,7 +80,7 @@ def test_objects_path_of(test_object):
|
|
|
51
80
|
assert file.exists(
|
|
52
81
|
objects.path_of(
|
|
53
82
|
object_name=test_object,
|
|
54
|
-
filename="
|
|
83
|
+
filename="test-00.png",
|
|
55
84
|
)
|
|
56
85
|
)
|
|
57
86
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.29.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.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.29.1`](https://github.com/kamangir/bluer-objects).
|
|
57
57
|
|
|
58
58
|
built by 🌀 [`blueness-3.96.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
|
|
File without changes
|
|
File without changes
|
|
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.28.1 → bluer_objects-6.29.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
|
{bluer_objects-6.28.1 → bluer_objects-6.29.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
|