bluer-sbc 9.54.1__py3-none-any.whl → 9.57.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-sbc might be problematic. Click here for more details.

@@ -10,7 +10,7 @@ items = markdown.generate_table(
10
10
  {
11
11
  "name": "parts",
12
12
  "url": "./bluer_sbc/docs/parts",
13
- "marquee": f"{db_of_parts.url_prefix}/XL4015.png",
13
+ "marquee": f"{db_of_parts.url_prefix}/grid.png",
14
14
  },
15
15
  ]
16
16
  ),
bluer_sbc/__init__.py CHANGED
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} AI for single board computers and related designs."
6
6
 
7
- VERSION = "9.54.1"
7
+ VERSION = "9.57.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -11,7 +11,9 @@ from bluer_options.logger import log_list
11
11
  from bluer_objects import file
12
12
  from bluer_objects import README
13
13
  from bluer_objects.README.consts import assets_path, assets_url
14
+ from bluer_objects.logger.image import log_image_grid
14
15
 
16
+ from bluer_sbc.host import signature
15
17
  from bluer_sbc import NAME
16
18
  from bluer_sbc.parts.classes.part import Part
17
19
  from bluer_sbc.logger import logger
@@ -87,6 +89,27 @@ class PartDB:
87
89
  )
88
90
  log_list(logger, "adjusting", list_of_filenames, "images")
89
91
 
92
+ if not log_image_grid(
93
+ items=[
94
+ {
95
+ "filename": os.path.join(self.path, part.images[0]),
96
+ "title": part_name,
97
+ }
98
+ for part_name, part in self._db.items()
99
+ if part_name != "template" and part.images
100
+ ],
101
+ filename=assets_path(
102
+ suffix="bluer-sbc/parts/grid.png",
103
+ volume=2,
104
+ ),
105
+ scale=3,
106
+ header=[
107
+ "{} part(s)".format(len(self._db) - 1),
108
+ ],
109
+ footer=signature(),
110
+ ):
111
+ return False
112
+
90
113
  max_width = 0
91
114
  max_height = 0
92
115
  for filename in tqdm(list_of_filenames):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 9.54.1
3
+ Version: 9.57.1
4
4
  Summary: 🌀 AI for single board computers and related designs.
5
5
  Home-page: https://github.com/kamangir/bluer-sbc
6
6
  Author: Arash Abadpour (Kamangir)
@@ -55,7 +55,7 @@ pip install bluer_sbc
55
55
 
56
56
  | |
57
57
  | --- |
58
- | [`parts`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/parts) [![image](https://github.com/kamangir/assets2/raw/main/bluer-sbc/parts/XL4015.png)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/parts) |
58
+ | [`parts`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/parts) [![image](https://github.com/kamangir/assets2/raw/main/bluer-sbc/parts/grid.png)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/parts) |
59
59
 
60
60
  ---
61
61
 
@@ -66,7 +66,7 @@ pip install bluer_sbc
66
66
 
67
67
  [![pylint](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-sbc.svg)](https://pypi.org/project/bluer-sbc/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-sbc)](https://pypistats.org/packages/bluer-sbc)
68
68
 
69
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-9.54.1`](https://github.com/kamangir/bluer-sbc).
69
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-9.57.1`](https://github.com/kamangir/bluer-sbc).
70
70
 
71
71
 
72
72
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -1,4 +1,4 @@
1
- bluer_sbc/__init__.py,sha256=eVVAwAI2HwXCYp31sEK9XyTpfMHlr02bOpp-a3i1XrI,311
1
+ bluer_sbc/__init__.py,sha256=XvWUm5eaXJC70DwmzLRyD_j4BkpIyo4KlOCcZ39blSI,311
2
2
  bluer_sbc/__main__.py,sha256=mdHwITYb7ypMkevZnEBqFO-S4MYkdrTfbS8ZYTd5MBM,374
3
3
  bluer_sbc/config.env,sha256=Lp91dQZrPDtMO-87-pAw1wOqLMIYEI1MlNrXhvKMaoE,706
4
4
  bluer_sbc/env.py,sha256=saEjdk3FHmuK-WQUUpKfOatwmE93Y2Ula3rtGhRm0Zw,1745
@@ -50,7 +50,7 @@ bluer_sbc/README/build.py,sha256=42pCUarnbdwxuWci1GnCSWMtkt5P-zbiyHRd6ItVMqc,862
50
50
  bluer_sbc/README/design.py,sha256=gktc7rLWf32XXCVBSJyoVeC3mrGPzPnLDJsVZklCEik,794
51
51
  bluer_sbc/README/parts.py,sha256=pIF2dzEuXeBi_M8dPEg2GM9dpAgL3EzKgvm0KwrmQFU,382
52
52
  bluer_sbc/README/root.py,sha256=rCdMGJjOiCkTPcE7Uy01-Y-LaRfDoFJN1SeUPDXLOuE,1167
53
- bluer_sbc/README/shortcuts.py,sha256=AJPOqBtBx8dqaCUdIB4mq2aMmV7EY8IYcjuagletH-M,392
53
+ bluer_sbc/README/shortcuts.py,sha256=Pu7e83Vpz9mZv717jzOluJnGXwo22bUJPZ122NPjUpM,390
54
54
  bluer_sbc/README/designs/__init__.py,sha256=pgiqjy3TnqTvhMGvepRR--G9gyDNhCQhec8cwzNeHr8,1860
55
55
  bluer_sbc/README/designs/battery_bus.py,sha256=-neRjUhQO3hh_XjGR11tbnye6gYaBdBkL0sHLLXQIyg,960
56
56
  bluer_sbc/README/designs/blue_bracket.py,sha256=4p80wXEAbn4y7jXrTqK1KFrtcQYJ3zdeBiDWR8E4aCI,866
@@ -116,14 +116,14 @@ bluer_sbc/imager/lepton/python2.py,sha256=1jAHHzmda_bmqKj0b0X-2KONW5s9umxKaTY4Zi
116
116
  bluer_sbc/parts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
117
  bluer_sbc/parts/__main__.py,sha256=BvSd7uLq-zq1Sjw_I6tvOk2Gcb67mOBRf3lZxMHmuQo,763
118
118
  bluer_sbc/parts/db.py,sha256=GzRCbGcmF1FdZgaSYIFvXkZLByO6Uvm3P1uLGK8zBag,9210
119
- bluer_sbc/parts/classes/db.py,sha256=YuGuIWGkSNMUcsd8KSCq5hGrXS_uPtZuzAUtp65QgNU,5679
119
+ bluer_sbc/parts/classes/db.py,sha256=6av7MhpNBLwOlXHXr-djTaUtJdlslAsbaHeFoUmoDZA,6408
120
120
  bluer_sbc/parts/classes/part.py,sha256=tKXjipFRwu0-Gc53VXivwaeqhyYr9uunG6EUzcdr_x8,2181
121
121
  bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
122
122
  bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
123
123
  bluer_sbc/session/classes.py,sha256=6pEh-TBjekUZBbWj_zKh3LAntAoGfcMHtS2SJ77nyC8,9355
124
124
  bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
125
- bluer_sbc-9.54.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
126
- bluer_sbc-9.54.1.dist-info/METADATA,sha256=nU5J2Yu5Z_Mi7Vf7XcNEfS9br5P3CIvxZ3zNwAJeTJw,5748
127
- bluer_sbc-9.54.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
- bluer_sbc-9.54.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
129
- bluer_sbc-9.54.1.dist-info/RECORD,,
125
+ bluer_sbc-9.57.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
126
+ bluer_sbc-9.57.1.dist-info/METADATA,sha256=6qdnA-tvrcLIUjbmpNwEbMkyKKghiJ_LG4VeAvfzXec,5746
127
+ bluer_sbc-9.57.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
+ bluer_sbc-9.57.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
129
+ bluer_sbc-9.57.1.dist-info/RECORD,,