bluer-sbc 9.36.1__py3-none-any.whl → 9.54.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/.abcli/alias.sh CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  alias @camera=bluer_sbc_camera
4
4
 
5
+ alias @designs=bluer-designs
6
+
5
7
  alias grove=bluer_sbc_grove
6
8
 
7
9
  alias @sbc=bluer_sbc
@@ -8,6 +8,7 @@ from bluer_sbc.parts.db import db_of_parts
8
8
  def design(
9
9
  items: List[str],
10
10
  dict_of_parts: Dict = {},
11
+ macros: Dict = {},
11
12
  ) -> Dict:
12
13
  output = {
13
14
  "items": items,
@@ -18,15 +19,18 @@ def design(
18
19
  "parts_images:::": markdown.generate_table(
19
20
  db_of_parts.as_images(
20
21
  dict_of_parts,
21
- reference="../../../parts",
22
+ reference="./parts",
22
23
  ),
23
24
  cols=10,
25
+ log=False,
24
26
  ),
25
27
  "parts_list:::": db_of_parts.as_list(
26
28
  dict_of_parts,
27
- reference="../../../parts",
29
+ reference="./parts",
28
30
  log=False,
29
31
  ),
30
32
  }
31
33
 
34
+ output["macros"].update(macros)
35
+
32
36
  return output
@@ -17,7 +17,6 @@ from bluer_sbc.designs.swallow_head.parts import dict_of_parts as swallow_head_p
17
17
 
18
18
  docs = [
19
19
  {
20
- "cols": 4,
21
20
  "items": design_info["items"],
22
21
  "path": f"../docs/{design_name}.md",
23
22
  "macros": design_info.get("macros", {}),
@@ -1,8 +1,7 @@
1
1
  from bluer_objects import README
2
2
  from bluer_objects.README.items import ImageItems
3
3
  from bluer_objects.README.consts import assets_url
4
-
5
- from bluer_sbc.README.designs.consts import assets2
4
+ from bluer_objects.README.consts import designs_url
6
5
 
7
6
  assets2_battery_bus = assets_url(
8
7
  suffix="battery-bus",
@@ -13,7 +12,7 @@ marquee = README.Items(
13
12
  [
14
13
  {
15
14
  "name": "battery bus",
16
- "marquee": f"{assets2_battery_bus}/concept.png",
15
+ "marquee": f"{assets2_battery_bus}/20251007_221902.jpg",
17
16
  "url": "./bluer_sbc/docs/battery-bus.md",
18
17
  }
19
18
  ]
@@ -22,5 +21,14 @@ marquee = README.Items(
22
21
  items = ImageItems(
23
22
  {
24
23
  f"{assets2_battery_bus}/concept.png": "",
24
+ designs_url(
25
+ "battery-bus/electrical/wiring.png?raw=true",
26
+ ): designs_url(
27
+ "battery-bus/electrical/wiring.svg",
28
+ ),
29
+ f"{assets2_battery_bus}/20251007_221902.jpg": "",
30
+ f"{assets2_battery_bus}/20251007_220642.jpg": "",
31
+ f"{assets2_battery_bus}/20251007_220520.jpg": "",
32
+ f"{assets2_battery_bus}/20251007_220601.jpg": "",
25
33
  }
26
34
  )
bluer_sbc/README/parts.py CHANGED
@@ -8,7 +8,9 @@ docs = [
8
8
  ] + [
9
9
  {
10
10
  "path": part.filename(create=True),
11
- "macros": {"info:::": part.README(db_of_parts.url_prefix)},
11
+ "macros": {
12
+ "info:::": part.README(db_of_parts.url_prefix),
13
+ },
12
14
  }
13
15
  for part_name, part in db_of_parts.items()
14
16
  if part_name != "template"
@@ -14,4 +14,5 @@ items = markdown.generate_table(
14
14
  },
15
15
  ]
16
16
  ),
17
+ log=False,
17
18
  )
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.36.1"
7
+ VERSION = "9.54.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -2,4 +2,5 @@ dict_of_parts = {
2
2
  "SLA-Battery": "",
3
3
  "on-off-switch": "",
4
4
  "charging-port": "",
5
+ "dsn-vc288": "",
5
6
  }
bluer_sbc/parts/db.py CHANGED
@@ -355,7 +355,7 @@ db_of_parts["TV-bracket"] = Part(
355
355
 
356
356
  db_of_parts["on-off-switch"] = Part(
357
357
  info=[
358
- "on/off switch",
358
+ "on/off switch, 12V DC 10 A, with indicator led",
359
359
  ],
360
360
  images=[
361
361
  "on-off-switch.png",
@@ -371,6 +371,20 @@ db_of_parts["charging-port"] = Part(
371
371
  ],
372
372
  )
373
373
 
374
+ db_of_parts["dsn-vc288"] = Part(
375
+ info=[
376
+ "DSN-VC288, panel mount, 4-30 VDC, 10A, voltmeter ammeter",
377
+ "https://hamguyparts.com/files/Download/Chinese%20DVA.pdf",
378
+ "https://www.skytech.ir/DownLoad/File/11515_DSN-VC288.pdf",
379
+ ],
380
+ images=[
381
+ "dsn-vc288.jpg",
382
+ "dsn-vc288-connection.jpg",
383
+ "dsn-vc288-measurements.jpeg",
384
+ ],
385
+ )
386
+
387
+
374
388
  db_of_parts["template"] = Part(
375
389
  info=[
376
390
  "template",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 9.36.1
3
+ Version: 9.54.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)
@@ -46,7 +46,7 @@ pip install bluer_sbc
46
46
 
47
47
  | | | |
48
48
  | --- | --- | --- |
49
- | [`battery bus`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/battery-bus.md) [![image](https://github.com/kamangir/assets2/raw/main/battery-bus/concept.png)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/battery-bus.md) | [`swallow`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow.md) [![image](https://github.com/kamangir/assets2/blob/main/swallow/design/v5/01.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow.md) | [`swallow head`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow-head.md) [![image](https://github.com/kamangir/assets2/blob/main/swallow/design/head-v1/01.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow-head.md) |
49
+ | [`battery bus`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/battery-bus.md) [![image](https://github.com/kamangir/assets2/raw/main/battery-bus/20251007_221902.jpg)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/battery-bus.md) | [`swallow`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow.md) [![image](https://github.com/kamangir/assets2/blob/main/swallow/design/v5/01.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow.md) | [`swallow head`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow-head.md) [![image](https://github.com/kamangir/assets2/blob/main/swallow/design/head-v1/01.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/swallow-head.md) |
50
50
  | [`ultrasonic-sensor-tester`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/ultrasonic-sensor-tester.md) [![image](https://github.com/kamangir/assets2/blob/main/ultrasonic-sensor-tester/00.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/ultrasonic-sensor-tester.md) | [`bryce`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bryce.md) [![image](https://github.com/kamangir/assets2/blob/main/bryce/08.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bryce.md) | [`cheshmak`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/cheshmak.md) [![image](https://github.com/kamangir/assets2/blob/main/cheshmak/01.png?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/cheshmak.md) |
51
51
  | [`nafha`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/nafha.md) [![image](https://github.com/kamangir/assets2/blob/main/nafha/01.png?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/nafha.md) | [`shelter`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/shelter.md) [![image](https://github.com/kamangir/assets2/raw/main/shelter/20251006_181554.jpg)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/shelter.md) | [`blue3`](https://github.com/kamangir/blue-bracket/blob/main/designs/blue3.md) [![image](https://github.com/kamangir/blue-bracket/raw/main/images/blue3-1.jpg)](https://github.com/kamangir/blue-bracket/blob/main/designs/blue3.md) |
52
52
  | [`chenar-grove`](https://github.com/kamangir/blue-bracket/blob/main/designs/chenar-grove.md) [![image](https://github.com/kamangir/blue-bracket/raw/main/images/chenar-grove-1.jpg)](https://github.com/kamangir/blue-bracket/blob/main/designs/chenar-grove.md) | [`cube`](https://github.com/kamangir/blue-bracket/blob/main/designs/cube.md) [![image](https://github.com/kamangir/blue-bracket/raw/main/images/cube-1.jpg)](https://github.com/kamangir/blue-bracket/blob/main/designs/cube.md) | [`eye_nano`](https://github.com/kamangir/blue-bracket/blob/main/designs/eye_nano.md) [![image](https://github.com/kamangir/blue-bracket/raw/main/images/eye_nano-1.jpg)](https://github.com/kamangir/blue-bracket/blob/main/designs/eye_nano.md) |
@@ -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.36.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.54.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=lET6yXjjT639894GFiaxFhr3iRgg12INri7NRxXjk_4,311
1
+ bluer_sbc/__init__.py,sha256=eVVAwAI2HwXCYp31sEK9XyTpfMHlr02bOpp-a3i1XrI,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
@@ -9,7 +9,7 @@ bluer_sbc/urls.py,sha256=Bjdewssljt0LIefjixBem9JN0kkghPvmrIETj3GdXbY,17
9
9
  bluer_sbc/.abcli/abcli.sh,sha256=Q_YRZUeFjN4UT9zT8lzrNIQSuORPie4Cp5CW5O2pX5w,290
10
10
  bluer_sbc/.abcli/actions.sh,sha256=P4d9lOzxdvkISZ0M3lZKH9JlmrcWTJ_HeEQAhIRLvC8,224
11
11
  bluer_sbc/.abcli/adafruit_rgb_matrix.sh,sha256=DwPJeuDXYa_F0r4nIWNeBYVtodyHYT2tV9JxPbWxhAM,382
12
- bluer_sbc/.abcli/alias.sh,sha256=PsTwzDXyeSvXGY-0LRF3U8df3AQVvPU35MOKQ4lx7xo,104
12
+ bluer_sbc/.abcli/alias.sh,sha256=C4bUOJV-4aj_xsymXLkzY8_K0gw3nRsGAKjBR6RPQCA,134
13
13
  bluer_sbc/.abcli/bluer_sbc.sh,sha256=3uHU90LAi4UyX3S02_6MNMJRK-1GcVMjLdl-EsyRrTA,239
14
14
  bluer_sbc/.abcli/camera.sh,sha256=cmDDqUoy-YaO-nwKoTcsgrX-KbZ1JtXiPA3RVBoUb3s,447
15
15
  bluer_sbc/.abcli/grove.sh,sha256=6Lf4TiQzZj9uStCY9ezd8djcqVthzbybkmgmZ8Kr9wE,1180
@@ -47,12 +47,12 @@ bluer_sbc/.abcli/tests/version.sh,sha256=odDOmAFlzH7KtsAYWOmyLsQ6GAws6XadNlZ6H-N
47
47
  bluer_sbc/README/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  bluer_sbc/README/aliases.py,sha256=jv6YlFBk7Bn72MEutmZ6UpELpLQs_i3_3Rm8BlPMc5g,161
49
49
  bluer_sbc/README/build.py,sha256=42pCUarnbdwxuWci1GnCSWMtkt5P-zbiyHRd6ItVMqc,862
50
- bluer_sbc/README/design.py,sha256=8fXtkyNbIhiwn2DZcFhIpHjr_qkd2-HSUgPbm2jOG7U,717
51
- bluer_sbc/README/parts.py,sha256=ZCpU1-zWwOmEJlg1kypXYSGt5rQpTkrasiFZTzaN0-Q,359
50
+ bluer_sbc/README/design.py,sha256=gktc7rLWf32XXCVBSJyoVeC3mrGPzPnLDJsVZklCEik,794
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=RsxRMOunuA5-mLrZ5-jYfchuaKWaI6Bu49lrc3vn7PE,377
54
- bluer_sbc/README/designs/__init__.py,sha256=dwJBpzUWSryAOmLI5_t0hpLtARSc0CiWBcecNY_LKlU,1879
55
- bluer_sbc/README/designs/battery_bus.py,sha256=zgLLMelgqemv6xMML_H3ihb9hNyMn79l8Fyhlkk4tjE,558
53
+ bluer_sbc/README/shortcuts.py,sha256=AJPOqBtBx8dqaCUdIB4mq2aMmV7EY8IYcjuagletH-M,392
54
+ bluer_sbc/README/designs/__init__.py,sha256=pgiqjy3TnqTvhMGvepRR--G9gyDNhCQhec8cwzNeHr8,1860
55
+ bluer_sbc/README/designs/battery_bus.py,sha256=-neRjUhQO3hh_XjGR11tbnye6gYaBdBkL0sHLLXQIyg,960
56
56
  bluer_sbc/README/designs/blue_bracket.py,sha256=4p80wXEAbn4y7jXrTqK1KFrtcQYJ3zdeBiDWR8E4aCI,866
57
57
  bluer_sbc/README/designs/bryce.py,sha256=9mfOoMy9Rk1AITj480CoLYdgzWNraAwwypc5kVpEB_Q,474
58
58
  bluer_sbc/README/designs/cheshmak.py,sha256=fG0zRc6vVm5Nj07Juq13PPGp0ZUWyLqA9-nAUpnzr1Q,483
@@ -68,7 +68,7 @@ bluer_sbc/algo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
68
  bluer_sbc/algo/diff.py,sha256=ZCUkRgip-Uss86r--RuEwyYtFjpukM3fbY_yovXwgNw,2190
69
69
  bluer_sbc/designs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  bluer_sbc/designs/battery_bus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
- bluer_sbc/designs/battery_bus/parts.py,sha256=IsQDimyc4FmJwOju8oqNZ3jdIHE9XL2LIeqNfyE9650,93
71
+ bluer_sbc/designs/battery_bus/parts.py,sha256=nmstgbDftDUE5N4HS4x7RE_QSKUdHVm1ieNlwtL1tb4,114
72
72
  bluer_sbc/designs/swallow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  bluer_sbc/designs/swallow/parts.py,sha256=CwSCtcDv6-FkdKmWB0ohlkKXyWU00-0BV1iZz_KjFog,42
74
74
  bluer_sbc/designs/swallow_head/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -115,15 +115,15 @@ bluer_sbc/imager/lepton/classes.py,sha256=CnWEwaBZC2hAFuYkv32SAu7GaIK1A-PiLEppAg
115
115
  bluer_sbc/imager/lepton/python2.py,sha256=1jAHHzmda_bmqKj0b0X-2KONW5s9umxKaTY4ZieoaCI,1600
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
- bluer_sbc/parts/db.py,sha256=FZcNtlJM3nKI0tDZlc6PSXXHsu6tROargI3taKG_l5g,8798
118
+ bluer_sbc/parts/db.py,sha256=GzRCbGcmF1FdZgaSYIFvXkZLByO6Uvm3P1uLGK8zBag,9210
119
119
  bluer_sbc/parts/classes/db.py,sha256=YuGuIWGkSNMUcsd8KSCq5hGrXS_uPtZuzAUtp65QgNU,5679
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.36.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
126
- bluer_sbc-9.36.1.dist-info/METADATA,sha256=wMAxzXOfE_zqIKpKKWuYacsVkpTNPO5sbDdWlEip6RU,5740
127
- bluer_sbc-9.36.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
128
- bluer_sbc-9.36.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
129
- bluer_sbc-9.36.1.dist-info/RECORD,,
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,,