bluer-sbc 8.155.1__py3-none-any.whl → 8.161.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/README.py CHANGED
@@ -1,14 +1,18 @@
1
1
  import os
2
2
  from typing import List
3
3
 
4
+ from bluer_options.help.functions import get_help
4
5
  from bluer_objects import file, README
5
6
 
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
7
10
  from bluer_sbc.designs.blue_bracket import items as blue_bracket_items
8
11
  from bluer_sbc.designs.bluer_swallow import items as bluer_swallow_items
9
- from bluer_sbc.designs.bryce import items as bryce_items
10
12
  from bluer_sbc.designs.bluer_swallow import marquee as bluer_swallow_marquee
13
+ from bluer_sbc.designs.bryce import items as bryce_items
11
14
  from bluer_sbc.designs.bryce import marquee as bryce_marquee
15
+ from bluer_sbc.help.functions import help_functions
12
16
 
13
17
 
14
18
  def build():
@@ -21,13 +25,38 @@ def build():
21
25
  NAME=NAME,
22
26
  VERSION=VERSION,
23
27
  REPO_NAME=REPO_NAME,
28
+ help_function=lambda tokens: get_help(
29
+ tokens,
30
+ help_functions,
31
+ mono=True,
32
+ ),
24
33
  )
25
34
  for readme in [
26
35
  {
27
- "items": bluer_swallow_marquee + bryce_marquee + blue_bracket_items,
36
+ "items": cheshmak_marquee
37
+ + bluer_swallow_marquee
38
+ + bryce_marquee
39
+ + blue_bracket_items,
28
40
  "path": "..",
29
41
  },
30
- {"items": bluer_swallow_items, "path": "./docs/bluer-swallow.md"},
31
- {"items": bryce_items, "path": "./docs/bryce.md"},
42
+ {
43
+ "items": cheshmak_items,
44
+ "path": "./docs/cheshmak.md",
45
+ },
46
+ {
47
+ "items": bluer_swallow_items,
48
+ "path": "./docs/bluer-swallow.md",
49
+ },
50
+ {
51
+ "items": bryce_items,
52
+ "path": "./docs/bryce.md",
53
+ },
54
+ ]
55
+ + [
56
+ {"path": f"./docs/aliases/{item}.md"}
57
+ for item in [
58
+ "camera",
59
+ "hardware",
60
+ ]
32
61
  ]
33
62
  )
bluer_sbc/__init__.py CHANGED
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} AI for single board computers."
6
6
 
7
- VERSION = "8.155.1"
7
+ VERSION = "8.161.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -0,0 +1,23 @@
1
+ from bluer_objects import README
2
+
3
+ image_template = "https://github.com/kamangir/assets2/blob/main/cheshmak/{}?raw=true"
4
+
5
+ marquee = README.Items(
6
+ [
7
+ {
8
+ "name": "cheshmak",
9
+ "marquee": image_template.format("01.png"),
10
+ "url": "./bluer_sbc/docs/cheshmak.md",
11
+ }
12
+ ]
13
+ )
14
+
15
+ items = README.Items(
16
+ [
17
+ {
18
+ "marquee": image_template.format(f"{index+1:02}.png"),
19
+ "name": "",
20
+ }
21
+ for index in range(1)
22
+ ]
23
+ )
bluer_sbc/help/camera.py CHANGED
@@ -9,8 +9,7 @@ def help_capture_image(
9
9
  ) -> str:
10
10
  return show_usage(
11
11
  [
12
- "@sbc",
13
- "camera",
12
+ "@camera",
14
13
  "capture",
15
14
  "image",
16
15
  ],
@@ -30,8 +29,7 @@ def help_capture_video(
30
29
 
31
30
  return show_usage(
32
31
  [
33
- "@sbc",
34
- "camera",
32
+ "@camera",
35
33
  "capture",
36
34
  "video",
37
35
  ]
@@ -51,8 +49,7 @@ def help_preview(
51
49
 
52
50
  return show_usage(
53
51
  [
54
- "@sbc",
55
- "camera",
52
+ "@camera",
56
53
  "preview",
57
54
  "[-]",
58
55
  ]
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: bluer_sbc
3
+ Version: 8.161.1
4
+ Summary: 🌀 AI for single board computers.
5
+ Home-page: https://github.com/kamangir/bluer-sbc
6
+ Author: Arash Abadpour (Kamangir)
7
+ Author-email: arash.abadpour@gmail.com
8
+ License: CC0-1.0
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Unix Shell
11
+ Classifier: Operating System :: OS Independent
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: bluer_ai
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
25
+
26
+ # 🌀 bluer-sbc
27
+
28
+ 🌀 `bluer-sbc` is a [`bluer-ai`](https://github.com/kamangir/bluer-ai) plugin for edge computing on [single board computers](https://github.com/kamangir/blue-bracket).
29
+
30
+ ```bash
31
+ pip install bluer_sbc
32
+
33
+ # @env dot list
34
+ @env dot cp <env-name> local
35
+ ```
36
+
37
+ | | | |
38
+ | --- | --- | --- |
39
+ | [`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) | [`bluer-swallow`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bluer-swallow.md) [![image](https://github.com/kamangir/assets2/blob/main/bluer-swallow/design/06.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bluer-swallow.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) |
40
+ | [`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) | [`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) |
41
+ | [`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) | | |
42
+
43
+ # aliases
44
+
45
+ [@camera](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/aliases/camera.md),
46
+ [@sbc <hardware>](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/aliases/hardware.md).
47
+
48
+ ---
49
+
50
+ > 🌀 [`blue-sbc`](https://github.com/kamangir/blue-sbc) for the [Global South](https://github.com/kamangir/bluer-south).
51
+
52
+ ---
53
+
54
+
55
+ [![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)
56
+
57
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.161.1`](https://github.com/kamangir/bluer-sbc).
58
+
59
+
60
+ built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -1,5 +1,5 @@
1
- bluer_sbc/README.py,sha256=p-zQD0mdeXyPxgy9MpqlTH8tNhP2HMLO6J7Ta2Gv4qQ,1115
2
- bluer_sbc/__init__.py,sha256=SNuKFnKz4npM5rGr_Y-SeQGSeJr1juB5xnWqZdKPa64,292
1
+ bluer_sbc/README.py,sha256=YfR_hf9vF9bRaS1fStDyYKkhBQ1_9FcDpNbqQvWjkuI,1939
2
+ bluer_sbc/__init__.py,sha256=pNUwNZbbyrpAc7WDaKYvJcLKbhOPnFlqIVXsbjPOufo,292
3
3
  bluer_sbc/__main__.py,sha256=JV8oYpZDQbvcDpKJtbjU0hDeMJkzsDLGlhIWLmRpDQ4,348
4
4
  bluer_sbc/config.env,sha256=Lp91dQZrPDtMO-87-pAw1wOqLMIYEI1MlNrXhvKMaoE,706
5
5
  bluer_sbc/env.py,sha256=tTSjAmpGmg2Q2YSXOpSwVYHFrrqpqwN1ovw2ulVhnqg,1666
@@ -46,6 +46,7 @@ bluer_sbc/designs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
46
46
  bluer_sbc/designs/blue_bracket.py,sha256=4p80wXEAbn4y7jXrTqK1KFrtcQYJ3zdeBiDWR8E4aCI,866
47
47
  bluer_sbc/designs/bluer_swallow.py,sha256=8YQrnLJy3g19SXpweF3y1KJejtG6VAA82D5spytzN_g,527
48
48
  bluer_sbc/designs/bryce.py,sha256=w-gTD9B4W16l-pqsYDan7hyQCBLN2Z9mSqV0vm1rNNg,487
49
+ bluer_sbc/designs/cheshmak.py,sha256=hjUejLYN8250QsP19gsbQ1UjgvMoNEZ2xzft8cIZR68,496
49
50
  bluer_sbc/hardware/__init__.py,sha256=EW_u4fRXPVpAO47EaLZn0Vxo_rfE9a1O4cPdl_w6vOI,1421
50
51
  bluer_sbc/hardware/adafruit_rgb_matrix.py,sha256=4xFRghBXJWkDDOhPvO-Yt6xY61D451KKxjrUL8ZxXQ8,803
51
52
  bluer_sbc/hardware/display.py,sha256=bRjemItjmF3tJcWxP3e2lVB5Ul8br3_3PcJhfrBT7mY,3057
@@ -64,7 +65,7 @@ bluer_sbc/hardware/sparkfun_top_phat/classes.py,sha256=5q_ZbMNvGGIb2In18W_6f3CSb
64
65
  bluer_sbc/help/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
66
  bluer_sbc/help/__main__.py,sha256=Aj_lNOTJiCYZK3MrOlETIiFWiFPjZ2vaGzDk0Q3uTYA,229
66
67
  bluer_sbc/help/adafruit_rgb_matrix.py,sha256=VPQkAPb17K9AP2rMpH8yDPIXVG_dXiPZ0C8qtjZKTB8,384
67
- bluer_sbc/help/camera.py,sha256=-zN4k8Hny0ZPLNxH4z4ogVFFPvrgV-XPZWveGK0tXNg,1124
68
+ bluer_sbc/help/camera.py,sha256=uWMbQJuxPIz5KafNL6uSJqcRs6tH91pawui7TP7wd-4,1067
68
69
  bluer_sbc/help/functions.py,sha256=kS7EkZvhpuRrRYqyj2urIidyspZBCiqq_lgXt5ZB7m4,1183
69
70
  bluer_sbc/help/grove.py,sha256=4CM3_RUeu6hMr1zmkz4f-V7Mzb75vcYv0dfoQKw2KJI,1026
70
71
  bluer_sbc/help/hat.py,sha256=fhiEFoWYolmh-loZ87fYghEJK-XLUpkUc4pDj2WWdAE,885
@@ -88,8 +89,8 @@ bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
88
89
  bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
89
90
  bluer_sbc/session/classes.py,sha256=vap_vDWwZtecBY2G65IYPee0PQX7OlNcjLzfFu4rW-8,9355
90
91
  bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
91
- bluer_sbc-8.155.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
92
- bluer_sbc-8.155.1.dist-info/METADATA,sha256=kL3X8SreWe0qvdni9vXaht6RpHU9fOryiJOJdijPS_Y,3552
93
- bluer_sbc-8.155.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
94
- bluer_sbc-8.155.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
95
- bluer_sbc-8.155.1.dist-info/RECORD,,
92
+ bluer_sbc-8.161.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
93
+ bluer_sbc-8.161.1.dist-info/METADATA,sha256=WBhf3_Tot35zNvjuAeAFF914Z_XzSqYuhDZ0KJssVIs,4018
94
+ bluer_sbc-8.161.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
95
+ bluer_sbc-8.161.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
96
+ bluer_sbc-8.161.1.dist-info/RECORD,,
@@ -1,56 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: bluer_sbc
3
- Version: 8.155.1
4
- Summary: 🌀 AI for single board computers.
5
- Home-page: https://github.com/kamangir/bluer-sbc
6
- Author: Arash Abadpour (Kamangir)
7
- Author-email: arash.abadpour@gmail.com
8
- License: CC0-1.0
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Unix Shell
11
- Classifier: Operating System :: OS Independent
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Requires-Dist: bluer_ai
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: license
22
- Dynamic: license-file
23
- Dynamic: requires-dist
24
- Dynamic: summary
25
-
26
- # 🌀 bluer-sbc
27
-
28
- 🌀 `bluer-sbc` is a [`bluer-ai`](https://github.com/kamangir/bluer-ai) plugin for edge computing on [single board computers](https://github.com/kamangir/blue-bracket).
29
-
30
- ```bash
31
- pip install bluer_sbc
32
-
33
- # @env dot list
34
- @env dot cp <env-name> local
35
- ```
36
-
37
- | | | |
38
- | --- | --- | --- |
39
- | [`bluer-swallow`](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bluer-swallow.md) [![image](https://github.com/kamangir/assets2/blob/main/bluer-swallow/design/06.jpg?raw=true)](https://github.com/kamangir/bluer-sbc/blob/main/bluer_sbc/docs/bluer-swallow.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) | [`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) |
40
- | [`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) |
41
-
42
-
43
-
44
- ---
45
-
46
- > 🌀 [`blue-sbc`](https://github.com/kamangir/blue-sbc) for the [Global South](https://github.com/kamangir/bluer-south).
47
-
48
- ---
49
-
50
-
51
- [![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)
52
-
53
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.155.1`](https://github.com/kamangir/bluer-sbc).
54
-
55
-
56
- built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).