bluer-objects 6.218.1__py3-none-any.whl → 6.223.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/functions.py +1 -1
- bluer_objects/__init__.py +1 -1
- bluer_objects/file/save.py +4 -2
- {bluer_objects-6.218.1.dist-info → bluer_objects-6.223.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.218.1.dist-info → bluer_objects-6.223.1.dist-info}/RECORD +8 -8
- {bluer_objects-6.218.1.dist-info → bluer_objects-6.223.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.218.1.dist-info → bluer_objects-6.223.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.218.1.dist-info → bluer_objects-6.223.1.dist-info}/top_level.txt +0 -0
|
@@ -121,7 +121,7 @@ def build(
|
|
|
121
121
|
if template_line.startswith("set:::"):
|
|
122
122
|
key, value = template_line.split("set:::", 1)[1].split(" ", 1)
|
|
123
123
|
variables[key] = value
|
|
124
|
-
logger.info(f"
|
|
124
|
+
logger.info(f"{key} = {value}")
|
|
125
125
|
continue
|
|
126
126
|
|
|
127
127
|
for key, value in variables.items():
|
bluer_objects/__init__.py
CHANGED
bluer_objects/file/save.py
CHANGED
|
@@ -104,9 +104,9 @@ def save_fig(
|
|
|
104
104
|
try:
|
|
105
105
|
import matplotlib.pyplot as plt
|
|
106
106
|
|
|
107
|
+
plt.savefig(filename, bbox_inches="tight")
|
|
107
108
|
if is_jupyter():
|
|
108
109
|
plt.show()
|
|
109
|
-
plt.savefig(filename, bbox_inches="tight")
|
|
110
110
|
plt.close()
|
|
111
111
|
except:
|
|
112
112
|
success = False
|
|
@@ -136,7 +136,9 @@ def save_image(
|
|
|
136
136
|
data = np.flip(data, axis=2)
|
|
137
137
|
|
|
138
138
|
cv2.imwrite(filename, data)
|
|
139
|
-
except:
|
|
139
|
+
except Exception as e:
|
|
140
|
+
if log:
|
|
141
|
+
logger.error(e)
|
|
140
142
|
success = False
|
|
141
143
|
|
|
142
144
|
return finish_saving(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.223.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.223.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=j4vKuCujvGTVb99MrpgT1HkCW_o0gIPtZNPXDSptg0I,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
|
|
@@ -72,14 +72,14 @@ bluer_objects/.abcli/tests/web_where_am_ai.sh,sha256=BJ9G_m4id8cx_UB_l_jV2xY6AfQ
|
|
|
72
72
|
bluer_objects/.abcli/web/is_accessible.sh,sha256=Luv_6IvpscRYx7f39V0RnkkNEWTRfVGyQVUeij3iqa0,262
|
|
73
73
|
bluer_objects/.abcli/web/where_am_i.sh,sha256=QPBXFo6Ni4pZEoOx0rtuJUxk6tOlp0ESMyAc9YPy9zg,92
|
|
74
74
|
bluer_objects/README/__init__.py,sha256=JwxdTVAK3LeUaw7rMJujOFIXZA59HaLCtxpsR1C-vpo,1311
|
|
75
|
-
bluer_objects/README/functions.py,sha256=
|
|
75
|
+
bluer_objects/README/functions.py,sha256=69aXmAVRN-WxUGfQf9x1LJj7eMTSW1LiOWk3XuwtyEA,11364
|
|
76
76
|
bluer_objects/README/items.py,sha256=rTiOVd9fCoKUbFofBWjRV6oNDaH3XXdpL0XIPZqpy_w,951
|
|
77
77
|
bluer_objects/file/__init__.py,sha256=c_79ipBkKl6OFDimOev0vnaVdpUk-Bl3oJUapOreMXc,681
|
|
78
78
|
bluer_objects/file/__main__.py,sha256=v2IXWvZeh_B2sGYWzv1CiUY-7HWHXXghZM5M4IPjbu4,1277
|
|
79
79
|
bluer_objects/file/classes.py,sha256=TRgeRP2yxInPkBnywhuB4BsoBcBRA3UmQzX1dI43UxU,872
|
|
80
80
|
bluer_objects/file/functions.py,sha256=H4cgKtCTpbY3dR7kAOvbAbq8xSEHR9s6MQ_3W-Pb6Ng,6441
|
|
81
81
|
bluer_objects/file/load.py,sha256=1zt5xC95HFr89G9lsi3gCJMSvC4Bt0vVeeUEf3NjpOQ,4281
|
|
82
|
-
bluer_objects/file/save.py,sha256=
|
|
82
|
+
bluer_objects/file/save.py,sha256=eXl5pM8Q29Jq8skVkZkU6THoqyMd2FkfFIPgO0-NarM,5056
|
|
83
83
|
bluer_objects/graphics/__init__.py,sha256=Dd0kQqN7Ldvp1N9oyIirPZ6W3IdUtfPj2u21Bf4W_MI,213
|
|
84
84
|
bluer_objects/graphics/__main__.py,sha256=A221gpkUDYd_S2eYz8i6KwaPumg8myaR7L5j464wC54,1909
|
|
85
85
|
bluer_objects/graphics/frame.py,sha256=WcSn-0oqDw48Akmn_bwcjDC9U_kKqRYRoGWYPoKyFvY,321
|
|
@@ -169,8 +169,8 @@ bluer_objects/tests/test_web_is_accessible.py,sha256=2Y20NAEDMblg0MKnhnqcfw3XVKE
|
|
|
169
169
|
bluer_objects/web/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
170
170
|
bluer_objects/web/__main__.py,sha256=xf2Ob54FI8JEokfGhFmiyOBdD9nBactwqmZvsKsdioU,624
|
|
171
171
|
bluer_objects/web/functions.py,sha256=KNufAFOc6N3BYf83lN2rUpKUdsnzb2anWyp9koFRVUo,172
|
|
172
|
-
bluer_objects-6.
|
|
173
|
-
bluer_objects-6.
|
|
174
|
-
bluer_objects-6.
|
|
175
|
-
bluer_objects-6.
|
|
176
|
-
bluer_objects-6.
|
|
172
|
+
bluer_objects-6.223.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
173
|
+
bluer_objects-6.223.1.dist-info/METADATA,sha256=tn5jTlzK9gEDio47tYMkSicLqxh6eCYAS9SuF3OeHGI,3678
|
|
174
|
+
bluer_objects-6.223.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
175
|
+
bluer_objects-6.223.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
176
|
+
bluer_objects-6.223.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|