bluer-objects 6.186.1__py3-none-any.whl → 6.191.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/alias.sh +1 -1
- bluer_objects/.abcli/tests/help.sh +3 -2
- bluer_objects/.abcli/tests/{url_is_accessible.sh → web_is_accessible.sh} +3 -3
- bluer_objects/.abcli/tests/web_where_am_ai.sh +5 -0
- bluer_objects/.abcli/url.sh +4 -4
- bluer_objects/.abcli/{url → web}/is_accessible.sh +2 -2
- bluer_objects/.abcli/web/where_am_i.sh +5 -0
- bluer_objects/__init__.py +1 -1
- bluer_objects/help/functions.py +2 -2
- bluer_objects/help/{url.py → web.py} +16 -1
- bluer_objects/tests/{test_url_is_accessible.py → test_web_is_accessible.py} +1 -1
- bluer_objects/{url → web}/__main__.py +1 -1
- bluer_objects/{url → web}/functions.py +0 -2
- {bluer_objects-6.186.1.dist-info → bluer_objects-6.191.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.186.1.dist-info → bluer_objects-6.191.1.dist-info}/RECORD +19 -17
- /bluer_objects/{url → web}/__init__.py +0 -0
- {bluer_objects-6.186.1.dist-info → bluer_objects-6.191.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.186.1.dist-info → bluer_objects-6.191.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.186.1.dist-info → bluer_objects-6.191.1.dist-info}/top_level.txt +0 -0
bluer_objects/.abcli/alias.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
4
|
-
local output=$(
|
|
3
|
+
function test_bluer_objects_web_is_accessible() {
|
|
4
|
+
local output=$(bluer_objects_web_is_accessible void)
|
|
5
5
|
[[ "$output" -ne 0 ]] &&
|
|
6
6
|
return 1
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ function test_bluer_objects_url_is_accessible() {
|
|
|
9
9
|
[[ "$abcli_is_github_workflow" == true ]] &&
|
|
10
10
|
url="https://cnn.com"
|
|
11
11
|
|
|
12
|
-
output=$(
|
|
12
|
+
output=$(bluer_objects_web_is_accessible $url)
|
|
13
13
|
[[ "$output" -ne 1 ]] &&
|
|
14
14
|
return 1
|
|
15
15
|
|
bluer_objects/.abcli/url.sh
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_objects_web() {
|
|
4
4
|
local task=$1
|
|
5
5
|
|
|
6
|
-
local function_name=
|
|
6
|
+
local function_name=bluer_objects_web_$task
|
|
7
7
|
if [[ $(type -t $function_name) == "function" ]]; then
|
|
8
8
|
$function_name "${@:2}"
|
|
9
9
|
return
|
|
10
10
|
fi
|
|
11
11
|
|
|
12
|
-
python3 -m bluer_objects.
|
|
12
|
+
python3 -m bluer_objects.web "$@"
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
bluer_ai_source_caller_suffix_path /
|
|
15
|
+
bluer_ai_source_caller_suffix_path /web
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_objects_web_is_accessible() {
|
|
4
4
|
local url=$1
|
|
5
5
|
if [[ -z "$url" ]]; then
|
|
6
6
|
bluer_ai_log_error "url not found."
|
|
7
7
|
return 1
|
|
8
8
|
fi
|
|
9
9
|
|
|
10
|
-
python3 -m bluer_objects.
|
|
10
|
+
python3 -m bluer_objects.web \
|
|
11
11
|
is_accessible \
|
|
12
12
|
--url $url
|
|
13
13
|
}
|
bluer_objects/__init__.py
CHANGED
bluer_objects/help/functions.py
CHANGED
|
@@ -10,7 +10,7 @@ from bluer_objects.help.ls import help_ls
|
|
|
10
10
|
from bluer_objects.help.metadata import help_functions as help_metadata
|
|
11
11
|
from bluer_objects.help.mlflow import help_functions as help_mlflow
|
|
12
12
|
from bluer_objects.help.upload import help_upload
|
|
13
|
-
from bluer_objects.help.
|
|
13
|
+
from bluer_objects.help.web import help_functions as help_web
|
|
14
14
|
|
|
15
15
|
help_functions = generic_help_functions(plugin_name=ALIAS)
|
|
16
16
|
|
|
@@ -25,6 +25,6 @@ help_functions.update(
|
|
|
25
25
|
"metadata": help_metadata,
|
|
26
26
|
"mlflow": help_mlflow,
|
|
27
27
|
"upload": help_upload,
|
|
28
|
-
"
|
|
28
|
+
"web": help_web,
|
|
29
29
|
}
|
|
30
30
|
)
|
|
@@ -9,7 +9,7 @@ def help_is_accessible(
|
|
|
9
9
|
) -> str:
|
|
10
10
|
return show_usage(
|
|
11
11
|
[
|
|
12
|
-
"@
|
|
12
|
+
"@web",
|
|
13
13
|
"is_accessible",
|
|
14
14
|
"<url>",
|
|
15
15
|
],
|
|
@@ -18,6 +18,21 @@ def help_is_accessible(
|
|
|
18
18
|
)
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
def help_where_am_i(
|
|
22
|
+
tokens: List[str],
|
|
23
|
+
mono: bool,
|
|
24
|
+
) -> str:
|
|
25
|
+
return show_usage(
|
|
26
|
+
[
|
|
27
|
+
"@web",
|
|
28
|
+
"where_am_i",
|
|
29
|
+
],
|
|
30
|
+
"where am I?",
|
|
31
|
+
mono=mono,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
21
35
|
help_functions = {
|
|
22
36
|
"is_accessible": help_is_accessible,
|
|
37
|
+
"where_am_i": help_where_am_i,
|
|
23
38
|
}
|
|
@@ -4,7 +4,7 @@ from blueness import module
|
|
|
4
4
|
from blueness.argparse.generic import sys_exit
|
|
5
5
|
|
|
6
6
|
from bluer_objects import NAME
|
|
7
|
-
from bluer_objects.
|
|
7
|
+
from bluer_objects.web.functions import is_accessible
|
|
8
8
|
from bluer_objects.logger import logger
|
|
9
9
|
|
|
10
10
|
NAME = module.name(__file__, NAME)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.191.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.191.1`](https://github.com/kamangir/bluer-objects).
|
|
68
68
|
|
|
69
69
|
built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bluer_objects/__init__.py,sha256=
|
|
1
|
+
bluer_objects/__init__.py,sha256=LJ2FI0JBSz8Edj83gykb0Nncu9QvUjZjBO-list95Gg,315
|
|
2
2
|
bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
|
|
3
3
|
bluer_objects/config.env,sha256=RjcpnbKfRqNyGLRB4z7M_OG9z2pOM032ck__53JqXqo,216
|
|
4
4
|
bluer_objects/env.py,sha256=iw4QvaImqnavlsHwfkUScNHc7afDEJQKJSsHTtVJE78,2019
|
|
@@ -10,7 +10,7 @@ bluer_objects/urls.py,sha256=paHaYlLMQOI46-EYNch5ohu9Q09BMkF2vvJy1QufrVI,19
|
|
|
10
10
|
bluer_objects/.abcli/abcli.sh,sha256=zcqSfpuonb7u9YZCO6jbYeU63pTi0WD5q7lBMSUBXqw,352
|
|
11
11
|
bluer_objects/.abcli/actions.sh,sha256=HZI-X5KUy6bXEHmxywfBN1zbHalU0mcTblTQ2HvIfOE,236
|
|
12
12
|
bluer_objects/.abcli/aka.sh,sha256=odRbw4KZb9Ld7uXny6H2pPi64_5kowKX3s68N6YvRmI,23
|
|
13
|
-
bluer_objects/.abcli/alias.sh,sha256=
|
|
13
|
+
bluer_objects/.abcli/alias.sh,sha256=nYrAqpaXkL3xOTc_MQdZGSXB4kuUxxAqeXZrI5-E3e8,788
|
|
14
14
|
bluer_objects/.abcli/bluer_objects.sh,sha256=x7qf8hSAp3dAl0Hes4J07vL6qP-mWFUkJhvUXzTJC_8,210
|
|
15
15
|
bluer_objects/.abcli/clone.sh,sha256=KqC5d4MAXwo7UZGhKnfCq9k9CCSl3I1dpU1igYs0Yrs,1975
|
|
16
16
|
bluer_objects/.abcli/create_test_asset.sh,sha256=ONIdad_WRjZWdW6V2RalRW2qSJwybEwzU-_KsvaJ9og,245
|
|
@@ -25,7 +25,7 @@ bluer_objects/.abcli/object.sh,sha256=Zh2ZMFqBSIOHwwwLegCMxJRfaYCbPp1EJMT3LvcFzh
|
|
|
25
25
|
bluer_objects/.abcli/select.sh,sha256=CVcqVRN6bMLtEo0SptZS_QGY90_lT1Su71DlcVyddXo,878
|
|
26
26
|
bluer_objects/.abcli/storage.sh,sha256=iYHxdXJI9sGR-WKxDuYKOB06FccSQ0G0-uZn9UJQGnc,321
|
|
27
27
|
bluer_objects/.abcli/upload.sh,sha256=IbT786rA6nWuQurhGOFOiJeH_ZqVpnhvrARA1VJl9MU,640
|
|
28
|
-
bluer_objects/.abcli/url.sh,sha256=
|
|
28
|
+
bluer_objects/.abcli/url.sh,sha256=1YF6XNG109ItH6l3SUvvbRkm4JBojiUoLZ2wJYwM28U,315
|
|
29
29
|
bluer_objects/.abcli/metadata/get.sh,sha256=6W9x0akZwwozTyOlKCW_0MndYVUAL4v1HSUPxTAsfKA,835
|
|
30
30
|
bluer_objects/.abcli/metadata/post.sh,sha256=UdvZNuRu6_NcyRVvDMFZ9GEwOm3K8rsNqM0FFr9LskA,570
|
|
31
31
|
bluer_objects/.abcli/mlflow/browse.sh,sha256=jPHAKLgG7yDLCdSAW5acVmCOcOltAkZQ8FrttrX401s,1166
|
|
@@ -55,7 +55,7 @@ bluer_objects/.abcli/tests/README.sh,sha256=gk2KuNLFTuV3qdVgH8BNfJmur3gZoSV8EwLb
|
|
|
55
55
|
bluer_objects/.abcli/tests/clone.sh,sha256=Rl9pHvmRJ4H-y-iMA80q11UdSZFrguNaMTez0LTtJjA,473
|
|
56
56
|
bluer_objects/.abcli/tests/create_test_asset.sh,sha256=onRGc3VjDWA7On3isxKD3J7mxA6n349AVXRj90Z3Jzc,386
|
|
57
57
|
bluer_objects/.abcli/tests/gif.sh,sha256=2FvcomiyYTzJa527a7Wk2EJt5N9_vZt8tmQD1QVetDg,461
|
|
58
|
-
bluer_objects/.abcli/tests/help.sh,sha256=
|
|
58
|
+
bluer_objects/.abcli/tests/help.sh,sha256=demhv051Sv_aT3K2fSzbhz4yIFBONfWAfB1H7t1O6d4,1976
|
|
59
59
|
bluer_objects/.abcli/tests/host.sh,sha256=GBuTLNw1sU3fAb5jS-ew_qAfovVCQ5CLaz5ad04IkoA,144
|
|
60
60
|
bluer_objects/.abcli/tests/ls.sh,sha256=oOvcnEQZgnNlwCK4SvkdAjCBs2_z0qBOhgFLsXDBSXM,555
|
|
61
61
|
bluer_objects/.abcli/tests/metadata.sh,sha256=OP1c0h0TSlDycrv0UglKLyBtTQwqh9M0nqVAdQUzkno,1723
|
|
@@ -66,9 +66,11 @@ bluer_objects/.abcli/tests/mlflow_tags.sh,sha256=pX4sEK_z2Vrb7a6Bq4qWurFVPZkvjpS
|
|
|
66
66
|
bluer_objects/.abcli/tests/mlflow_test.sh,sha256=7MXxYq2GgD2MEJbQlpx80qLT2HaaVn_PFFMpSA_hWA4,125
|
|
67
67
|
bluer_objects/.abcli/tests/storage_public_upload.sh,sha256=3S7YJQ-mbPcVtG384PRxEGP7xGLJgvvV-CtV4hgz2I8,456
|
|
68
68
|
bluer_objects/.abcli/tests/storage_upload_download.sh,sha256=tXjrHuFtmogC9Pf4Q8aTU1Sx1C653GOcy_jIsecelMY,1346
|
|
69
|
-
bluer_objects/.abcli/tests/url_is_accessible.sh,sha256=JwrEfBD19H2nyUG9GY66_NONgwm4TkEXwkw2FFushSo,405
|
|
70
69
|
bluer_objects/.abcli/tests/version.sh,sha256=k-lXozSjyFgFR58cTzUYla0Ef-upx3sSK641zI5ynfE,169
|
|
71
|
-
bluer_objects/.abcli/
|
|
70
|
+
bluer_objects/.abcli/tests/web_is_accessible.sh,sha256=3R33_LQM9PIfl8Bks4HrPHp4ug8cGv9X6LaDscsznEs,405
|
|
71
|
+
bluer_objects/.abcli/tests/web_where_am_ai.sh,sha256=BJ9G_m4id8cx_UB_l_jV2xY6AfQEpG7O4IBsuVjodxk,104
|
|
72
|
+
bluer_objects/.abcli/web/is_accessible.sh,sha256=Luv_6IvpscRYx7f39V0RnkkNEWTRfVGyQVUeij3iqa0,262
|
|
73
|
+
bluer_objects/.abcli/web/where_am_i.sh,sha256=QPBXFo6Ni4pZEoOx0rtuJUxk6tOlp0ESMyAc9YPy9zg,92
|
|
72
74
|
bluer_objects/README/__init__.py,sha256=JwxdTVAK3LeUaw7rMJujOFIXZA59HaLCtxpsR1C-vpo,1311
|
|
73
75
|
bluer_objects/README/functions.py,sha256=IriuSysrApSTEgOZHqq32-eyks5v5Tn-KvmwYQUIloc,10752
|
|
74
76
|
bluer_objects/README/items.py,sha256=-XaNCr5b_NGRkZVfIQ6hBFgJw5GIVcMJdktT3hWoam4,755
|
|
@@ -90,13 +92,13 @@ bluer_objects/help/__main__.py,sha256=Dxg-JpMOIlYWZklI_J2LyiHnRui5lUwWmfM7FLRzUX
|
|
|
90
92
|
bluer_objects/help/clone.py,sha256=PDnQs7zc4sqmoBHPjVRfX7jIaePiohPGCNA5bxeerik,553
|
|
91
93
|
bluer_objects/help/create_test_asset.py,sha256=oxJORm2qk4b_q7EC6-dEuNu1_pK9Ri60PcHhrE8ruxM,375
|
|
92
94
|
bluer_objects/help/download.py,sha256=1fw3ASOXUuXcNhm8y0AK7ZBmXzWwZvdo2hK9ZVbgteA,439
|
|
93
|
-
bluer_objects/help/functions.py,sha256
|
|
95
|
+
bluer_objects/help/functions.py,sha256=ghCXmHHMVgdPDkqPHWIK7L64wb--oLYhdfJdZyboZKM,1096
|
|
94
96
|
bluer_objects/help/gif.py,sha256=gKV6vNT4bEC2Ch3QIb3Yc5DqzAH_UvAVCsuvzXeF1Sc,564
|
|
95
97
|
bluer_objects/help/host.py,sha256=4t4yrPGjTbnFtODcuBjfIzpA5pmmvc5s4QrjIqPPVsM,988
|
|
96
98
|
bluer_objects/help/ls.py,sha256=acvRLDxjJOzQ1a9ZQ4Mn9aBZ8Vf17IDHcAxC2O3R33Y,627
|
|
97
99
|
bluer_objects/help/metadata.py,sha256=fk22NasBcZU1ffY4fu6AxrCzMQtTI28p_ghaSVRrrPM,2811
|
|
98
100
|
bluer_objects/help/upload.py,sha256=tXAdVhy0FZfF5b4cAEgaYlLQ8_cnQ656um8QioKMV_o,456
|
|
99
|
-
bluer_objects/help/
|
|
101
|
+
bluer_objects/help/web.py,sha256=YGxzU0GyoQAA8tqnEoGcC4rABFW_RnI44PhvHvIG5dA,626
|
|
100
102
|
bluer_objects/help/mlflow/__init__.py,sha256=fvnGg8l24oGWKd7lbVm32GHyrE3eBlholj4RFrjFNuw,4427
|
|
101
103
|
bluer_objects/help/mlflow/cache.py,sha256=O8O1oaiq1e1z2HCi8fRe4hjSNimzvCaCAIu-u2GDHkE,704
|
|
102
104
|
bluer_objects/help/mlflow/lock.py,sha256=REdB4LmlHu2_6SF1nDA50KBbYtNIKRDbYH7KduUnuEg,848
|
|
@@ -160,13 +162,13 @@ bluer_objects/tests/test_storage_s3.py,sha256=otgWqAzQBC7_RoNCyNoKUbONVlm18DSKQF
|
|
|
160
162
|
bluer_objects/tests/test_storage_webdav_request.py,sha256=h2b8PeIx0-hQ2d6PmQcJZyQf59L3fDAzTbKg4SNV-SE,1769
|
|
161
163
|
bluer_objects/tests/test_storage_webdav_zip.py,sha256=C19qxhkcHyTwVFzW35vL85SOcXJPkqXXaWUNll0Uyqc,1017
|
|
162
164
|
bluer_objects/tests/test_testing.py,sha256=d2NH435yqJBl9wmfMqGGd-f0Y0jsL2QhHUXkty9AwPA,235
|
|
163
|
-
bluer_objects/tests/test_url_is_accessible.py,sha256=U86PpmQXA1TmDlVo-7osleCzq9ug-46-3WBae4xRGAA,331
|
|
164
165
|
bluer_objects/tests/test_version.py,sha256=Lyf3PMcA22e17BNRk_2VgPrtao6dWEgVoXo68Uds8SE,75
|
|
165
|
-
bluer_objects/
|
|
166
|
-
bluer_objects/
|
|
167
|
-
bluer_objects/
|
|
168
|
-
bluer_objects
|
|
169
|
-
bluer_objects-6.
|
|
170
|
-
bluer_objects-6.
|
|
171
|
-
bluer_objects-6.
|
|
172
|
-
bluer_objects-6.
|
|
166
|
+
bluer_objects/tests/test_web_is_accessible.py,sha256=2Y20NAEDMblg0MKnhnqcfw3XVKEGakF8DlVzpW0FX5o,331
|
|
167
|
+
bluer_objects/web/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
168
|
+
bluer_objects/web/__main__.py,sha256=xf2Ob54FI8JEokfGhFmiyOBdD9nBactwqmZvsKsdioU,624
|
|
169
|
+
bluer_objects/web/functions.py,sha256=KNufAFOc6N3BYf83lN2rUpKUdsnzb2anWyp9koFRVUo,172
|
|
170
|
+
bluer_objects-6.191.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
171
|
+
bluer_objects-6.191.1.dist-info/METADATA,sha256=xHa7FnPzleeatx0ybdV_04CnrXmuYm0BNjphWPwpNE0,3678
|
|
172
|
+
bluer_objects-6.191.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
173
|
+
bluer_objects-6.191.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
174
|
+
bluer_objects-6.191.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|