bluer-objects 6.79.1__py3-none-any.whl → 6.83.1__py3-none-any.whl
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/.abcli/mlflow/browse.sh +1 -3
- bluer_objects/.abcli/mlflow/deploy.sh +24 -0
- bluer_objects/.abcli/mlflow.sh +1 -1
- bluer_objects/.abcli/tests/help.sh +1 -0
- bluer_objects/__init__.py +1 -1
- bluer_objects/config.env +0 -2
- bluer_objects/help/mlflow/__init__.py +19 -1
- {bluer_objects-6.79.1.dist-info → bluer_objects-6.83.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.79.1.dist-info → bluer_objects-6.83.1.dist-info}/RECORD +12 -11
- {bluer_objects-6.79.1.dist-info → bluer_objects-6.83.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.79.1.dist-info → bluer_objects-6.83.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.79.1.dist-info → bluer_objects-6.83.1.dist-info}/top_level.txt +0 -0
|
@@ -4,12 +4,10 @@ function bluer_objects_mlflow_browse() {
|
|
|
4
4
|
local options=$1
|
|
5
5
|
local browse_experiment=$(bluer_ai_option_int "$options" experiment 0)
|
|
6
6
|
|
|
7
|
-
local url
|
|
7
|
+
local url=http://localhost:5001/#
|
|
8
8
|
|
|
9
9
|
if [ $(bluer_ai_option_int "$options" databricks 0) == 1 ]; then
|
|
10
10
|
url="https://accounts.cloud.databricks.com/"
|
|
11
|
-
elif [ $(bluer_ai_option_int "$options" host 0) == 1 ]; then
|
|
12
|
-
: # do nothing
|
|
13
11
|
elif [ $(bluer_ai_option_int "$options" models 0) == 1 ]; then
|
|
14
12
|
url="$url/models"
|
|
15
13
|
else
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#! /usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
function bluer_objects_mlflow_deploy() {
|
|
4
|
+
local options=$1
|
|
5
|
+
local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
|
|
6
|
+
local do_local=$(bluer_ai_option_int "$options" local 1)
|
|
7
|
+
local port=$(bluer_ai_option "$options" port 5001)
|
|
8
|
+
|
|
9
|
+
if [[ "$do_local" == 0 ]]; then
|
|
10
|
+
bluer_ai_log_error "only local deployment is supported."
|
|
11
|
+
return 1
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
bluer_ai_badge "🤖"
|
|
15
|
+
|
|
16
|
+
bluer_ai_eval dryrun=$do_dryrun \
|
|
17
|
+
mlflow ui \
|
|
18
|
+
--backend-store-uri $MLFLOW_TRACKING_URI \
|
|
19
|
+
--default-artifact-root file://$MLFLOW_TRACKING_URI \
|
|
20
|
+
--host 0.0.0.0 \
|
|
21
|
+
--port $port
|
|
22
|
+
|
|
23
|
+
bluer_ai_badge "💻"
|
|
24
|
+
}
|
bluer_objects/.abcli/mlflow.sh
CHANGED
bluer_objects/__init__.py
CHANGED
bluer_objects/config.env
CHANGED
|
@@ -11,7 +11,7 @@ def help_browse(
|
|
|
11
11
|
tokens: List[str],
|
|
12
12
|
mono: bool,
|
|
13
13
|
) -> str:
|
|
14
|
-
options = "
|
|
14
|
+
options = xtra("experiment,models", mono=mono)
|
|
15
15
|
|
|
16
16
|
return show_usage(
|
|
17
17
|
[
|
|
@@ -25,6 +25,23 @@ def help_browse(
|
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
def help_deploy(
|
|
29
|
+
tokens: List[str],
|
|
30
|
+
mono: bool,
|
|
31
|
+
) -> str:
|
|
32
|
+
options = xtra("dryrun,~local,port=<5001>", mono=mono)
|
|
33
|
+
|
|
34
|
+
return show_usage(
|
|
35
|
+
[
|
|
36
|
+
"@mlflow",
|
|
37
|
+
"deploy",
|
|
38
|
+
f"[{options}]",
|
|
39
|
+
],
|
|
40
|
+
"deploy mlflow.",
|
|
41
|
+
mono=mono,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
28
45
|
def help_get_id(
|
|
29
46
|
tokens: List[str],
|
|
30
47
|
mono: bool,
|
|
@@ -181,6 +198,7 @@ def help_transition(
|
|
|
181
198
|
help_functions = {
|
|
182
199
|
"browse": help_browse,
|
|
183
200
|
"cache": help_cache,
|
|
201
|
+
"deploy": help_deploy,
|
|
184
202
|
"get_id": help_get_id,
|
|
185
203
|
"get_run_id": help_get_run_id,
|
|
186
204
|
"list_registered_models": help_list_registered_models,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.83.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -52,6 +52,6 @@ Also home to 🌀 [bluer README](https://github.com/kamangir/bluer-objects/blob/
|
|
|
52
52
|
|
|
53
53
|
[](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)
|
|
54
54
|
|
|
55
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
55
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.83.1`](https://github.com/kamangir/bluer-objects).
|
|
56
56
|
|
|
57
57
|
built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
bluer_objects/__init__.py,sha256=
|
|
1
|
+
bluer_objects/__init__.py,sha256=I9a6tu5rwHgTouWl9Qejlsrac7YqkL8tKuUz9fMX7kk,314
|
|
2
2
|
bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
|
|
3
|
-
bluer_objects/config.env,sha256=
|
|
3
|
+
bluer_objects/config.env,sha256=cMVT0kVQ00xGUoQyUqC8jpqkhR13Kpkl1-0sKQlxQAI,85
|
|
4
4
|
bluer_objects/env.py,sha256=J5LklWyWT-Yvvoe8MVCZQ3iqRqyDutq6IbNYNj9A1VM,1183
|
|
5
5
|
bluer_objects/markdown.py,sha256=PhAwCTHIisO9qOpKHeb63U5oD9Zi8LnIQKTx_OWS4wE,938
|
|
6
6
|
bluer_objects/objects.py,sha256=EYzA1vKngY2c_gdMKnUfrKVUcf-5wpFKgBFaVJA4cLE,1626
|
|
@@ -19,15 +19,16 @@ bluer_objects/.abcli/gif.sh,sha256=sZZZWAvwR7bTf6gF70b0l_1tw4-HOswh93iwUAQilEI,8
|
|
|
19
19
|
bluer_objects/.abcli/host.sh,sha256=N-Gdsk-mR2V2MvFlwlIVwaiGkQyV1DoM5UdhQrpUsls,573
|
|
20
20
|
bluer_objects/.abcli/ls.sh,sha256=-jkT5anPqnTMTzvJZXujmXE705YprYCUbxOQTNFCTrc,417
|
|
21
21
|
bluer_objects/.abcli/metadata.sh,sha256=EXBB39nn5PRRryIlfetIpR4fPQ-4eDg7Hnee9g1JXrI,377
|
|
22
|
-
bluer_objects/.abcli/mlflow.sh,sha256=
|
|
22
|
+
bluer_objects/.abcli/mlflow.sh,sha256=CtTC6wqc3-08T221Lu2H2HlsbDc2TI8POYqDhHWfaLY,666
|
|
23
23
|
bluer_objects/.abcli/object.sh,sha256=Zh2ZMFqBSIOHwwwLegCMxJRfaYCbPp1EJMT3LvcFzhE,739
|
|
24
24
|
bluer_objects/.abcli/select.sh,sha256=CVcqVRN6bMLtEo0SptZS_QGY90_lT1Su71DlcVyddXo,878
|
|
25
25
|
bluer_objects/.abcli/storage.sh,sha256=iYHxdXJI9sGR-WKxDuYKOB06FccSQ0G0-uZn9UJQGnc,321
|
|
26
26
|
bluer_objects/.abcli/upload.sh,sha256=vRkzfDzze0MYMoUalzY6QzNC2DXlTFfm2nSMfNSB-9k,529
|
|
27
27
|
bluer_objects/.abcli/metadata/get.sh,sha256=6W9x0akZwwozTyOlKCW_0MndYVUAL4v1HSUPxTAsfKA,835
|
|
28
28
|
bluer_objects/.abcli/metadata/post.sh,sha256=UdvZNuRu6_NcyRVvDMFZ9GEwOm3K8rsNqM0FFr9LskA,570
|
|
29
|
-
bluer_objects/.abcli/mlflow/browse.sh,sha256=
|
|
29
|
+
bluer_objects/.abcli/mlflow/browse.sh,sha256=24aB7sUHYX1UM_VbfWh_50f_BnM3fQTzUnFuI7AuqMo,1088
|
|
30
30
|
bluer_objects/.abcli/mlflow/cache.sh,sha256=tpdCqL3jMFpfRmYS6UTgLiycv43_z_N_J1ux2XsDgdA,556
|
|
31
|
+
bluer_objects/.abcli/mlflow/deploy.sh,sha256=SiuQPzqpDz4TLJFU_zXobYFkqeIe_4mKMgAB4CX7e5k,663
|
|
31
32
|
bluer_objects/.abcli/mlflow/list_registered_models.sh,sha256=cZGtAzfLx-kW3-zi0mLrfhzk4B8KyUL2sq2tD7lK5q8,191
|
|
32
33
|
bluer_objects/.abcli/mlflow/log_artifacts.sh,sha256=3sCdDHoRVFqCg_DPF8zw3HSAj8Grr-Mbwmf0iUlDmrk,243
|
|
33
34
|
bluer_objects/.abcli/mlflow/log_run.sh,sha256=-oDsAxVnw3wot-Jk4mju_6fgW_6K2VnhlWtAtom-tlc,231
|
|
@@ -48,7 +49,7 @@ bluer_objects/.abcli/storage/status.sh,sha256=HRbQq9EhoZ1S-GHXOTeclSOTbV-hrEieGA
|
|
|
48
49
|
bluer_objects/.abcli/tests/README.sh,sha256=gk2KuNLFTuV3qdVgH8BNfJmur3gZoSV8EwLboVjrCgM,150
|
|
49
50
|
bluer_objects/.abcli/tests/clone.sh,sha256=4FfZPySVz0ptrYPRktomAYtQWZiSMM0JWWqpDCjo8Zk,516
|
|
50
51
|
bluer_objects/.abcli/tests/gif.sh,sha256=2KbHki5Vb1lFacRhdmtyCZFkoyl1GXBaseN9Bvbj2NQ,504
|
|
51
|
-
bluer_objects/.abcli/tests/help.sh,sha256=
|
|
52
|
+
bluer_objects/.abcli/tests/help.sh,sha256=hIBglHiZDaIyCnxh1y02288gTvt9Il_sk-DGuv-L6jk,1742
|
|
52
53
|
bluer_objects/.abcli/tests/host.sh,sha256=GBuTLNw1sU3fAb5jS-ew_qAfovVCQ5CLaz5ad04IkoA,144
|
|
53
54
|
bluer_objects/.abcli/tests/ls.sh,sha256=GeNMX37aXHR8SksD4ASkWHx1iD3Z7eb-AFQR6yZzN9g,598
|
|
54
55
|
bluer_objects/.abcli/tests/metadata.sh,sha256=OP1c0h0TSlDycrv0UglKLyBtTQwqh9M0nqVAdQUzkno,1723
|
|
@@ -84,7 +85,7 @@ bluer_objects/help/host.py,sha256=4t4yrPGjTbnFtODcuBjfIzpA5pmmvc5s4QrjIqPPVsM,98
|
|
|
84
85
|
bluer_objects/help/ls.py,sha256=acvRLDxjJOzQ1a9ZQ4Mn9aBZ8Vf17IDHcAxC2O3R33Y,627
|
|
85
86
|
bluer_objects/help/metadata.py,sha256=fk22NasBcZU1ffY4fu6AxrCzMQtTI28p_ghaSVRrrPM,2811
|
|
86
87
|
bluer_objects/help/upload.py,sha256=p-nRw9d_S6PI7PcD0mBwWqQRPWQG4r3usjvOIzAbTeM,368
|
|
87
|
-
bluer_objects/help/mlflow/__init__.py,sha256=
|
|
88
|
+
bluer_objects/help/mlflow/__init__.py,sha256=oimroGIHpMzvP3iTT99mUk3MA2BfaSWA2B8hSq3uCUA,4019
|
|
88
89
|
bluer_objects/help/mlflow/cache.py,sha256=O8O1oaiq1e1z2HCi8fRe4hjSNimzvCaCAIu-u2GDHkE,704
|
|
89
90
|
bluer_objects/help/mlflow/tags.py,sha256=C3FcMRe-JhelhCQkAyZ5jlxGtgYxhNjtIhxka8k_ytI,2137
|
|
90
91
|
bluer_objects/host/__init__.py,sha256=Ko43SWnZNsGKuIPU_l0w17pYrxCgVHQx3_zEoUNaHZY,272
|
|
@@ -135,8 +136,8 @@ bluer_objects/tests/test_path.py,sha256=JjONWyhZyMM_u1SzD1RI_iZ5vYJDUe-B51fbbHcz
|
|
|
135
136
|
bluer_objects/tests/test_storage.py,sha256=2tJ6Hev9ShId9Qn-0FXDw41HWjcl3wymcB_Bv1FJWi4,1127
|
|
136
137
|
bluer_objects/tests/test_testing.py,sha256=d2NH435yqJBl9wmfMqGGd-f0Y0jsL2QhHUXkty9AwPA,235
|
|
137
138
|
bluer_objects/tests/test_version.py,sha256=Lyf3PMcA22e17BNRk_2VgPrtao6dWEgVoXo68Uds8SE,75
|
|
138
|
-
bluer_objects-6.
|
|
139
|
-
bluer_objects-6.
|
|
140
|
-
bluer_objects-6.
|
|
141
|
-
bluer_objects-6.
|
|
142
|
-
bluer_objects-6.
|
|
139
|
+
bluer_objects-6.83.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
140
|
+
bluer_objects-6.83.1.dist-info/METADATA,sha256=xh0TuG-E6hC7nBGQIXoG0LrTfTd8e22uPQvmWbPz_wQ,2742
|
|
141
|
+
bluer_objects-6.83.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
142
|
+
bluer_objects-6.83.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
143
|
+
bluer_objects-6.83.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|