bluer-sbc 8.213.1__py3-none-any.whl → 8.229.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.

bluer_sbc/__init__.py CHANGED
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} AI for single board computers and other designs."
6
6
 
7
- VERSION = "8.213.1"
7
+ VERSION = "8.229.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -14,12 +15,6 @@ marquee = README.Items(
14
15
  ]
15
16
  )
16
17
 
17
- items = README.Items(
18
- [
19
- {
20
- "marquee": image_template.format(f"{index+1:02}.jpg"),
21
- "name": "",
22
- }
23
- for index in range(9)
24
- ]
18
+ items = ImageItems(
19
+ {image_template.format(f"{index+1:02}.jpg"): "" for index in range(9)}
25
20
  )
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -14,12 +15,6 @@ marquee = README.Items(
14
15
  ]
15
16
  )
16
17
 
17
- items = README.Items(
18
- [
19
- {
20
- "marquee": image_template.format(f"{index+1:02}.png"),
21
- "name": "",
22
- }
23
- for index in range(1)
24
- ]
18
+ items = ImageItems(
19
+ {image_template.format(f"{index+1:02}.png"): "" for index in range(1)}
25
20
  )
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -14,12 +15,6 @@ marquee = README.Items(
14
15
  ]
15
16
  )
16
17
 
17
- items = README.Items(
18
- [
19
- {
20
- "marquee": image_template.format(f"{index+1:02}.png"),
21
- "name": "",
22
- }
23
- for index in range(4)
24
- ],
18
+ items = ImageItems(
19
+ {image_template.format(f"{index+1:02}.png"): "" for index in range(4)}
25
20
  )
@@ -1,9 +1,16 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
3
+ from bluer_objects.README.consts import assets_path
2
4
 
3
5
  from bluer_sbc.designs.consts import assets2
4
6
 
5
7
  image_template = assets2 + "shelter/{}?raw=true"
6
8
 
9
+ assets2_shelter = assets_path(
10
+ suffix="shelter",
11
+ volume=2,
12
+ )
13
+
7
14
  marquee = README.Items(
8
15
  [
9
16
  {
@@ -14,12 +21,10 @@ marquee = README.Items(
14
21
  ]
15
22
  )
16
23
 
17
- items = README.Items(
18
- [
19
- {
20
- "marquee": image_template.format(f"{index+1:02}.png"),
21
- "name": "",
22
- }
23
- for index in range(4)
24
- ],
24
+ items = ImageItems(
25
+ {image_template.format(f"{index+1:02}.png"): "" for index in range(4)}
26
+ ) + ImageItems(
27
+ {
28
+ f"{assets2_shelter}/20251005_180841.jpg": "",
29
+ }
25
30
  )
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -15,12 +16,6 @@ marquee = README.Items(
15
16
  ]
16
17
  )
17
18
 
18
- items = README.Items(
19
- [
20
- {
21
- "marquee": image_template.format(f"{index+1:02}.jpg"),
22
- "name": "",
23
- }
24
- for index in range(6)
25
- ]
19
+ items = ImageItems(
20
+ {image_template.format(f"{index+1:02}.jpg"): "" for index in range(6)}
26
21
  )
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -15,12 +16,6 @@ marquee = README.Items(
15
16
  ]
16
17
  )
17
18
 
18
- items = README.Items(
19
- [
20
- {
21
- "marquee": image_template.format(f"{index+1:02}.jpg"),
22
- "name": "",
23
- }
24
- for index in range(6)
25
- ]
19
+ items = ImageItems(
20
+ {"marquee": image_template.format(f"{index+1:02}.jpg") for index in range(6)}
26
21
  )
@@ -1,4 +1,5 @@
1
1
  from bluer_objects import README
2
+ from bluer_objects.README.items import ImageItems
2
3
 
3
4
  from bluer_sbc.designs.consts import assets2
4
5
 
@@ -15,12 +16,4 @@ marquee = README.Items(
15
16
  ]
16
17
  )
17
18
 
18
- items = README.Items(
19
- [
20
- {
21
- "marquee": image_template.format(f"{index:02}.jpg"),
22
- "name": "",
23
- }
24
- for index in range(6)
25
- ]
26
- )
19
+ items = ImageItems({image_template.format(f"{index:02}.jpg"): "" for index in range(6)})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 8.213.1
3
+ Version: 8.229.1
4
4
  Summary: 🌀 AI for single board computers and other designs.
5
5
  Home-page: https://github.com/kamangir/bluer-sbc
6
6
  Author: Arash Abadpour (Kamangir)
@@ -58,7 +58,7 @@ pip install bluer_sbc
58
58
 
59
59
  [![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)
60
60
 
61
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.213.1`](https://github.com/kamangir/bluer-sbc).
61
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.229.1`](https://github.com/kamangir/bluer-sbc).
62
62
 
63
63
 
64
64
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -1,5 +1,4 @@
1
- bluer_sbc/README.py,sha256=XU-7EYx9GagSPhUvLp2_Y_0WDlvjJ_DaehNCCWG9QGo,3228
2
- bluer_sbc/__init__.py,sha256=rG-0ZFci76AGxQX_84U4mj0dK0dVO-9lpPTZ58tfL2g,310
1
+ bluer_sbc/__init__.py,sha256=oQhX1BBkZuNl2rvN9JIOa1upfQtLroVecjvgsZErkeM,310
3
2
  bluer_sbc/__main__.py,sha256=JV8oYpZDQbvcDpKJtbjU0hDeMJkzsDLGlhIWLmRpDQ4,348
4
3
  bluer_sbc/config.env,sha256=Lp91dQZrPDtMO-87-pAw1wOqLMIYEI1MlNrXhvKMaoE,706
5
4
  bluer_sbc/env.py,sha256=saEjdk3FHmuK-WQUUpKfOatwmE93Y2Ula3rtGhRm0Zw,1745
@@ -46,14 +45,14 @@ bluer_sbc/algo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
45
  bluer_sbc/algo/diff.py,sha256=ZCUkRgip-Uss86r--RuEwyYtFjpukM3fbY_yovXwgNw,2190
47
46
  bluer_sbc/designs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
47
  bluer_sbc/designs/blue_bracket.py,sha256=4p80wXEAbn4y7jXrTqK1KFrtcQYJ3zdeBiDWR8E4aCI,866
49
- bluer_sbc/designs/bryce.py,sha256=6Ark2nOxLUlnrx03S9gO12oGvM6iFYmdhRfs4JXGZU0,497
50
- bluer_sbc/designs/cheshmak.py,sha256=fWTqTJLYCNC0G8jqT-cJW2r8snWJrpRk5VCqjv24yKE,506
48
+ bluer_sbc/designs/bryce.py,sha256=nkyQV3HTwHX2Typl2GXuxU2n9A5p-aukhSAsERUa71A,467
49
+ bluer_sbc/designs/cheshmak.py,sha256=bGclGc0KR0TUlk0KBrTCYK7IWmdGoQNCF-bRH8HlJ4o,476
51
50
  bluer_sbc/designs/consts.py,sha256=de1X1_0CESgSGYUI8dGh8RBoYtu_G3NrBsFvuSdHJWk,59
52
- bluer_sbc/designs/nafha.py,sha256=M1P4i19_1FmJpe5YmqS82tE4ztbewlA8wEW98bADdxE,498
53
- bluer_sbc/designs/shelter.py,sha256=B50_MI1qHMTLwfWN9kqXUS0Sl8wtJ8qMTZjZD5WGzlA,504
54
- bluer_sbc/designs/swallow.py,sha256=yHZN-qw_rqEVPJEQrU6v3BkuBzizOeRwnCbew6vOxos,514
55
- bluer_sbc/designs/swallow_head.py,sha256=80ZefCalXsD6tS_dy6uo0SzR7rcJoGH6zgNPn99TaTE,529
56
- bluer_sbc/designs/ultrasonic_sensor_tester.py,sha256=sE2C6Hl9EDaNqMIQtbNU8amfevy0xZJCT8Gz2FoD9Cc,553
51
+ bluer_sbc/designs/nafha.py,sha256=Rrhip8ruIPGgo3J3DfL_f8u7cH6YtFumuW-zVinv1DA,467
52
+ bluer_sbc/designs/shelter.py,sha256=AMk-KV3HJB1T_2vtcb9lOudrZuLdSVJDhICgvRU3DfY,677
53
+ bluer_sbc/designs/swallow.py,sha256=gEcy9l1EgIuoMrWjJLnJid9DiWcSmPjNU7YPIVudsSE,484
54
+ bluer_sbc/designs/swallow_head.py,sha256=J11-Qh-tgJRLxn_pcAzTVkJkO0ssyOL9tgQXXynoyWw,506
55
+ bluer_sbc/designs/ultrasonic_sensor_tester.py,sha256=d0_v9VteTGZszELA9aUq1YlMpEvDQoABuYu0F9lRcSI,517
57
56
  bluer_sbc/hardware/__init__.py,sha256=EW_u4fRXPVpAO47EaLZn0Vxo_rfE9a1O4cPdl_w6vOI,1421
58
57
  bluer_sbc/hardware/adafruit_rgb_matrix.py,sha256=4xFRghBXJWkDDOhPvO-Yt6xY61D451KKxjrUL8ZxXQ8,803
59
58
  bluer_sbc/hardware/display.py,sha256=bRjemItjmF3tJcWxP3e2lVB5Ul8br3_3PcJhfrBT7mY,3057
@@ -97,8 +96,8 @@ bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
97
96
  bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
98
97
  bluer_sbc/session/classes.py,sha256=6pEh-TBjekUZBbWj_zKh3LAntAoGfcMHtS2SJ77nyC8,9355
99
98
  bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
100
- bluer_sbc-8.213.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
101
- bluer_sbc-8.213.1.dist-info/METADATA,sha256=W_-SUfB00q_1zWSllR-FgWqLU0Pe03IhMi2sKcXhd3g,5202
102
- bluer_sbc-8.213.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
103
- bluer_sbc-8.213.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
104
- bluer_sbc-8.213.1.dist-info/RECORD,,
99
+ bluer_sbc-8.229.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
100
+ bluer_sbc-8.229.1.dist-info/METADATA,sha256=nSFErMEXNZwoVl9rMmL9780CLMEDeOMppDpVPvLp2fE,5202
101
+ bluer_sbc-8.229.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
102
+ bluer_sbc-8.229.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
103
+ bluer_sbc-8.229.1.dist-info/RECORD,,
bluer_sbc/README.py DELETED
@@ -1,97 +0,0 @@
1
- import os
2
- from typing import List
3
-
4
- from bluer_options.help.functions import get_help
5
- from bluer_objects import file, README
6
-
7
- from bluer_sbc import NAME, VERSION, ICON, REPO_NAME
8
- from bluer_sbc.designs.cheshmak import items as cheshmak_items
9
- from bluer_sbc.designs.cheshmak import marquee as cheshmak_marquee
10
- from bluer_sbc.designs.blue_bracket import items as blue_bracket_items
11
- from bluer_sbc.designs.swallow import items as swallow_items
12
- from bluer_sbc.designs.swallow import marquee as swallow_marquee
13
- from bluer_sbc.designs.swallow_head import items as swallow_head_items
14
- from bluer_sbc.designs.swallow_head import marquee as swallow_head_marquee
15
- from bluer_sbc.designs.bryce import items as bryce_items
16
- from bluer_sbc.designs.bryce import marquee as bryce_marquee
17
- from bluer_sbc.designs.nafha import items as nafha_items
18
- from bluer_sbc.designs.nafha import marquee as nafha_marquee
19
- from bluer_sbc.designs.shelter import items as shelter_items
20
- from bluer_sbc.designs.shelter import marquee as shelter_marquee
21
- from bluer_sbc.designs.ultrasonic_sensor_tester import (
22
- marquee as ultrasonic_sensor_tester_marquee,
23
- )
24
- from bluer_sbc.designs.ultrasonic_sensor_tester import (
25
- items as ultrasonic_sensor_tester_items,
26
- )
27
- from bluer_sbc.help.functions import help_functions
28
-
29
-
30
- def build():
31
- return all(
32
- README.build(
33
- items=readme.get("items", []),
34
- cols=readme.get("cols", 3),
35
- path=os.path.join(file.path(__file__), readme["path"]),
36
- ICON=ICON,
37
- NAME=NAME,
38
- VERSION=VERSION,
39
- REPO_NAME=REPO_NAME,
40
- help_function=lambda tokens: get_help(
41
- tokens,
42
- help_functions,
43
- mono=True,
44
- ),
45
- )
46
- for readme in [
47
- {
48
- "items": swallow_marquee
49
- + swallow_head_marquee
50
- + ultrasonic_sensor_tester_marquee
51
- + bryce_marquee
52
- + cheshmak_marquee
53
- + nafha_marquee
54
- + shelter_marquee
55
- + blue_bracket_items,
56
- "path": "..",
57
- },
58
- {
59
- "items": swallow_items,
60
- "path": "./docs/swallow.md",
61
- },
62
- {
63
- "items": swallow_head_items,
64
- "path": "./docs/swallow-head.md",
65
- },
66
- {
67
- "items": bryce_items,
68
- "path": "./docs/bryce.md",
69
- },
70
- {
71
- "items": ultrasonic_sensor_tester_items,
72
- "path": "./docs/ultrasonic-sensor-tester.md",
73
- },
74
- {
75
- "items": cheshmak_items,
76
- "path": "./docs/cheshmak.md",
77
- },
78
- {
79
- "cols": 4,
80
- "items": nafha_items,
81
- "path": "./docs/nafha.md",
82
- },
83
- {
84
- "cols": 4,
85
- "items": shelter_items,
86
- "path": "./docs/shelter.md",
87
- },
88
- ]
89
- + [
90
- {"path": f"./docs/aliases/{item}.md"}
91
- for item in [
92
- "camera",
93
- "hardware",
94
- "rpi",
95
- ]
96
- ]
97
- )