bluer-objects 6.288.1__py3-none-any.whl → 6.292.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/README/consts.py +5 -0
- bluer_objects/__init__.py +1 -1
- bluer_objects/tests/{test_README_assets.py → test_README_consts.py} +21 -1
- {bluer_objects-6.288.1.dist-info → bluer_objects-6.292.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.288.1.dist-info → bluer_objects-6.292.1.dist-info}/RECORD +8 -8
- {bluer_objects-6.288.1.dist-info → bluer_objects-6.292.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.288.1.dist-info → bluer_objects-6.292.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.288.1.dist-info → bluer_objects-6.292.1.dist-info}/top_level.txt +0 -0
bluer_objects/README/consts.py
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
from typing import Union
|
|
2
2
|
|
|
3
3
|
github_kamangir = "https://github.com/kamangir"
|
|
4
|
+
designs_repo = f"{github_kamangir}/bluer-designs/"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def designs_url(suffix: str) -> str:
|
|
8
|
+
return f"{designs_repo}/blob/main/{suffix}"
|
|
4
9
|
|
|
5
10
|
|
|
6
11
|
def asset_volume(volume: Union[str, int] = "") -> str:
|
bluer_objects/__init__.py
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import pytest
|
|
2
|
-
from bluer_objects.README.consts import
|
|
2
|
+
from bluer_objects.README.consts import (
|
|
3
|
+
assets_path,
|
|
4
|
+
asset_volume,
|
|
5
|
+
designs_repo,
|
|
6
|
+
designs_url,
|
|
7
|
+
)
|
|
3
8
|
|
|
4
9
|
|
|
5
10
|
@pytest.mark.parametrize(
|
|
@@ -33,3 +38,18 @@ def test_README_assets(
|
|
|
33
38
|
assert isinstance(path, str)
|
|
34
39
|
assert path.endswith(suffix)
|
|
35
40
|
assert volume_path in path
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@pytest.mark.parametrize(
|
|
44
|
+
["suffix"],
|
|
45
|
+
[
|
|
46
|
+
["this"],
|
|
47
|
+
["that/which"],
|
|
48
|
+
],
|
|
49
|
+
)
|
|
50
|
+
def test_README_designs_url(suffix):
|
|
51
|
+
url = designs_url(suffix=suffix)
|
|
52
|
+
|
|
53
|
+
assert isinstance(url, str)
|
|
54
|
+
assert url.startswith(designs_repo)
|
|
55
|
+
assert url.endswith(suffix)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.292.1
|
|
4
4
|
Summary: 🌀 Object management in Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -65,6 +65,6 @@ pip install bluer-objects
|
|
|
65
65
|
|
|
66
66
|
[](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)
|
|
67
67
|
|
|
68
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.
|
|
68
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.292.1`](https://github.com/kamangir/bluer-objects).
|
|
69
69
|
|
|
70
70
|
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=-GIdP2jG8Ggl4MNlq7WUPFuSCo-pd19UXGan7aEC9hg,315
|
|
2
2
|
bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
|
|
3
3
|
bluer_objects/config.env,sha256=ReX0OSH_dK2tdD4-zAlp-427BB57yw8uDTS6tLYN4K0,270
|
|
4
4
|
bluer_objects/env.py,sha256=ecwldUVsamxAjOI0a6PmbZPcyhdUZgzJ-nhAPh0CJRo,2085
|
|
@@ -74,7 +74,7 @@ bluer_objects/.abcli/tests/web_where_am_ai.sh,sha256=BJ9G_m4id8cx_UB_l_jV2xY6AfQ
|
|
|
74
74
|
bluer_objects/.abcli/web/is_accessible.sh,sha256=Luv_6IvpscRYx7f39V0RnkkNEWTRfVGyQVUeij3iqa0,262
|
|
75
75
|
bluer_objects/.abcli/web/where_am_i.sh,sha256=QPBXFo6Ni4pZEoOx0rtuJUxk6tOlp0ESMyAc9YPy9zg,92
|
|
76
76
|
bluer_objects/README/__init__.py,sha256=AG9_REFcYVrfMbzK4y02Omie-fCjf6UBP4OnJyNSZ6w,1434
|
|
77
|
-
bluer_objects/README/consts.py,sha256=
|
|
77
|
+
bluer_objects/README/consts.py,sha256=pJgOJTXHSCh95Lcyl4AyG4t2l1eEp5dAO1hjosv9YMo,566
|
|
78
78
|
bluer_objects/README/functions.py,sha256=PvFawBlJ8IginQn8Kk1QewAyOYRQ4wCuRKpJwr5mUJ8,5844
|
|
79
79
|
bluer_objects/README/items.py,sha256=go4BpNhpdjiRIHf6EHDR5x9YlnboIgkvg7KvCt5rbVU,1508
|
|
80
80
|
bluer_objects/README/utils.py,sha256=WsEm0ad-gpMGMJ6X11W2nXYY5fBokOGPGNFvzjYZc5o,8241
|
|
@@ -148,7 +148,7 @@ bluer_objects/testing/__main__.py,sha256=hhJV9qn0V_8FxzNDcoHCHr4A7zf9UudnNGJCAPk
|
|
|
148
148
|
bluer_objects/testing/functions.py,sha256=AXAfzWLcEPkbSYTehdahshjKJ45C4IJkRs_TgrHOntc,1355
|
|
149
149
|
bluer_objects/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
150
|
bluer_objects/tests/test_README.py,sha256=5D4UV8VcjbeAPThsYVynYtVFuP8gwMAhIjEWuOQZsWs,89
|
|
151
|
-
bluer_objects/tests/
|
|
151
|
+
bluer_objects/tests/test_README_consts.py,sha256=bkPsl1g2k-Zcs9oZSlYmRIZraU4X_ZHUsOYoruUhj1Q,975
|
|
152
152
|
bluer_objects/tests/test_env.py,sha256=HgVCbnHGLIXK8GiaWNWORW9nAHs7fqvIoo6S5Jj29-g,1132
|
|
153
153
|
bluer_objects/tests/test_file_download.py,sha256=1_adHYqgSifkdP-I7TQVW0t8MLCujQ61fvRbcrSkcmg,512
|
|
154
154
|
bluer_objects/tests/test_file_load_save.py,sha256=unqxfiqba6RVhMS95AtHZWsT7Q097jBOKdckAT9PyFU,2390
|
|
@@ -181,8 +181,8 @@ bluer_objects/tests/test_web_is_accessible.py,sha256=2Y20NAEDMblg0MKnhnqcfw3XVKE
|
|
|
181
181
|
bluer_objects/web/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
182
182
|
bluer_objects/web/__main__.py,sha256=xf2Ob54FI8JEokfGhFmiyOBdD9nBactwqmZvsKsdioU,624
|
|
183
183
|
bluer_objects/web/functions.py,sha256=KNufAFOc6N3BYf83lN2rUpKUdsnzb2anWyp9koFRVUo,172
|
|
184
|
-
bluer_objects-6.
|
|
185
|
-
bluer_objects-6.
|
|
186
|
-
bluer_objects-6.
|
|
187
|
-
bluer_objects-6.
|
|
188
|
-
bluer_objects-6.
|
|
184
|
+
bluer_objects-6.292.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
185
|
+
bluer_objects-6.292.1.dist-info/METADATA,sha256=Csb3DeU3bKYrafXdeDaS1W6sk-sQpS5dnOiuVarb1Ns,3780
|
|
186
|
+
bluer_objects-6.292.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
187
|
+
bluer_objects-6.292.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
188
|
+
bluer_objects-6.292.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|