bluer-objects 6.12.1__py3-none-any.whl → 6.17.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/abcli.sh +2 -2
- bluer_objects/README/functions.py +3 -1
- bluer_objects/__init__.py +1 -1
- bluer_objects/config.env +0 -15
- bluer_objects/env.py +3 -29
- bluer_objects/tests/test_env.py +0 -10
- {bluer_objects-6.12.1.dist-info → bluer_objects-6.17.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.12.1.dist-info → bluer_objects-6.17.1.dist-info}/RECORD +11 -11
- {bluer_objects-6.12.1.dist-info → bluer_objects-6.17.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.12.1.dist-info → bluer_objects-6.17.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.12.1.dist-info → bluer_objects-6.17.1.dist-info}/top_level.txt +0 -0
bluer_objects/.abcli/abcli.sh
CHANGED
|
@@ -6,7 +6,6 @@ from blueness import module
|
|
|
6
6
|
from bluer_options import fullname
|
|
7
7
|
|
|
8
8
|
from bluer_objects import NAME as MY_NAME, ICON as MY_ICON
|
|
9
|
-
from bluer_objects.env import ABCLI_PUBLIC_PREFIX
|
|
10
9
|
from bluer_objects.metadata import get_from_object
|
|
11
10
|
from bluer_objects import file
|
|
12
11
|
from bluer_objects import markdown
|
|
@@ -15,6 +14,9 @@ from bluer_objects.logger import logger
|
|
|
15
14
|
MY_NAME = module.name(__file__, MY_NAME)
|
|
16
15
|
|
|
17
16
|
|
|
17
|
+
ABCLI_PUBLIC_PREFIX = "to-be-removed"
|
|
18
|
+
|
|
19
|
+
|
|
18
20
|
def build(
|
|
19
21
|
NAME: str,
|
|
20
22
|
VERSION: str,
|
bluer_objects/__init__.py
CHANGED
bluer_objects/config.env
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
ABCLI_AWS_REGION=ca-central-1
|
|
2
|
-
|
|
3
|
-
ABCLI_AWS_S3_BUCKET_NAME=kamangir
|
|
4
|
-
|
|
5
|
-
ABCLI_AWS_S3_PREFIX=bolt
|
|
6
|
-
|
|
7
|
-
ABCLI_AWS_S3_PUBLIC_BUCKET_NAME=kamangir-public
|
|
8
|
-
|
|
9
|
-
ABCLI_PUBLIC_PREFIX=https://kamangir-public.s3.ca-central-1.amazonaws.com
|
|
10
|
-
|
|
11
1
|
VANWATCH_TEST_OBJECT=vanwatch-test-object-v2
|
|
12
2
|
|
|
13
|
-
# refer to ABCLI_AWS_* in sample.env for details
|
|
14
|
-
ABCLI_AWS_RDS_DB=abcli
|
|
15
|
-
ABCLI_AWS_RDS_PORT=3306
|
|
16
|
-
ABCLI_AWS_RDS_USER=admin
|
|
17
|
-
|
|
18
3
|
DATABRICKS_WORKSPACE=abcli-v4
|
|
19
4
|
|
|
20
5
|
ABCLI_MLFLOW_URL_SUBDOMAIN=ml
|
bluer_objects/env.py
CHANGED
|
@@ -8,21 +8,6 @@ load_config(__name__)
|
|
|
8
8
|
|
|
9
9
|
HOME = get_env("HOME")
|
|
10
10
|
|
|
11
|
-
ABCLI_AWS_REGION = get_env("ABCLI_AWS_REGION")
|
|
12
|
-
|
|
13
|
-
ABCLI_AWS_S3_BUCKET_NAME = get_env(
|
|
14
|
-
"ABCLI_AWS_S3_BUCKET_NAME",
|
|
15
|
-
"kamangir",
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
ABCLI_AWS_S3_PREFIX = get_env(
|
|
19
|
-
"ABCLI_AWS_S3_PREFIX",
|
|
20
|
-
"bolt",
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
ABCLI_AWS_S3_PUBLIC_BUCKET_NAME = get_env("ABCLI_AWS_S3_PUBLIC_BUCKET_NAME")
|
|
24
|
-
|
|
25
|
-
|
|
26
11
|
abcli_object_path = get_env("abcli_object_path")
|
|
27
12
|
|
|
28
13
|
ABCLI_PATH_STORAGE = get_env(
|
|
@@ -32,11 +17,6 @@ ABCLI_PATH_STORAGE = get_env(
|
|
|
32
17
|
|
|
33
18
|
abcli_object_name = get_env("abcli_object_name")
|
|
34
19
|
|
|
35
|
-
ABCLI_S3_OBJECT_PREFIX = get_env(
|
|
36
|
-
"ABCLI_S3_OBJECT_PREFIX",
|
|
37
|
-
f"s3://{ABCLI_AWS_S3_BUCKET_NAME}/{ABCLI_AWS_S3_PREFIX}",
|
|
38
|
-
)
|
|
39
|
-
|
|
40
20
|
|
|
41
21
|
ABCLI_OBJECT_ROOT = get_env(
|
|
42
22
|
"ABCLI_OBJECT_ROOT",
|
|
@@ -50,23 +30,17 @@ abcli_path_git = get_env(
|
|
|
50
30
|
|
|
51
31
|
ABCLI_PATH_STATIC = get_env("ABCLI_PATH_STATIC")
|
|
52
32
|
|
|
53
|
-
ABCLI_PUBLIC_PREFIX = get_env("ABCLI_PUBLIC_PREFIX")
|
|
54
|
-
|
|
55
33
|
VANWATCH_TEST_OBJECT = get_env("VANWATCH_TEST_OBJECT")
|
|
56
34
|
|
|
57
35
|
# https://www.randomtextgenerator.com/
|
|
58
36
|
DUMMY_TEXT = "This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text. This is some dummy text."
|
|
59
37
|
|
|
60
|
-
ABCLI_AWS_RDS_DB = get_env("ABCLI_AWS_RDS_DB")
|
|
61
|
-
ABCLI_AWS_RDS_PORT = get_env("ABCLI_AWS_RDS_PORT")
|
|
62
|
-
ABCLI_AWS_RDS_USER = get_env("ABCLI_AWS_RDS_USER")
|
|
63
|
-
|
|
64
|
-
ABCLI_AWS_RDS_HOST = get_env("ABCLI_AWS_RDS_HOST")
|
|
65
|
-
ABCLI_AWS_RDS_PASSWORD = get_env("ABCLI_AWS_RDS_PASSWORD")
|
|
66
|
-
|
|
67
38
|
DATABRICKS_WORKSPACE = get_env("DATABRICKS_WORKSPACE")
|
|
68
39
|
|
|
69
40
|
DATABRICKS_HOST = get_env("DATABRICKS_HOST")
|
|
70
41
|
DATABRICKS_TOKEN = get_env("DATABRICKS_TOKEN")
|
|
71
42
|
|
|
72
43
|
ABCLI_MLFLOW_EXPERIMENT_PREFIX = get_env("ABCLI_MLFLOW_EXPERIMENT_PREFIX")
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
ABCLI_S3_OBJECT_PREFIX = "to-be-removed"
|
bluer_objects/tests/test_env.py
CHANGED
|
@@ -8,7 +8,6 @@ def test_required_env():
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
def test_bluer_objects_env():
|
|
11
|
-
assert env.ABCLI_PUBLIC_PREFIX
|
|
12
11
|
assert env.VANWATCH_TEST_OBJECT
|
|
13
12
|
|
|
14
13
|
assert env.DATABRICKS_WORKSPACE
|
|
@@ -16,12 +15,3 @@ def test_bluer_objects_env():
|
|
|
16
15
|
assert env.DATABRICKS_TOKEN
|
|
17
16
|
|
|
18
17
|
assert env.ABCLI_MLFLOW_EXPERIMENT_PREFIX
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def test_bluer_objects_env_RDS():
|
|
22
|
-
assert env.ABCLI_AWS_RDS_DB
|
|
23
|
-
assert env.ABCLI_AWS_RDS_PORT
|
|
24
|
-
assert env.ABCLI_AWS_RDS_USER
|
|
25
|
-
|
|
26
|
-
assert env.ABCLI_AWS_RDS_HOST
|
|
27
|
-
assert env.ABCLI_AWS_RDS_PASSWORD
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.17.1
|
|
4
4
|
Summary: 🌀 data objects for Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -52,6 +52,6 @@ Also home to [blue README](https://github.com/kamangir/bluer-objects/blob/main/b
|
|
|
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_options-5.
|
|
55
|
+
built by 🌀 [`bluer_options-5.19.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.17.1`](https://github.com/kamangir/bluer-objects).
|
|
56
56
|
|
|
57
57
|
built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
bluer_objects/__init__.py,sha256=
|
|
1
|
+
bluer_objects/__init__.py,sha256=qGSpUUsLVV8cjXHQAx0XoHy98H5-g4Pi-MDIBWLIczo,310
|
|
2
2
|
bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
|
|
3
|
-
bluer_objects/config.env,sha256=
|
|
4
|
-
bluer_objects/env.py,sha256=
|
|
3
|
+
bluer_objects/config.env,sha256=WyAZMrVtiAqPKhnrMIiBf-0P0MfxehMK7STnVVSYcig,170
|
|
4
|
+
bluer_objects/env.py,sha256=dSJJJw1yG5rq36AE95DCzmizOce9k4uW8Zv-MH3pJ2U,1223
|
|
5
5
|
bluer_objects/markdown.py,sha256=PhAwCTHIisO9qOpKHeb63U5oD9Zi8LnIQKTx_OWS4wE,938
|
|
6
6
|
bluer_objects/objects.py,sha256=TWbb6jeVvHJcLPutftXb724zxIiAy6aq3q4SLYgvPns,3462
|
|
7
7
|
bluer_objects/path.py,sha256=9uspZqObI29NerVDF30uILLaouDtloASh0Mywyq2_ew,3946
|
|
8
8
|
bluer_objects/sample.env,sha256=HBpf1DRNOkN29g79B9HJUceVJHddADxexsVlnGwLLbI,860
|
|
9
9
|
bluer_objects/urls.py,sha256=paHaYlLMQOI46-EYNch5ohu9Q09BMkF2vvJy1QufrVI,19
|
|
10
|
-
bluer_objects/.abcli/abcli.sh,sha256=
|
|
10
|
+
bluer_objects/.abcli/abcli.sh,sha256=fJNGV1tuv84gG--gNBggeud2LxGGtL0TocNBY0uHfEg,199
|
|
11
11
|
bluer_objects/.abcli/actions.sh,sha256=NktmgzOvpYPM0nqcg_7pGBV3TEDb9STqG6qZQ8xmg-Y,233
|
|
12
12
|
bluer_objects/.abcli/aka.sh,sha256=odRbw4KZb9Ld7uXny6H2pPi64_5kowKX3s68N6YvRmI,23
|
|
13
13
|
bluer_objects/.abcli/alias.sh,sha256=CQH6GluAxKpk80vBxHWe6yoppgAes9zGGJL2daGp6iw,528
|
|
@@ -64,7 +64,7 @@ bluer_objects/.abcli/tests/mysql_tags.sh,sha256=gqRp3lOdME0QP0JPpB392VZECiiPYfPW
|
|
|
64
64
|
bluer_objects/.abcli/tests/test_gif.sh,sha256=CBBLdV3KkJ-aHwSTwQ1BzoG0MNr3bgXP3aw4mETtSbc,267
|
|
65
65
|
bluer_objects/.abcli/tests/version.sh,sha256=cKf8z0KJKNawIHo_6RE0M5KAJ_ZpicTzyer5PMOVXCk,166
|
|
66
66
|
bluer_objects/README/__init__.py,sha256=BmSX0KzYCTAc2_wwi8QWGSt7PYKNK46IYD0VPr_xJMk,692
|
|
67
|
-
bluer_objects/README/functions.py,sha256=
|
|
67
|
+
bluer_objects/README/functions.py,sha256=bUaM1Na-ei17GOepr_mETZyiqOxi6MF3dBmEZTGYTrs,11029
|
|
68
68
|
bluer_objects/README/items.py,sha256=-XaNCr5b_NGRkZVfIQ6hBFgJw5GIVcMJdktT3hWoam4,755
|
|
69
69
|
bluer_objects/file/__init__.py,sha256=c_79ipBkKl6OFDimOev0vnaVdpUk-Bl3oJUapOreMXc,681
|
|
70
70
|
bluer_objects/file/__main__.py,sha256=YuS7WUX_jMDmeSN9pOD9hGZMNDKOcVwcqaBTyXzvy7w,1208
|
|
@@ -103,7 +103,7 @@ bluer_objects/mlflow/tags.py,sha256=8uBYRrE4weTLrwPqo-c4M21FEVRANf7SGCcxpoCPhuM,
|
|
|
103
103
|
bluer_objects/mlflow/testing.py,sha256=cJH5Ki02fJN_Xos1j9yvwQChXvMkOa9i12vtDKmkbNc,842
|
|
104
104
|
bluer_objects/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
105
|
bluer_objects/tests/test_README.py,sha256=5D4UV8VcjbeAPThsYVynYtVFuP8gwMAhIjEWuOQZsWs,89
|
|
106
|
-
bluer_objects/tests/test_env.py,sha256=
|
|
106
|
+
bluer_objects/tests/test_env.py,sha256=mOAjckCgnZB4YcEz_2_vQxc4i308xZB8aCG4HRmbRVw,351
|
|
107
107
|
bluer_objects/tests/test_file_load_save.py,sha256=LrakotJz-GPNoF8HCT-CRLWDif6lsKmnaLzOzlSwFp0,2312
|
|
108
108
|
bluer_objects/tests/test_fullname.py,sha256=xWFf9qqzDQ-4RxRyvyR9GWZyU5qNrKxru94UUKMJfPk,80
|
|
109
109
|
bluer_objects/tests/test_graphics.py,sha256=REHnkItksz2M8jZHQpZuP02oKmx4ZpD9PFJtSI4uhYY,564
|
|
@@ -120,8 +120,8 @@ bluer_objects/tests/test_mlflow.py,sha256=B7CvITThv6YmDB1la9_H2sF2VLt8urpNDQ0YnC
|
|
|
120
120
|
bluer_objects/tests/test_objects.py,sha256=GNW4zbswrrK-kyyeCmfwACF5s1npVVXli_18q_6LaJc,4216
|
|
121
121
|
bluer_objects/tests/test_path.py,sha256=JjONWyhZyMM_u1SzD1RI_iZ5vYJDUe-B51fbbHczIig,85
|
|
122
122
|
bluer_objects/tests/test_version.py,sha256=Lyf3PMcA22e17BNRk_2VgPrtao6dWEgVoXo68Uds8SE,75
|
|
123
|
-
bluer_objects-6.
|
|
124
|
-
bluer_objects-6.
|
|
125
|
-
bluer_objects-6.
|
|
126
|
-
bluer_objects-6.
|
|
127
|
-
bluer_objects-6.
|
|
123
|
+
bluer_objects-6.17.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
124
|
+
bluer_objects-6.17.1.dist-info/METADATA,sha256=UpTIBxR4kDg5GJswtnPEP_u5GUpCEEajjpRjSv3aEPo,2657
|
|
125
|
+
bluer_objects-6.17.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
126
|
+
bluer_objects-6.17.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
127
|
+
bluer_objects-6.17.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|