bluer-objects 6.34.1__tar.gz → 6.35.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.

Files changed (146) hide show
  1. {bluer_objects-6.34.1/bluer_objects.egg-info → bluer_objects-6.35.1}/PKG-INFO +2 -2
  2. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/README.md +1 -1
  3. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/alias.sh +1 -1
  4. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/metadata/get.sh +1 -1
  5. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/metadata/post.sh +1 -1
  6. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/metadata.sh +2 -2
  7. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/metadata.sh +6 -6
  8. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/__init__.py +1 -1
  9. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/functions.py +2 -0
  10. bluer_objects-6.35.1/bluer_objects/help/metadata.py +152 -0
  11. {bluer_objects-6.34.1 → bluer_objects-6.35.1/bluer_objects.egg-info}/PKG-INFO +2 -2
  12. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects.egg-info/SOURCES.txt +1 -0
  13. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/LICENSE +0 -0
  14. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/MANIFEST.in +0 -0
  15. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/abcli.sh +0 -0
  16. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/actions.sh +0 -0
  17. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/aka.sh +0 -0
  18. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
  19. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/cache.sh +0 -0
  20. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/clone.sh +0 -0
  21. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/download.sh +0 -0
  22. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/file.sh +0 -0
  23. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/gif.sh +0 -0
  24. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/host.sh +0 -0
  25. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/ls.sh +0 -0
  26. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/browse.sh +0 -0
  27. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/cache.sh +0 -0
  28. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +0 -0
  29. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +0 -0
  30. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/log_run.sh +0 -0
  31. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/run.sh +0 -0
  32. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +0 -0
  33. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/tags/get.sh +0 -0
  34. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/tags/search.sh +0 -0
  35. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/tags/set.sh +0 -0
  36. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/tags.sh +0 -0
  37. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/test.sh +0 -0
  38. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow/transition.sh +0 -0
  39. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/mlflow.sh +0 -0
  40. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/object.sh +0 -0
  41. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/publish.sh +0 -0
  42. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/select.sh +0 -0
  43. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
  44. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
  45. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
  46. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/list.sh +0 -0
  47. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
  48. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage/status.sh +0 -0
  49. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/storage.sh +0 -0
  50. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/README.sh +0 -0
  51. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
  52. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
  53. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/help.sh +0 -0
  54. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/host.sh +0 -0
  55. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
  56. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +0 -0
  57. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +0 -0
  58. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +0 -0
  59. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/mlflow_test.sh +0 -0
  60. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
  61. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/tests/version.sh +0 -0
  62. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/.abcli/upload.sh +0 -0
  63. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/README/__init__.py +0 -0
  64. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/README/functions.py +0 -0
  65. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/README/items.py +0 -0
  66. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/__main__.py +0 -0
  67. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/config.env +0 -0
  68. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/env.py +0 -0
  69. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/__init__.py +0 -0
  70. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/__main__.py +0 -0
  71. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/classes.py +0 -0
  72. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/functions.py +0 -0
  73. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/load.py +0 -0
  74. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/file/save.py +0 -0
  75. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/__init__.py +0 -0
  76. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/__main__.py +0 -0
  77. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/frame.py +0 -0
  78. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/gif.py +0 -0
  79. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/screen.py +0 -0
  80. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/signature.py +0 -0
  81. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/graphics/text.py +0 -0
  82. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/__init__.py +0 -0
  83. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/__main__.py +0 -0
  84. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/clone.py +0 -0
  85. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/download.py +0 -0
  86. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/help/upload.py +0 -0
  87. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/host/__init__.py +0 -0
  88. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/host/__main__.py +0 -0
  89. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/host/functions.py +0 -0
  90. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/logger/__init__.py +0 -0
  91. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/logger/matrix.py +0 -0
  92. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/markdown.py +0 -0
  93. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/metadata/__init__.py +0 -0
  94. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/metadata/__main__.py +0 -0
  95. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/metadata/enums.py +0 -0
  96. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/metadata/get.py +0 -0
  97. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/metadata/post.py +0 -0
  98. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/__init__.py +0 -0
  99. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/__main__.py +0 -0
  100. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/cache.py +0 -0
  101. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/logging.py +0 -0
  102. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/models.py +0 -0
  103. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/objects.py +0 -0
  104. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/runs.py +0 -0
  105. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/tags.py +0 -0
  106. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/mlflow/testing.py +0 -0
  107. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/objects.py +0 -0
  108. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/path.py +0 -0
  109. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/sample.env +0 -0
  110. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/storage/WebDAV.py +0 -0
  111. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/storage/WebDAVzip.py +0 -0
  112. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/storage/__init__.py +0 -0
  113. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/storage/__main__.py +0 -0
  114. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/storage/base.py +0 -0
  115. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/testing/__init__.py +0 -0
  116. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/testing/__main__.py +0 -0
  117. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/testing/functions.py +0 -0
  118. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/__init__.py +0 -0
  119. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_README.py +0 -0
  120. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_env.py +0 -0
  121. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_file_load_save.py +0 -0
  122. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_fullname.py +0 -0
  123. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics.py +0 -0
  124. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
  125. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
  126. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
  127. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
  128. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_graphics_text.py +0 -0
  129. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_logger.py +0 -0
  130. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
  131. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_markdown.py +0 -0
  132. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_metadata.py +0 -0
  133. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_mlflow.py +0 -0
  134. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_objects.py +0 -0
  135. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_path.py +0 -0
  136. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_storage.py +0 -0
  137. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_testing.py +0 -0
  138. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/tests/test_version.py +0 -0
  139. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects/urls.py +0 -0
  140. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
  141. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects.egg-info/requires.txt +0 -0
  142. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/bluer_objects.egg-info/top_level.txt +0 -0
  143. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/pyproject.toml +0 -0
  144. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/requirements.txt +0 -0
  145. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/setup.cfg +0 -0
  146. {bluer_objects-6.34.1 → bluer_objects-6.35.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_objects
3
- Version: 6.34.1
3
+ Version: 6.35.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
  [![pylint](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-objects.svg)](https://pypi.org/project/bluer-objects/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-objects)](https://pypistats.org/packages/bluer-objects)
55
55
 
56
- built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.34.1`](https://github.com/kamangir/bluer-objects).
56
+ built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.35.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
  [![pylint](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-objects.svg)](https://pypi.org/project/bluer-objects/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-objects)](https://pypistats.org/packages/bluer-objects)
21
21
 
22
- built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.34.1`](https://github.com/kamangir/bluer-objects).
22
+ built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.35.1`](https://github.com/kamangir/bluer-objects).
@@ -21,7 +21,7 @@ alias @host=abcli_host
21
21
 
22
22
  alias @ls=bluer_ai_ls
23
23
 
24
- alias @metadata=abcli_metadata
24
+ alias @metadata=bluer_objects_metadata
25
25
 
26
26
  alias @mlflow=abcli_mlflow
27
27
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_metadata_get() {
3
+ function bluer_objects_metadata_get() {
4
4
  local options=$1
5
5
  local source_type=$(abcli_option_choice "$options" object,path,filename object)
6
6
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_metadata_post() {
3
+ function bluer_objects_metadata_post() {
4
4
  local key=$1
5
5
 
6
6
  local value=$2
@@ -1,9 +1,9 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_metadata() {
3
+ function bluer_objects_metadata() {
4
4
  local task=${1:-help}
5
5
 
6
- local function_name="abcli_metadata_$task"
6
+ local function_name="bluer_objects_metadata_$task"
7
7
  if [[ $(type -t $function_name) == "function" ]]; then
8
8
  $function_name "${@:2}"
9
9
  return
@@ -11,21 +11,21 @@ function test_bluer_objects_metadata() {
11
11
  local value=$(abcli_string_random)
12
12
 
13
13
  [[ "$post_func" == 1 ]] &&
14
- abcli metadata post \
14
+ bluer_objects_metadata post \
15
15
  $key $value \
16
16
  filename \
17
17
  $filename \
18
18
  --verbose 1
19
19
 
20
20
  [[ "$post_func" == 2 ]] &&
21
- abcli metadata post \
21
+ bluer_objects_metadata post \
22
22
  $key $value \
23
23
  object,filename=metadata.yaml \
24
24
  $object_name \
25
25
  --verbose 1
26
26
 
27
27
  [[ "$post_func" == 3 ]] &&
28
- abcli metadata post \
28
+ bluer_objects_metadata post \
29
29
  $key $value \
30
30
  path,filename=metadata.yaml \
31
31
  $object_path \
@@ -33,17 +33,17 @@ function test_bluer_objects_metadata() {
33
33
 
34
34
  for get_func in {1..3}; do
35
35
  [[ "$get_func" == 1 ]] &&
36
- returned_value=$(abcli metadata get \
36
+ returned_value=$(bluer_objects_metadata get \
37
37
  key=$key,filename \
38
38
  $filename)
39
39
 
40
40
  [[ "$get_func" == 2 ]] &&
41
- returned_value=$(abcli metadata get \
41
+ returned_value=$(bluer_objects_metadata get \
42
42
  key=$key,filename=metadata.yaml,object \
43
43
  $object_name)
44
44
 
45
45
  [[ "$get_func" == 3 ]] &&
46
- returned_value=$(abcli metadata get \
46
+ returned_value=$(bluer_objects_metadata get \
47
47
  key=$key,filename=metadata.yaml,path \
48
48
  $object_path)
49
49
 
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} data objects for Bash."
6
6
 
7
- VERSION = "6.34.1"
7
+ VERSION = "6.35.1"
8
8
 
9
9
  REPO_NAME = "bluer-objects"
10
10
 
@@ -3,6 +3,7 @@ from bluer_ai.help.generic import help_functions as generic_help_functions
3
3
  from bluer_objects import ALIAS
4
4
  from bluer_objects.help.clone import help_clone
5
5
  from bluer_objects.help.download import help_download
6
+ from bluer_objects.help.metadata import help_functions as help_metadata
6
7
  from bluer_objects.help.upload import help_upload
7
8
 
8
9
  help_functions = generic_help_functions(plugin_name=ALIAS)
@@ -11,6 +12,7 @@ help_functions.update(
11
12
  {
12
13
  "clone": help_clone,
13
14
  "download": help_download,
15
+ "metadata": help_metadata,
14
16
  "upload": help_upload,
15
17
  }
16
18
  )
@@ -0,0 +1,152 @@
1
+ from typing import List
2
+
3
+ from bluer_options.terminal import show_usage, xtra
4
+
5
+
6
+ def help_get(
7
+ tokens: List[str],
8
+ mono: bool,
9
+ ) -> str:
10
+ # ---
11
+ options = "".join(
12
+ [
13
+ xtra("delim=+,dict.keys,dict.values,", mono=mono),
14
+ "filename,key=<key>",
15
+ ]
16
+ )
17
+ usage_1 = show_usage(
18
+ [
19
+ "@metadata",
20
+ "get",
21
+ f"[{options}]",
22
+ "<filename.yaml>",
23
+ ],
24
+ "get <filename.yaml>[<key>]",
25
+ mono=mono,
26
+ )
27
+
28
+ # ---
29
+ options = "".join(
30
+ [
31
+ xtra("delim=+,dict.keys,dict.values,filename=<metadata.yaml>,", mono=mono),
32
+ "key=<key>,object",
33
+ ]
34
+ )
35
+ usage_2 = show_usage(
36
+ [
37
+ "@metadata",
38
+ "get",
39
+ f"[{options}]",
40
+ "[.|<object-name>]",
41
+ ],
42
+ "get <object-name>/metadata[<key>]",
43
+ mono=mono,
44
+ )
45
+
46
+ # ---
47
+ options = "".join(
48
+ [
49
+ xtra("delim=+,dict.keys,dict.values,filename=<metadata.yaml>,", mono=mono),
50
+ "key=<key>,path",
51
+ ]
52
+ )
53
+ usage_3 = show_usage(
54
+ [
55
+ "@metadata",
56
+ "get",
57
+ f"[{options}]",
58
+ "<path>",
59
+ ],
60
+ "get <path>/metadata[<key>]",
61
+ mono=mono,
62
+ )
63
+
64
+ return "\n".join(
65
+ [
66
+ usage_1,
67
+ usage_2,
68
+ usage_3,
69
+ ]
70
+ )
71
+
72
+
73
+ def help_post(
74
+ tokens: List[str],
75
+ mono: bool,
76
+ ) -> str:
77
+ args = ["[--verbose 1]"]
78
+
79
+ # ---
80
+ options = "filename"
81
+
82
+ usage_1 = show_usage(
83
+ [
84
+ "@metadata",
85
+ "post",
86
+ "<key>",
87
+ "<value>",
88
+ f"{options}",
89
+ "<filename.yaml>",
90
+ ]
91
+ + args,
92
+ "<filename.yaml>[<key>] = <value>",
93
+ mono=mono,
94
+ )
95
+
96
+ # ---
97
+ options = "".join(
98
+ [
99
+ "object",
100
+ xtra(",filename=<metadata.yaml>", mono=mono),
101
+ ]
102
+ )
103
+
104
+ usage_2 = show_usage(
105
+ [
106
+ "@metadata",
107
+ "post",
108
+ "<key>",
109
+ "<value>",
110
+ f"{options}",
111
+ "[.|<object-name>]",
112
+ ]
113
+ + args,
114
+ "<object-name>[<key>] = <value>",
115
+ mono=mono,
116
+ )
117
+
118
+ # ---
119
+ options = "".join(
120
+ [
121
+ "path",
122
+ xtra(",filename=<metadata.yaml>", mono=mono),
123
+ ]
124
+ )
125
+
126
+ usage_3 = show_usage(
127
+ [
128
+ "@metadata",
129
+ "post",
130
+ "<key>",
131
+ "<value>",
132
+ f"{options}",
133
+ "<path>",
134
+ ]
135
+ + args,
136
+ "<path>[<key>] = <value>",
137
+ mono=mono,
138
+ )
139
+
140
+ return "\n".join(
141
+ [
142
+ usage_1,
143
+ usage_2,
144
+ usage_3,
145
+ ]
146
+ )
147
+
148
+
149
+ help_functions = {
150
+ "get": help_get,
151
+ "post": help_post,
152
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_objects
3
- Version: 6.34.1
3
+ Version: 6.35.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
  [![pylint](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-objects.svg)](https://pypi.org/project/bluer-objects/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-objects)](https://pypistats.org/packages/bluer-objects)
55
55
 
56
- built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.34.1`](https://github.com/kamangir/bluer-objects).
56
+ built by 🌀 [`bluer_options-5.28.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.35.1`](https://github.com/kamangir/bluer-objects).
57
57
 
58
58
  built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
@@ -92,6 +92,7 @@ bluer_objects/help/__main__.py
92
92
  bluer_objects/help/clone.py
93
93
  bluer_objects/help/download.py
94
94
  bluer_objects/help/functions.py
95
+ bluer_objects/help/metadata.py
95
96
  bluer_objects/help/upload.py
96
97
  bluer_objects/host/__init__.py
97
98
  bluer_objects/host/__main__.py
File without changes
File without changes
File without changes