bluer-objects 6.35.1__tar.gz → 6.36.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 (149) hide show
  1. {bluer_objects-6.35.1/bluer_objects.egg-info → bluer_objects-6.36.1}/PKG-INFO +2 -2
  2. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/README.md +1 -1
  3. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/alias.sh +4 -4
  4. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/clone.sh +2 -2
  5. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/browse.sh +3 -3
  6. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/cache.sh +3 -3
  7. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/list_registered_models.sh +1 -1
  8. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/log_artifacts.sh +1 -1
  9. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/log_run.sh +1 -1
  10. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/run.sh +1 -1
  11. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/tags/clone.sh +1 -1
  12. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/tags/get.sh +1 -1
  13. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/tags/search.sh +1 -1
  14. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/tags/set.sh +1 -1
  15. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/tags.sh +2 -2
  16. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/test.sh +1 -1
  17. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow/transition.sh +1 -1
  18. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/mlflow.sh +2 -2
  19. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/publish.sh +1 -1
  20. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/mlflow_cache.sh +2 -2
  21. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/mlflow_logging.sh +2 -2
  22. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/mlflow_tags.sh +4 -4
  23. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/mlflow_test.sh +1 -1
  24. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/upload.sh +1 -1
  25. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/__init__.py +1 -1
  26. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/functions.py +2 -0
  27. bluer_objects-6.36.1/bluer_objects/help/mlflow/__init__.py +194 -0
  28. bluer_objects-6.36.1/bluer_objects/help/mlflow/cache.py +42 -0
  29. bluer_objects-6.36.1/bluer_objects/help/mlflow/tags.py +119 -0
  30. {bluer_objects-6.35.1 → bluer_objects-6.36.1/bluer_objects.egg-info}/PKG-INFO +2 -2
  31. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects.egg-info/SOURCES.txt +3 -1
  32. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/setup.py +1 -0
  33. bluer_objects-6.35.1/bluer_objects/.abcli/cache.sh +0 -5
  34. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/LICENSE +0 -0
  35. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/MANIFEST.in +0 -0
  36. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/abcli.sh +0 -0
  37. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/actions.sh +0 -0
  38. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/aka.sh +0 -0
  39. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/bluer_objects.sh +0 -0
  40. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/download.sh +0 -0
  41. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/file.sh +0 -0
  42. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/gif.sh +0 -0
  43. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/host.sh +0 -0
  44. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/ls.sh +0 -0
  45. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/metadata/get.sh +0 -0
  46. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/metadata/post.sh +0 -0
  47. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/metadata.sh +0 -0
  48. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/object.sh +0 -0
  49. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/select.sh +0 -0
  50. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/clear.sh +0 -0
  51. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/download_file.sh +0 -0
  52. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/exists.sh +0 -0
  53. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/list.sh +0 -0
  54. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/rm.sh +0 -0
  55. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage/status.sh +0 -0
  56. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/storage.sh +0 -0
  57. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/README.sh +0 -0
  58. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/clone.sh +0 -0
  59. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/gif.sh +0 -0
  60. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/help.sh +0 -0
  61. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/host.sh +0 -0
  62. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/ls.sh +0 -0
  63. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/metadata.sh +0 -0
  64. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/storage.sh +0 -0
  65. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/.abcli/tests/version.sh +0 -0
  66. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/README/__init__.py +0 -0
  67. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/README/functions.py +0 -0
  68. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/README/items.py +0 -0
  69. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/__main__.py +0 -0
  70. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/config.env +0 -0
  71. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/env.py +0 -0
  72. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/__init__.py +0 -0
  73. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/__main__.py +0 -0
  74. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/classes.py +0 -0
  75. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/functions.py +0 -0
  76. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/load.py +0 -0
  77. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/file/save.py +0 -0
  78. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/__init__.py +0 -0
  79. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/__main__.py +0 -0
  80. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/frame.py +0 -0
  81. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/gif.py +0 -0
  82. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/screen.py +0 -0
  83. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/signature.py +0 -0
  84. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/graphics/text.py +0 -0
  85. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/__init__.py +0 -0
  86. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/__main__.py +0 -0
  87. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/clone.py +0 -0
  88. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/download.py +0 -0
  89. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/metadata.py +0 -0
  90. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/help/upload.py +0 -0
  91. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/host/__init__.py +0 -0
  92. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/host/__main__.py +0 -0
  93. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/host/functions.py +0 -0
  94. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/logger/__init__.py +0 -0
  95. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/logger/matrix.py +0 -0
  96. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/markdown.py +0 -0
  97. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/metadata/__init__.py +0 -0
  98. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/metadata/__main__.py +0 -0
  99. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/metadata/enums.py +0 -0
  100. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/metadata/get.py +0 -0
  101. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/metadata/post.py +0 -0
  102. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/__init__.py +0 -0
  103. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/__main__.py +0 -0
  104. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/cache.py +0 -0
  105. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/logging.py +0 -0
  106. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/models.py +0 -0
  107. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/objects.py +0 -0
  108. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/runs.py +0 -0
  109. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/tags.py +0 -0
  110. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/mlflow/testing.py +0 -0
  111. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/objects.py +0 -0
  112. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/path.py +0 -0
  113. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/sample.env +0 -0
  114. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/storage/WebDAV.py +0 -0
  115. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/storage/WebDAVzip.py +0 -0
  116. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/storage/__init__.py +0 -0
  117. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/storage/__main__.py +0 -0
  118. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/storage/base.py +0 -0
  119. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/testing/__init__.py +0 -0
  120. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/testing/__main__.py +0 -0
  121. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/testing/functions.py +0 -0
  122. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/__init__.py +0 -0
  123. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_README.py +0 -0
  124. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_env.py +0 -0
  125. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_file_load_save.py +0 -0
  126. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_fullname.py +0 -0
  127. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics.py +0 -0
  128. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics_frame.py +0 -0
  129. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics_gif.py +0 -0
  130. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics_screen.py +0 -0
  131. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics_signature.py +0 -0
  132. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_graphics_text.py +0 -0
  133. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_logger.py +0 -0
  134. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_logger_matrix.py +0 -0
  135. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_markdown.py +0 -0
  136. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_metadata.py +0 -0
  137. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_mlflow.py +0 -0
  138. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_objects.py +0 -0
  139. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_path.py +0 -0
  140. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_storage.py +0 -0
  141. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_testing.py +0 -0
  142. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/tests/test_version.py +0 -0
  143. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects/urls.py +0 -0
  144. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects.egg-info/dependency_links.txt +0 -0
  145. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects.egg-info/requires.txt +0 -0
  146. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/bluer_objects.egg-info/top_level.txt +0 -0
  147. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/pyproject.toml +0 -0
  148. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/requirements.txt +0 -0
  149. {bluer_objects-6.35.1 → bluer_objects-6.36.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_objects
3
- Version: 6.35.1
3
+ Version: 6.36.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.35.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.36.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.35.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.36.1`](https://github.com/kamangir/bluer-objects).
@@ -8,9 +8,9 @@ alias @gif=abcli_gif
8
8
 
9
9
  alias @assets=abcli_assets
10
10
 
11
- alias @cache=abcli_cache
12
- alias @ref="abcli_cache read"
13
- alias @tags=abcli_mlflow_tags
11
+ alias @cache=bluer_objects_mlflow_cache
12
+ alias @ref="bluer_objects_mlflow_cache read"
13
+ alias @tags=bluer_objects_mlflow_tags
14
14
 
15
15
  alias @clone=bluer_objects_clone
16
16
  alias @cp=bluer_objects_clone
@@ -23,7 +23,7 @@ alias @ls=bluer_ai_ls
23
23
 
24
24
  alias @metadata=bluer_objects_metadata
25
25
 
26
- alias @mlflow=abcli_mlflow
26
+ alias @mlflow=bluer_objects_mlflow
27
27
 
28
28
  alias @mysql=abcli_mysql
29
29
 
@@ -36,12 +36,12 @@ function bluer_objects_clone() {
36
36
  fi
37
37
 
38
38
  [[ "$clone_tags" == 1 ]] &&
39
- abcli_mlflow_tags clone \
39
+ bluer_objects_mlflow_tags clone \
40
40
  $object_1_name \
41
41
  $object_2_name
42
42
 
43
43
  [[ "$do_relate" == 1 ]] &&
44
- abcli_mlflow_tags set \
44
+ bluer_objects_mlflow_tags set \
45
45
  $object_2_name \
46
46
  cloned.$object_1_name
47
47
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_browse() {
3
+ function bluer_objects_mlflow_browse() {
4
4
  local options=$1
5
5
  local browse_experiment=$(abcli_option_int "$options" experiment 0)
6
6
 
@@ -15,7 +15,7 @@ function abcli_mlflow_browse() {
15
15
  else
16
16
  local object_name=$(abcli_clarify_object $2 .)
17
17
 
18
- local experiment_id=$(abcli_mlflow get_id $object_name)
18
+ local experiment_id=$(bluer_objects_mlflow get_id $object_name)
19
19
  if [ -z "$experiment_id" ]; then
20
20
  abcli_log_error "@mlflow: browse: $object_name: object not found."
21
21
  return 1
@@ -25,7 +25,7 @@ function abcli_mlflow_browse() {
25
25
  url="$url/experiments/$experiment_id"
26
26
 
27
27
  if [[ "$browse_experiment" == 0 ]]; then
28
- local last_run_id=$(abcli_mlflow get_run_id $object_name --count 1)
28
+ local last_run_id=$(bluer_objects_mlflow get_run_id $object_name --count 1)
29
29
  abcli_log "last run id: $last_run_id"
30
30
 
31
31
  url="$url/runs/$last_run_id"
@@ -1,13 +1,13 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_cache() {
3
+ function bluer_objects_mlflow_cache() {
4
4
  local task=$1
5
5
 
6
6
  local keyword=$2
7
7
 
8
8
  if [ "$task" == "read" ]; then
9
9
 
10
- abcli_mlflow_tags get \
10
+ bluer_objects_mlflow_tags get \
11
11
  $keyword \
12
12
  --tag referent \
13
13
  "${@:3}"
@@ -18,7 +18,7 @@ function abcli_mlflow_cache() {
18
18
  if [ "$task" == "write" ]; then
19
19
  local value=$3
20
20
 
21
- abcli_mlflow_tags set \
21
+ bluer_objects_mlflow_tags set \
22
22
  $keyword \
23
23
  referent=$value \
24
24
  "${@:4}"
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_list_registered_models() {
3
+ function bluer_objects_mlflow_list_registered_models() {
4
4
  local options=$1
5
5
 
6
6
  python3 -m bluer_objects.mlflow \
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_log_artifacts() {
3
+ function bluer_objects_mlflow_log_artifacts() {
4
4
  local object_name=$(abcli_clarify_object $1 .)
5
5
 
6
6
  python3 -m bluer_objects.mlflow \
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_log_run() {
3
+ function bluer_objects_mlflow_log_run() {
4
4
  local object_name=$(abcli_clarify_object $1 .)
5
5
 
6
6
  python3 -m bluer_objects.mlflow \
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_run() {
3
+ function bluer_objects_mlflow_run() {
4
4
  local object_name=$(abcli_clarify_object $1 .)
5
5
 
6
6
  python3 -m bluer_objects.mlflow \
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_tags_clone() {
3
+ function bluer_objects_mlflow_tags_clone() {
4
4
  local source_object=$(abcli_clarify_object $1 ..)
5
5
 
6
6
  local destination_object=$(abcli_clarify_object $2 .)
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_tags_get() {
3
+ function bluer_objects_mlflow_tags_get() {
4
4
  local object_name=$(abcli_clarify_object $1 .)
5
5
 
6
6
  python3 -m bluer_objects.mlflow \
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_tags_search() {
3
+ function bluer_objects_mlflow_tags_search() {
4
4
  local options=$1
5
5
  local is_explicit=$(abcli_option_int "$options" explicit 0)
6
6
 
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_tags_set() {
3
+ function bluer_objects_mlflow_tags_set() {
4
4
  local object_name=$(abcli_clarify_object $1 .)
5
5
 
6
6
  local tags=$2
@@ -1,9 +1,9 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_tags() {
3
+ function bluer_objects_mlflow_tags() {
4
4
  local task=$1
5
5
 
6
- local function_name=abcli_mlflow_tags_$task
6
+ local function_name=bluer_objects_mlflow_tags_$task
7
7
  if [[ $(type -t $function_name) == "function" ]]; then
8
8
  $function_name "${@:2}"
9
9
  return
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_mlflow_test() {
3
+ function bluer_objects_mlflow_test() {
4
4
  local options=$1
5
5
  local do_dryrun=$(abcli_option_int "$options" dryrun 0)
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  export ABCLI_MLFLOW_STAGES="Staging|Production|Archived"
4
4
 
5
- function abcli_mlflow_transition() {
5
+ function bluer_objects_mlflow_transition() {
6
6
  local options=$1
7
7
  local model_name=$(abcli_option "$options" model)
8
8
  local stage_name=$(abcli_option_choice "$options" $(echo $ABCLI_MLFLOW_STAGES | tr \| ,) Staging)
@@ -2,10 +2,10 @@
2
2
 
3
3
  export MLFLOW_TRACKING_URI=$HOME/mlruns
4
4
 
5
- function abcli_mlflow() {
5
+ function bluer_objects_mlflow() {
6
6
  local task=$1
7
7
 
8
- local function_name=abcli_mlflow_$task
8
+ local function_name=bluer_objects_mlflow_$task
9
9
  if [[ $(type -t $function_name) == "function" ]]; then
10
10
  $function_name "${@:2}"
11
11
  return
@@ -11,7 +11,7 @@ function bluer_ai_publish() {
11
11
  [[ "$do_download" == 1 ]] &&
12
12
  bluer_objects_download - $object_name
13
13
 
14
- abcli_mlflow_tags set $object_name published
14
+ bluer_objects_mlflow_tags set $object_name published
15
15
 
16
16
  local public_object_name=$(abcli_option "$options" as $object_name)
17
17
 
@@ -4,11 +4,11 @@ function test_bluer_objects_mlflow_cache() {
4
4
  local keyword="test-keyword-$(abcli_string_timestamp_short)"
5
5
  local value="test-value-$(abcli_string_timestamp_short)"
6
6
 
7
- abcli mlflow cache write \
7
+ bluer_objects_mlflow cache write \
8
8
  $keyword $value
9
9
  [[ $? -ne 0 ]] && return 1
10
10
 
11
11
  abcli_assert \
12
- $(abcli mlflow cache read $keyword) \
12
+ $(bluer_objects_mlflow cache read $keyword) \
13
13
  $value
14
14
  }
@@ -3,10 +3,10 @@
3
3
  function test_bluer_objects_mlflow_logging() {
4
4
  local object_name="test-object-$(abcli_string_timestamp_short)"
5
5
 
6
- abcli clone \
6
+ bluer_objects_clone \
7
7
  upload \
8
8
  vanwatch-mlflow-validation-2024-09-23-10673 \
9
9
  "$object_name"
10
10
 
11
- abcli_mlflow rm $object_name
11
+ bluer_objects_mlflow rm $object_name
12
12
  }
@@ -5,25 +5,25 @@ function test_bluer_objects_mlflow_tags_validation() {
5
5
  local tag="test-tag-$(abcli_string_timestamp_short)"
6
6
  local value="test-value-$(abcli_string_timestamp_short)"
7
7
 
8
- abcli mlflow tags set \
8
+ bluer_objects_mlflow tags set \
9
9
  $object_name \
10
10
  $tag=$value
11
11
  [[ $? -ne 0 ]] && return 1
12
12
 
13
13
  abcli_assert \
14
- "$(abcli mlflow tags get $object_name --tag $tag)" \
14
+ "$(bluer_objects_mlflow tags get $object_name --tag $tag)" \
15
15
  $value
16
16
  [[ $? -ne 0 ]] && return 1
17
17
 
18
18
  abcli_assert \
19
- "$(abcli mlflow tags get $object_name --tag some-tag)" \
19
+ "$(bluer_objects_mlflow tags get $object_name --tag some-tag)" \
20
20
  - empty
21
21
  }
22
22
 
23
23
  function test_bluer_objects_mlflow_tags_search() {
24
24
  local options=$1
25
25
 
26
- abcli_mlflow_tags search \
26
+ bluer_objects_mlflow_tags search \
27
27
  cloned.firms_area-template-v1=True \
28
28
  --log 0
29
29
  }
@@ -3,5 +3,5 @@
3
3
  function test_bluer_objects_mlflow_test() {
4
4
  local options=$1
5
5
 
6
- abcli_mlflow_test "$@"
6
+ bluer_objects_mlflow_test "$@"
7
7
  }
@@ -16,6 +16,6 @@ function bluer_objects_upload() {
16
16
  [[ $? -ne 0 ]] && return 1
17
17
 
18
18
  if [[ -z "$filename" ]]; then
19
- abcli_mlflow_log_run $object_name
19
+ bluer_objects_mlflow_log_run $object_name
20
20
  fi
21
21
  }
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} data objects for Bash."
6
6
 
7
- VERSION = "6.35.1"
7
+ VERSION = "6.36.1"
8
8
 
9
9
  REPO_NAME = "bluer-objects"
10
10
 
@@ -4,6 +4,7 @@ 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
6
  from bluer_objects.help.metadata import help_functions as help_metadata
7
+ from bluer_objects.help.mlflow import help_functions as help_mlflow
7
8
  from bluer_objects.help.upload import help_upload
8
9
 
9
10
  help_functions = generic_help_functions(plugin_name=ALIAS)
@@ -13,6 +14,7 @@ help_functions.update(
13
14
  "clone": help_clone,
14
15
  "download": help_download,
15
16
  "metadata": help_metadata,
17
+ "mlflow": help_mlflow,
16
18
  "upload": help_upload,
17
19
  }
18
20
  )
@@ -0,0 +1,194 @@
1
+ from typing import List
2
+
3
+ from bluer_options.terminal import show_usage, xtra
4
+
5
+ from bluer_objects.help.mlflow.cache import help_functions as help_cache
6
+ from bluer_objects.help.mlflow.tags import help_functions as help_tags
7
+ from bluer_ai import env
8
+
9
+
10
+ def help_browse(
11
+ tokens: List[str],
12
+ mono: bool,
13
+ ) -> str:
14
+ options = "databricks,experiment,host,models"
15
+
16
+ return show_usage(
17
+ [
18
+ "@mlflow",
19
+ "browse",
20
+ f"[{options}]",
21
+ "[.|<object-name>]",
22
+ ],
23
+ "browse mlflow.",
24
+ mono=mono,
25
+ )
26
+
27
+
28
+ def help_get_id(
29
+ tokens: List[str],
30
+ mono: bool,
31
+ ) -> str:
32
+ return show_usage(
33
+ [
34
+ "@mlflow",
35
+ "get_id",
36
+ "[.|<object-name>]",
37
+ ],
38
+ "get mlflow id for <object-name>.",
39
+ mono=mono,
40
+ )
41
+
42
+
43
+ def help_get_run_id(
44
+ tokens: List[str],
45
+ mono: bool,
46
+ ) -> str:
47
+ args = [
48
+ "[--count <1>]",
49
+ "[--delim <space>]",
50
+ "[--offset <0>]",
51
+ ]
52
+
53
+ return show_usage(
54
+ [
55
+ "@mlflow",
56
+ "get_run_id",
57
+ "[.|<object-name>]",
58
+ ]
59
+ + args,
60
+ "get mlflow run ids for <object-name>.",
61
+ mono=mono,
62
+ )
63
+
64
+
65
+ def help_list_registered_models(
66
+ tokens: List[str],
67
+ mono: bool,
68
+ ) -> str:
69
+ return show_usage(
70
+ [
71
+ "@mlflow",
72
+ "list_registered_models",
73
+ ],
74
+ "list mlflow registered models.",
75
+ mono=mono,
76
+ )
77
+
78
+
79
+ def help_log_artifacts(
80
+ tokens: List[str],
81
+ mono: bool,
82
+ ) -> str:
83
+ args = ["[--model_name <model-name>]"]
84
+
85
+ return show_usage(
86
+ [
87
+ "@mlflow",
88
+ "log_artifacts",
89
+ "[.|<object-name>]",
90
+ ]
91
+ + args,
92
+ "<object-name> -artifacts-> mlflow.",
93
+ mono=mono,
94
+ )
95
+
96
+
97
+ def help_log_run(
98
+ tokens: List[str],
99
+ mono: bool,
100
+ ) -> str:
101
+ return show_usage(
102
+ [
103
+ "@mlflow",
104
+ "log_run",
105
+ "[.|<object-name>]",
106
+ ],
107
+ "<object-name> -run-> mlflow.",
108
+ mono=mono,
109
+ )
110
+
111
+
112
+ def help_rm(
113
+ tokens: List[str],
114
+ mono: bool,
115
+ ) -> str:
116
+ return show_usage(
117
+ [
118
+ "@mlflow",
119
+ "rm",
120
+ "[.|<object-name>]",
121
+ ],
122
+ "rm <object-name> from mlflow.",
123
+ mono=mono,
124
+ )
125
+
126
+
127
+ def help_run(
128
+ tokens: List[str],
129
+ mono: bool,
130
+ ) -> str:
131
+ return show_usage(
132
+ [
133
+ "@mlflow",
134
+ "run",
135
+ "start | end",
136
+ "[.|<object-name>]",
137
+ ],
138
+ "start | end mlflow run.",
139
+ mono=mono,
140
+ )
141
+
142
+
143
+ def help_test(
144
+ tokens: List[str],
145
+ mono: bool,
146
+ ) -> str:
147
+ options = xtra("dryrun", mono=mono)
148
+
149
+ return show_usage(
150
+ [
151
+ "@mlflow",
152
+ "test",
153
+ f"[{options}]",
154
+ ],
155
+ "test mlflow.",
156
+ mono=mono,
157
+ )
158
+
159
+
160
+ def help_transition(
161
+ tokens: List[str],
162
+ mono: bool,
163
+ ) -> str:
164
+ options = "model=<model-name>,stage=<stage>,version=<version>"
165
+
166
+ return show_usage(
167
+ [
168
+ "@mlflow",
169
+ "transition",
170
+ f"[{options}]",
171
+ "[<description>]",
172
+ ],
173
+ "transition <model-name>.",
174
+ {
175
+ "stage: {}".format(" | ".join(env.ABCLI_MLFLOW_STAGES.split("|"))): "",
176
+ },
177
+ mono=mono,
178
+ )
179
+
180
+
181
+ help_functions = {
182
+ "browse": help_browse,
183
+ "cache": help_cache,
184
+ "get_id": help_get_id,
185
+ "get_run_id": help_get_run_id,
186
+ "list_registered_models": help_list_registered_models,
187
+ "log_artifacts": help_log_artifacts,
188
+ "log_run": help_log_run,
189
+ "rm": help_rm,
190
+ "run": help_run,
191
+ "tags": help_tags,
192
+ "test": help_test,
193
+ "transition": help_transition,
194
+ }
@@ -0,0 +1,42 @@
1
+ from typing import List
2
+
3
+ from bluer_options.terminal import show_usage
4
+
5
+
6
+ def help_read(
7
+ tokens: List[str],
8
+ mono: bool,
9
+ ) -> str:
10
+ return show_usage(
11
+ [
12
+ "@mlflow",
13
+ "cache",
14
+ "read",
15
+ "<keyword>",
16
+ ],
17
+ "read mlflow.cache[<keyword>].",
18
+ mono=mono,
19
+ )
20
+
21
+
22
+ def help_write(
23
+ tokens: List[str],
24
+ mono: bool,
25
+ ) -> str:
26
+ return show_usage(
27
+ [
28
+ "@mlflow",
29
+ "cache",
30
+ "write",
31
+ "<keyword>",
32
+ "<value>",
33
+ ],
34
+ "write mlflow.cache[<keyword>]=value.",
35
+ mono=mono,
36
+ )
37
+
38
+
39
+ help_functions = {
40
+ "read": help_read,
41
+ "write": help_write,
42
+ }