bluer-objects 6.201.1__py3-none-any.whl → 6.205.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/__init__.py +1 -1
- bluer_objects/logger/image.py +5 -1
- {bluer_objects-6.201.1.dist-info → bluer_objects-6.205.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.201.1.dist-info → bluer_objects-6.205.1.dist-info}/RECORD +7 -7
- {bluer_objects-6.201.1.dist-info → bluer_objects-6.205.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.201.1.dist-info → bluer_objects-6.205.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.201.1.dist-info → bluer_objects-6.205.1.dist-info}/top_level.txt +0 -0
bluer_objects/__init__.py
CHANGED
bluer_objects/logger/image.py
CHANGED
|
@@ -4,6 +4,8 @@ import pandas as pd
|
|
|
4
4
|
import random
|
|
5
5
|
import os
|
|
6
6
|
|
|
7
|
+
from bluer_options import string
|
|
8
|
+
|
|
7
9
|
from bluer_objects import file, objects
|
|
8
10
|
from bluer_objects.graphics.signature import sign_filename
|
|
9
11
|
|
|
@@ -51,6 +53,7 @@ def log_image_grid(
|
|
|
51
53
|
)
|
|
52
54
|
axes = axes.flatten()
|
|
53
55
|
|
|
56
|
+
image_shape = ""
|
|
54
57
|
for i, item in enumerate(items):
|
|
55
58
|
if item.get("pass", False):
|
|
56
59
|
axes[i].axis("off")
|
|
@@ -66,6 +69,7 @@ def log_image_grid(
|
|
|
66
69
|
|
|
67
70
|
ax = axes[i]
|
|
68
71
|
image = item["image"]
|
|
72
|
+
image_shape = string.pretty_shape_of_matrix(image)
|
|
69
73
|
ax.imshow(
|
|
70
74
|
image,
|
|
71
75
|
cmap="gray" if image.ndim == 2 else None,
|
|
@@ -86,6 +90,6 @@ def log_image_grid(
|
|
|
86
90
|
|
|
87
91
|
return sign_filename(
|
|
88
92
|
filename,
|
|
89
|
-
[" | ".join(objects.signature("grid.png") + header)],
|
|
93
|
+
[" | ".join(objects.signature("grid.png") + [image_shape] + header)],
|
|
90
94
|
[" | ".join(footer)],
|
|
91
95
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.205.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.205.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=x3ZmoRnxJvhuIX2ZztrmXKIjYua26v16oyauXq9SYSw,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
|
|
@@ -107,7 +107,7 @@ bluer_objects/host/__init__.py,sha256=Ko43SWnZNsGKuIPU_l0w17pYrxCgVHQx3_zEoUNaHZ
|
|
|
107
107
|
bluer_objects/host/__main__.py,sha256=J0MO2sUzrI_t_X4VVYyM6n41ND0yhhSXOmZSkDAC4rg,1751
|
|
108
108
|
bluer_objects/host/functions.py,sha256=ADups78hYZDAnC6FlIICQ48WkFd4sPnRMWA0D6X-FV4,1663
|
|
109
109
|
bluer_objects/logger/__init__.py,sha256=2aGNbx-qBXU3IlX9BDqtrFfN25lO_uarEg22cE3-3dU,102
|
|
110
|
-
bluer_objects/logger/image.py,sha256=
|
|
110
|
+
bluer_objects/logger/image.py,sha256=I7Oud8r-fbzQ__3QhwSTKLjZR1vBfJd1ae21rP5_Uqo,2234
|
|
111
111
|
bluer_objects/logger/matrix.py,sha256=cPKQIhd347MH_9LaB-Ym7Mix1pqampG9MIgkeh08KA4,5757
|
|
112
112
|
bluer_objects/metadata/__init__.py,sha256=B8cmMOMMO53mTwD2LJUFbSjvangSkpLqhR3oVIBsoBI,260
|
|
113
113
|
bluer_objects/metadata/__main__.py,sha256=UAZBsf3AMUo-OHIgg4gS5_OowDOIO2T_zjismL3AfkI,2272
|
|
@@ -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.205.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
173
|
+
bluer_objects-6.205.1.dist-info/METADATA,sha256=B1v_iaeVV1ut06c6GpZSmIpAJ99-88tJ4AmbB7R6OEU,3678
|
|
174
|
+
bluer_objects-6.205.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
175
|
+
bluer_objects-6.205.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
176
|
+
bluer_objects-6.205.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|