bluer-objects 6.26.1__tar.gz → 6.28.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.26.1/bluer_objects.egg-info → bluer_objects-6.28.1}/PKG-INFO +2 -2
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/README.md +1 -1
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow.sh +1 -1
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/__init__.py +1 -1
- bluer_objects-6.28.1/bluer_objects/tests/test_storage.py +49 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects.egg-info/SOURCES.txt +1 -2
- bluer_objects-6.26.1/bluer_objects/tests/test_download.py +0 -52
- bluer_objects-6.26.1/bluer_objects/tests/test_upload.py +0 -76
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/LICENSE +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/MANIFEST.in +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/alias.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/cache.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/clone.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/gif.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/host.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/object.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/publish.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/help.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/host.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/.abcli/upload.sh +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/help/functions.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_file_load_save.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_objects.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/pyproject.toml +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/requirements.txt +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.1}/setup.cfg +0 -0
- {bluer_objects-6.26.1 → bluer_objects-6.28.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.28.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.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
56
|
+
built by 🌀 [`bluer_options-5.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.28.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.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
22
|
+
built by 🌀 [`bluer_options-5.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.28.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from bluer_options import string
|
|
2
|
+
|
|
3
|
+
from bluer_objects import file, objects
|
|
4
|
+
from bluer_objects import storage
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def test_storage():
|
|
8
|
+
object_name = objects.unique_object("test_storage")
|
|
9
|
+
|
|
10
|
+
depth = 10
|
|
11
|
+
|
|
12
|
+
for filename in [
|
|
13
|
+
"this.yaml",
|
|
14
|
+
"that.yaml",
|
|
15
|
+
"subfolder/this.yaml",
|
|
16
|
+
"subfolder/that.yaml",
|
|
17
|
+
]:
|
|
18
|
+
assert file.save_yaml(
|
|
19
|
+
objects.path_of(
|
|
20
|
+
object_name=object_name,
|
|
21
|
+
filename=filename,
|
|
22
|
+
),
|
|
23
|
+
{
|
|
24
|
+
string.random(length=depth): string.random(length=depth)
|
|
25
|
+
for _ in range(depth)
|
|
26
|
+
},
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
for filename in [
|
|
30
|
+
"this.yaml",
|
|
31
|
+
"subfolder/this.yaml",
|
|
32
|
+
]:
|
|
33
|
+
assert storage.upload(
|
|
34
|
+
object_name=object_name,
|
|
35
|
+
filename=filename,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
assert objects.upload(object_name=object_name)
|
|
39
|
+
|
|
40
|
+
for filename in [
|
|
41
|
+
"this.yaml",
|
|
42
|
+
"subfolder/this.yaml",
|
|
43
|
+
]:
|
|
44
|
+
assert storage.download(
|
|
45
|
+
object_name=object_name,
|
|
46
|
+
filename=filename,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
assert objects.download(object_name=object_name)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.28.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.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.
|
|
56
|
+
built by 🌀 [`bluer_options-5.26.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.28.1`](https://github.com/kamangir/bluer-objects).
|
|
57
57
|
|
|
58
58
|
built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
|
|
@@ -118,7 +118,6 @@ bluer_objects/storage/__main__.py
|
|
|
118
118
|
bluer_objects/storage/base.py
|
|
119
119
|
bluer_objects/tests/__init__.py
|
|
120
120
|
bluer_objects/tests/test_README.py
|
|
121
|
-
bluer_objects/tests/test_download.py
|
|
122
121
|
bluer_objects/tests/test_env.py
|
|
123
122
|
bluer_objects/tests/test_file_load_save.py
|
|
124
123
|
bluer_objects/tests/test_fullname.py
|
|
@@ -135,5 +134,5 @@ bluer_objects/tests/test_metadata.py
|
|
|
135
134
|
bluer_objects/tests/test_mlflow.py
|
|
136
135
|
bluer_objects/tests/test_objects.py
|
|
137
136
|
bluer_objects/tests/test_path.py
|
|
138
|
-
bluer_objects/tests/
|
|
137
|
+
bluer_objects/tests/test_storage.py
|
|
139
138
|
bluer_objects/tests/test_version.py
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
from bluer_objects import file, objects
|
|
5
|
-
from bluer_objects import storage
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@pytest.mark.parametrize(
|
|
9
|
-
["object_name", "filename"],
|
|
10
|
-
[[VANWATCH_TEST_OBJECT, "vancouver.geojson"]],
|
|
11
|
-
)
|
|
12
|
-
def test_objects_download(
|
|
13
|
-
object_name: str,
|
|
14
|
-
filename: str,
|
|
15
|
-
):
|
|
16
|
-
filename_fullpath = objects.path_of(
|
|
17
|
-
filename=filename,
|
|
18
|
-
object_name=object_name,
|
|
19
|
-
)
|
|
20
|
-
if file.exists(filename_fullpath):
|
|
21
|
-
assert file.delete(filename_fullpath)
|
|
22
|
-
|
|
23
|
-
assert not file.exists(filename_fullpath)
|
|
24
|
-
|
|
25
|
-
assert objects.storage(object_name=object_name)
|
|
26
|
-
|
|
27
|
-
assert file.exists(filename_fullpath)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@pytest.mark.parametrize(
|
|
31
|
-
["object_name", "filename"],
|
|
32
|
-
[[VANWATCH_TEST_OBJECT, "vancouver.geojson"]],
|
|
33
|
-
)
|
|
34
|
-
def test_objects_download_filename(
|
|
35
|
-
object_name: str,
|
|
36
|
-
filename: str,
|
|
37
|
-
):
|
|
38
|
-
filename_fullpath = objects.path_of(
|
|
39
|
-
filename=filename,
|
|
40
|
-
object_name=object_name,
|
|
41
|
-
)
|
|
42
|
-
if file.exists(filename_fullpath):
|
|
43
|
-
assert file.delete(filename_fullpath)
|
|
44
|
-
|
|
45
|
-
assert not file.exists(filename_fullpath)
|
|
46
|
-
|
|
47
|
-
assert storage.download(
|
|
48
|
-
object_name=object_name,
|
|
49
|
-
filename=filename,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
assert file.exists(filename_fullpath)
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
from blueness import module
|
|
4
|
-
|
|
5
|
-
from bluer_objects import file, objects, NAME
|
|
6
|
-
from bluer_objects import storage
|
|
7
|
-
|
|
8
|
-
NAME = module.name(__file__, NAME)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@pytest.mark.parametrize(
|
|
12
|
-
["filename"],
|
|
13
|
-
[["vancouver.geojson"]],
|
|
14
|
-
)
|
|
15
|
-
def test_objects_upload(
|
|
16
|
-
filename: str,
|
|
17
|
-
):
|
|
18
|
-
assert storage.download(object_name=VANWATCH_TEST_OBJECT)
|
|
19
|
-
|
|
20
|
-
object_name = objects.unique_object("test_objects_upload_filename")
|
|
21
|
-
|
|
22
|
-
source_filename = objects.path_of(
|
|
23
|
-
filename=filename,
|
|
24
|
-
object_name=VANWATCH_TEST_OBJECT,
|
|
25
|
-
)
|
|
26
|
-
destination_filename = objects.path_of(
|
|
27
|
-
filename=filename,
|
|
28
|
-
object_name=object_name,
|
|
29
|
-
)
|
|
30
|
-
assert file.copy(source_filename, destination_filename)
|
|
31
|
-
|
|
32
|
-
assert objects.upload(object_name=object_name)
|
|
33
|
-
|
|
34
|
-
assert file.delete(destination_filename)
|
|
35
|
-
assert not file.exists(destination_filename)
|
|
36
|
-
|
|
37
|
-
assert storage.download(object_name=object_name)
|
|
38
|
-
|
|
39
|
-
assert file.exists(destination_filename)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@pytest.mark.parametrize(
|
|
43
|
-
["filename"],
|
|
44
|
-
[["vancouver.geojson"]],
|
|
45
|
-
)
|
|
46
|
-
def test_objects_upload_filename(
|
|
47
|
-
filename: str,
|
|
48
|
-
):
|
|
49
|
-
assert storage.download(object_name=VANWATCH_TEST_OBJECT)
|
|
50
|
-
|
|
51
|
-
object_name = objects.unique_object("test_objects_upload_filename")
|
|
52
|
-
|
|
53
|
-
source_filename = objects.path_of(
|
|
54
|
-
filename=filename,
|
|
55
|
-
object_name=VANWATCH_TEST_OBJECT,
|
|
56
|
-
)
|
|
57
|
-
destination_filename = objects.path_of(
|
|
58
|
-
filename=filename,
|
|
59
|
-
object_name=object_name,
|
|
60
|
-
)
|
|
61
|
-
assert file.copy(source_filename, destination_filename)
|
|
62
|
-
|
|
63
|
-
assert objects.upload(
|
|
64
|
-
object_name=object_name,
|
|
65
|
-
filename=filename,
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
assert file.delete(destination_filename)
|
|
69
|
-
assert not file.exists(destination_filename)
|
|
70
|
-
|
|
71
|
-
assert storage.download(
|
|
72
|
-
object_name=object_name,
|
|
73
|
-
filename=filename,
|
|
74
|
-
)
|
|
75
|
-
|
|
76
|
-
assert file.exists(destination_filename)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.26.1 → bluer_objects-6.28.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
|
{bluer_objects-6.26.1 → bluer_objects-6.28.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
|