bluer-objects 6.167.1__tar.gz → 6.170.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.167.1/bluer_objects.egg-info → bluer_objects-6.170.1}/PKG-INFO +2 -2
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/README.md +1 -1
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/__init__.py +1 -1
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/s3.py +98 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1/bluer_objects.egg-info}/PKG-INFO +2 -2
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/LICENSE +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/MANIFEST.in +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/abcli.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/actions.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/aka.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/alias.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/clone.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/create_test_asset.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/download.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/file.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/gif.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/host.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/ls.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/metadata.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/deploy.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/lock/lock.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/lock/unlock.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/lock.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/mlflow.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/object.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/select.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/list.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage/status.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/storage.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/README.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/create_test_asset.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/help.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/host.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/mlflow_lock.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/version.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/upload.sh +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/README/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/README/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/README/items.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/config.env +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/env.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/classes.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/load.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/file/save.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/frame.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/gif.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/screen.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/signature.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/graphics/text.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/clone.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/create_test_asset.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/download.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/gif.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/host.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/ls.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/metadata.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/mlflow/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/mlflow/cache.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/mlflow/lock.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/mlflow/tags.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/help/upload.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/host/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/host/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/host/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/logger/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/logger/matrix.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/markdown.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/metadata/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/metadata/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/metadata/enums.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/metadata/get.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/metadata/post.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/cache.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/lock/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/lock/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/lock/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/logging.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/models.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/objects.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/runs.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/tags.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/mlflow/testing.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/objects.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/path.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/sample.env +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/WebDAV.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/WebDAVrequest.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/WebDAVzip.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/storage/base.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/testing/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/testing/__main__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/testing/functions.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/__init__.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_README.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_env.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_file_download.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_file_load_save.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_file_load_save_text.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_fullname.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_graphics_text.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_logger.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_markdown.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_metadata.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_mlflow.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_mlflow_lock.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_objects.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_path.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage_base.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage_s3.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage_webdav_request.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage_webdav_zip.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_testing.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_version.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/urls.py +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects.egg-info/SOURCES.txt +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects.egg-info/requires.txt +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects.egg-info/top_level.txt +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/pyproject.toml +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/requirements.txt +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.1}/setup.cfg +0 -0
- {bluer_objects-6.167.1 → bluer_objects-6.170.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.170.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -64,6 +64,6 @@ pip install bluer-objects
|
|
|
64
64
|
|
|
65
65
|
[](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)
|
|
66
66
|
|
|
67
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
67
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.170.1`](https://github.com/kamangir/bluer-objects).
|
|
68
68
|
|
|
69
69
|
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.170.1`](https://github.com/kamangir/bluer-objects).
|
|
@@ -16,6 +16,104 @@ from bluer_objects.logger import logger
|
|
|
16
16
|
class S3Interface(StorageInterface):
|
|
17
17
|
name = "s3"
|
|
18
18
|
|
|
19
|
+
def clear(
|
|
20
|
+
self,
|
|
21
|
+
do_dryrun: bool = True,
|
|
22
|
+
log: bool = True,
|
|
23
|
+
) -> bool:
|
|
24
|
+
logger.info(
|
|
25
|
+
"{}.clear({})".format(
|
|
26
|
+
self.__class__.__name__,
|
|
27
|
+
"dryrun" if do_dryrun else "",
|
|
28
|
+
)
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
s3 = boto3.client(
|
|
33
|
+
"s3",
|
|
34
|
+
endpoint_url=env.S3_STORAGE_ENDPOINT_URL,
|
|
35
|
+
aws_access_key_id=env.S3_STORAGE_AWS_ACCESS_KEY_ID,
|
|
36
|
+
aws_secret_access_key=env.S3_STORAGE_AWS_SECRET_ACCESS_KEY,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
paginator = s3.get_paginator("list_objects_v2")
|
|
40
|
+
pages = paginator.paginate(
|
|
41
|
+
Bucket=env.S3_STORAGE_BUCKET,
|
|
42
|
+
Prefix="test",
|
|
43
|
+
)
|
|
44
|
+
except Exception as e:
|
|
45
|
+
logger.error(e)
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
list_of_objects = sorted(
|
|
49
|
+
list(
|
|
50
|
+
set(
|
|
51
|
+
reduce(
|
|
52
|
+
lambda x, y: x + y,
|
|
53
|
+
[
|
|
54
|
+
[
|
|
55
|
+
obj["Key"].split("/", 1)[0]
|
|
56
|
+
for obj in page.get("Contents", [])
|
|
57
|
+
]
|
|
58
|
+
for page in pages
|
|
59
|
+
],
|
|
60
|
+
[],
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
logger.info(f"{len(list_of_objects)} object(s) to delete.")
|
|
67
|
+
|
|
68
|
+
for object_name in tqdm(list_of_objects):
|
|
69
|
+
if not self.delete(
|
|
70
|
+
object_name=object_name,
|
|
71
|
+
do_dryrun=do_dryrun,
|
|
72
|
+
):
|
|
73
|
+
return False
|
|
74
|
+
|
|
75
|
+
return True
|
|
76
|
+
|
|
77
|
+
def delete(
|
|
78
|
+
self,
|
|
79
|
+
object_name: str,
|
|
80
|
+
do_dryrun: bool = True,
|
|
81
|
+
log: bool = True,
|
|
82
|
+
) -> bool:
|
|
83
|
+
if log:
|
|
84
|
+
logger.info(
|
|
85
|
+
"{}.delete({}){}".format(
|
|
86
|
+
self.__class__.__name__,
|
|
87
|
+
object_name,
|
|
88
|
+
" dryrun" if do_dryrun else "",
|
|
89
|
+
)
|
|
90
|
+
)
|
|
91
|
+
if do_dryrun:
|
|
92
|
+
return True
|
|
93
|
+
|
|
94
|
+
try:
|
|
95
|
+
s3 = boto3.resource(
|
|
96
|
+
"s3",
|
|
97
|
+
endpoint_url=env.S3_STORAGE_ENDPOINT_URL,
|
|
98
|
+
aws_access_key_id=env.S3_STORAGE_AWS_ACCESS_KEY_ID,
|
|
99
|
+
aws_secret_access_key=env.S3_STORAGE_AWS_SECRET_ACCESS_KEY,
|
|
100
|
+
)
|
|
101
|
+
bucket = s3.Bucket(env.S3_STORAGE_BUCKET)
|
|
102
|
+
|
|
103
|
+
objects_to_delete = bucket.objects.filter(Prefix=f"{object_name}/")
|
|
104
|
+
delete_requests = [{"Key": obj.key} for obj in objects_to_delete]
|
|
105
|
+
|
|
106
|
+
if not delete_requests:
|
|
107
|
+
logger.warning(f"no files found under {object_name}.")
|
|
108
|
+
return True
|
|
109
|
+
|
|
110
|
+
bucket.delete_objects(Delete={"Objects": delete_requests})
|
|
111
|
+
except Exception as e:
|
|
112
|
+
logger.error(e)
|
|
113
|
+
return False
|
|
114
|
+
|
|
115
|
+
return True
|
|
116
|
+
|
|
19
117
|
def download(
|
|
20
118
|
self,
|
|
21
119
|
object_name: str,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.170.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -64,6 +64,6 @@ pip install bluer-objects
|
|
|
64
64
|
|
|
65
65
|
[](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)
|
|
66
66
|
|
|
67
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
67
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.170.1`](https://github.com/kamangir/bluer-objects).
|
|
68
68
|
|
|
69
69
|
built by 🌀 [`blueness-3.118.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluer_objects-6.167.1 → bluer_objects-6.170.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.167.1 → bluer_objects-6.170.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
|
{bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/.abcli/tests/create_test_asset.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
|
{bluer_objects-6.167.1 → bluer_objects-6.170.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.167.1 → bluer_objects-6.170.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.167.1 → bluer_objects-6.170.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
|
{bluer_objects-6.167.1 → bluer_objects-6.170.1}/bluer_objects/tests/test_storage_webdav_request.py
RENAMED
|
File without changes
|
{bluer_objects-6.167.1 → bluer_objects-6.170.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
|
|
File without changes
|