bluer-sbc 8.72.1__py3-none-any.whl → 8.104.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/ROS/seed.sh +5 -0
- bluer_sbc/.abcli/ROS.sh +0 -12
- bluer_sbc/.abcli/tests/help.sh +0 -3
- bluer_sbc/ROS/__init__.py +1 -0
- bluer_sbc/__init__.py +1 -1
- bluer_sbc/help/functions.py +0 -2
- {bluer_sbc-8.72.1.dist-info → bluer_sbc-8.104.1.dist-info}/METADATA +2 -3
- {bluer_sbc-8.72.1.dist-info → bluer_sbc-8.104.1.dist-info}/RECORD +11 -12
- bluer_sbc/.abcli/ROS/session.sh +0 -33
- bluer_sbc/help/session.py +0 -26
- {bluer_sbc-8.72.1.dist-info → bluer_sbc-8.104.1.dist-info}/WHEEL +0 -0
- {bluer_sbc-8.72.1.dist-info → bluer_sbc-8.104.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_sbc-8.72.1.dist-info → bluer_sbc-8.104.1.dist-info}/top_level.txt +0 -0
bluer_sbc/.abcli/ROS/seed.sh
CHANGED
|
@@ -14,6 +14,8 @@ function bluer_ai_seed_headless_ubuntu_rpi() {
|
|
|
14
14
|
seed="${seed}sudo apt update$delim"
|
|
15
15
|
seed="${seed}sudo apt upgrade$delim"
|
|
16
16
|
seed="${seed}sudo apt install -y wireless-tools$delim"
|
|
17
|
+
seed="${seed}sudo apt install -y gcc python3-dev$delim"
|
|
18
|
+
seed="${seed}sudo apt install -y gcc-aarch64-linux-gnu$delim"
|
|
17
19
|
seed="${seed}sudo apt install -y python3-venv$delim_section"
|
|
18
20
|
|
|
19
21
|
seed="${seed}sudo mkdir -p /etc/systemd/system/getty@tty1.service.d$delim"
|
|
@@ -32,6 +34,7 @@ function bluer_ai_seed_headless_ubuntu_rpi() {
|
|
|
32
34
|
|
|
33
35
|
seed="${seed}pip install --upgrade pip --no-input$delim"
|
|
34
36
|
seed="${seed}pip3 install -e .$delim"
|
|
37
|
+
seed="${seed}pip3 install evdev$delim"
|
|
35
38
|
seed="${seed}pip3 install opencv-python-headless$delim_section"
|
|
36
39
|
|
|
37
40
|
bluer_ai_seed add_repo repo=bluer-objects
|
|
@@ -45,5 +48,7 @@ function bluer_ai_seed_headless_ubuntu_rpi() {
|
|
|
45
48
|
bluer_ai_seed add_repo repo=bluer-ugv
|
|
46
49
|
seed="${seed}pip3 install -e .$delim_section"
|
|
47
50
|
|
|
51
|
+
seed="${seed}pip3 install RPi.GPIO$delim_section"
|
|
52
|
+
|
|
48
53
|
seed="${seed}source \$HOME/git/bluer-ai/bluer_ai/.abcli/bluer_ai.sh$delim_section"
|
|
49
54
|
}
|
bluer_sbc/.abcli/ROS.sh
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function bluer_sbc_ROS() {
|
|
4
|
-
local task=$1
|
|
5
|
-
|
|
6
|
-
local function_name=bluer_sbc_ROS_$task
|
|
7
|
-
if [[ $(type -t $function_name) == "function" ]]; then
|
|
8
|
-
$function_name "${@:2}"
|
|
9
|
-
return
|
|
10
|
-
fi
|
|
11
|
-
|
|
12
|
-
python3 -m bluer_sbc.ROS "$@"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
3
|
bluer_ai_source_caller_suffix_path /ROS
|
bluer_sbc/.abcli/tests/help.sh
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
bluer_sbc/__init__.py
CHANGED
bluer_sbc/help/functions.py
CHANGED
|
@@ -12,7 +12,6 @@ from bluer_sbc.help.hat import help_functions as help_hat
|
|
|
12
12
|
from bluer_sbc.help.lepton import help_functions as help_lepton
|
|
13
13
|
from bluer_sbc.help.scroll_phat_hd import help_functions as help_scroll_phat_hd
|
|
14
14
|
from bluer_sbc.help.sparkfun_top_phat import help_functions as help_sparkfun_top_phat
|
|
15
|
-
from bluer_sbc.help.session import help_functions as help_session
|
|
16
15
|
from bluer_sbc.help.unicorn_16x16 import help_functions as help_unicorn_16x16
|
|
17
16
|
from bluer_sbc import ALIAS
|
|
18
17
|
|
|
@@ -27,7 +26,6 @@ help_functions.update(
|
|
|
27
26
|
"hat": help_hat,
|
|
28
27
|
"lepton": help_lepton,
|
|
29
28
|
"scroll_phat_hd": help_scroll_phat_hd,
|
|
30
|
-
"session": help_session,
|
|
31
29
|
"sparkfun_top_phat": help_sparkfun_top_phat,
|
|
32
30
|
"unicorn_16x16": help_unicorn_16x16,
|
|
33
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_sbc
|
|
3
|
-
Version: 8.
|
|
3
|
+
Version: 8.104.1
|
|
4
4
|
Summary: 🌀 AI for single board computers.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-sbc
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -12,7 +12,6 @@ Classifier: Operating System :: OS Independent
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: bluer_ai
|
|
15
|
-
Requires-Dist: keyboard
|
|
16
15
|
Dynamic: author
|
|
17
16
|
Dynamic: author-email
|
|
18
17
|
Dynamic: classifier
|
|
@@ -50,7 +49,7 @@ pip install bluer_sbc
|
|
|
50
49
|
|
|
51
50
|
[](https://github.com/kamangir/bluer-sbc/actions/workflows/pylint.yml) [](https://github.com/kamangir/bluer-sbc/actions/workflows/pytest.yml) [](https://github.com/kamangir/bluer-sbc/actions/workflows/bashtest.yml) [](https://pypi.org/project/bluer-sbc/) [](https://pypistats.org/packages/bluer-sbc)
|
|
52
51
|
|
|
53
|
-
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.
|
|
52
|
+
built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.104.1`](https://github.com/kamangir/bluer-sbc).
|
|
54
53
|
|
|
55
54
|
|
|
56
55
|
built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
bluer_sbc/README.py,sha256=PX_NHt0J5kkaF38D3g0wljQWCG3L7w5C9hkRd4SP680,1179
|
|
2
|
-
bluer_sbc/__init__.py,sha256=
|
|
2
|
+
bluer_sbc/__init__.py,sha256=D-tg4E0jMUrCIZL-XqfBJPEg6y2iY2HzAHJC-uofzHA,292
|
|
3
3
|
bluer_sbc/__main__.py,sha256=JV8oYpZDQbvcDpKJtbjU0hDeMJkzsDLGlhIWLmRpDQ4,348
|
|
4
4
|
bluer_sbc/config.env,sha256=_0-DQI3JZ5lvC1750KepY4ug6apI0I5EhcbZ3JD1yZs,652
|
|
5
5
|
bluer_sbc/env.py,sha256=w1kYRW06SUm4AzyrqWX1SDRahR8eHWmWHEV1WQ3k1rs,1554
|
|
@@ -7,7 +7,7 @@ bluer_sbc/host.py,sha256=RacmqxPRBQrL--JHx_Q-KyuEjEZ1kSFu4fa5pCA0CHQ,209
|
|
|
7
7
|
bluer_sbc/logger.py,sha256=4euXgNprDpQSuR45RXy0kWQ1LvCL_dwOi2v37hVBWvk,99
|
|
8
8
|
bluer_sbc/sample.env,sha256=mX86TGaZvbbGKbiXQdInSBu7sVvLs2IzqYaHNVl0g5M,50
|
|
9
9
|
bluer_sbc/urls.py,sha256=Bjdewssljt0LIefjixBem9JN0kkghPvmrIETj3GdXbY,17
|
|
10
|
-
bluer_sbc/.abcli/ROS.sh,sha256=
|
|
10
|
+
bluer_sbc/.abcli/ROS.sh,sha256=n0zl46gYEwAQb7scfBYM9Jk9JCrX1PRH4jzmVrVfDxk,62
|
|
11
11
|
bluer_sbc/.abcli/abcli.sh,sha256=Q_YRZUeFjN4UT9zT8lzrNIQSuORPie4Cp5CW5O2pX5w,290
|
|
12
12
|
bluer_sbc/.abcli/actions.sh,sha256=P4d9lOzxdvkISZ0M3lZKH9JlmrcWTJ_HeEQAhIRLvC8,224
|
|
13
13
|
bluer_sbc/.abcli/adafruit_rgb_matrix.sh,sha256=DwPJeuDXYa_F0r4nIWNeBYVtodyHYT2tV9JxPbWxhAM,382
|
|
@@ -22,8 +22,7 @@ bluer_sbc/.abcli/seed.sh,sha256=75cd8YCA7JGXgohVk-N9CjxCLjZpIoAWYGy_QJ9wHlA,1639
|
|
|
22
22
|
bluer_sbc/.abcli/session.sh,sha256=90Y-2pzZnM3YZO9sYeshS83oiLUE38WqCl-gA_RfWT0,1003
|
|
23
23
|
bluer_sbc/.abcli/sparkfun_top_phat.sh,sha256=F8dV3MjghNU1MMzCXRnQ0kaorr2BOswLBt8Sry5Youo,686
|
|
24
24
|
bluer_sbc/.abcli/unicorn_16x16.sh,sha256=_cvgK1tT51BqN12HxEx_9FXWTNvPISd4T7pPmA2Jxfo,330
|
|
25
|
-
bluer_sbc/.abcli/ROS/seed.sh,sha256=
|
|
26
|
-
bluer_sbc/.abcli/ROS/session.sh,sha256=mfkqyZYhS8RISSY_YJAxlK2dg5s_YgIx-A3OM-iJbms,863
|
|
25
|
+
bluer_sbc/.abcli/ROS/seed.sh,sha256=CAx0pF5MPxQvIJ2RCpS2CTawbE5AS4olrO6ywWMerEY,2313
|
|
27
26
|
bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh,sha256=YwUKVwwNtmETTomaPUi5O01_Bhoo9IZGdkv3ohGYyTY,452
|
|
28
27
|
bluer_sbc/.abcli/install/grove.sh,sha256=4ceAMdU62p-_Y3gSF_ZLjqZqCnZ3ka_mKQVKu-bvdPI,848
|
|
29
28
|
bluer_sbc/.abcli/install/lepton.sh,sha256=ziLRm872Y-SIRSqXFdSPap596hWFNOSJGz6oFLY4nMw,1005
|
|
@@ -34,9 +33,10 @@ bluer_sbc/.abcli/install/template.sh,sha256=Qqj6JKZlaxAqUGbY88gkNn-v-_aTUtKzpyi-
|
|
|
34
33
|
bluer_sbc/.abcli/install/unicorn_16x16.sh,sha256=zt6VN6c6cLQ59m7GiUNdV7aPTfO8CRoYtSs4VIuEJFw,496
|
|
35
34
|
bluer_sbc/.abcli/tests/README.sh,sha256=0hp3y_URdsFtnYw5Ujty6xy5SNhNHGEVPqpQoYxu0WA,142
|
|
36
35
|
bluer_sbc/.abcli/tests/camera.sh,sha256=NRr-RbyNORMSHYxNu6VUpVzHIJ2Qy-5NQr2qh54kqUg,1013
|
|
37
|
-
bluer_sbc/.abcli/tests/help.sh,sha256=
|
|
36
|
+
bluer_sbc/.abcli/tests/help.sh,sha256=sfbx43OBqXwviy4yjVYTz38eTRijbWKWJlH2v4HvdSA,1359
|
|
38
37
|
bluer_sbc/.abcli/tests/seed.sh,sha256=2FxgOe2WxSGKqKaigqxl28LCG4psIPVWE6I7oh9XjR4,335
|
|
39
38
|
bluer_sbc/.abcli/tests/version.sh,sha256=odDOmAFlzH7KtsAYWOmyLsQ6GAws6XadNlZ6H-NZuzc,147
|
|
39
|
+
bluer_sbc/ROS/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
40
40
|
bluer_sbc/algo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
bluer_sbc/algo/diff.py,sha256=ZCUkRgip-Uss86r--RuEwyYtFjpukM3fbY_yovXwgNw,2190
|
|
42
42
|
bluer_sbc/hardware/__init__.py,sha256=EW_u4fRXPVpAO47EaLZn0Vxo_rfE9a1O4cPdl_w6vOI,1421
|
|
@@ -58,12 +58,11 @@ bluer_sbc/help/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
58
58
|
bluer_sbc/help/__main__.py,sha256=Aj_lNOTJiCYZK3MrOlETIiFWiFPjZ2vaGzDk0Q3uTYA,229
|
|
59
59
|
bluer_sbc/help/adafruit_rgb_matrix.py,sha256=VPQkAPb17K9AP2rMpH8yDPIXVG_dXiPZ0C8qtjZKTB8,384
|
|
60
60
|
bluer_sbc/help/camera.py,sha256=-zN4k8Hny0ZPLNxH4z4ogVFFPvrgV-XPZWveGK0tXNg,1124
|
|
61
|
-
bluer_sbc/help/functions.py,sha256=
|
|
61
|
+
bluer_sbc/help/functions.py,sha256=kS7EkZvhpuRrRYqyj2urIidyspZBCiqq_lgXt5ZB7m4,1183
|
|
62
62
|
bluer_sbc/help/grove.py,sha256=4CM3_RUeu6hMr1zmkz4f-V7Mzb75vcYv0dfoQKw2KJI,1026
|
|
63
63
|
bluer_sbc/help/hat.py,sha256=fhiEFoWYolmh-loZ87fYghEJK-XLUpkUc4pDj2WWdAE,885
|
|
64
64
|
bluer_sbc/help/lepton.py,sha256=NNJY9f1gkZCD7fGf0chFjncbLOSpb79VLyZ2jxj4rG4,618
|
|
65
65
|
bluer_sbc/help/scroll_phat_hd.py,sha256=pLMIGMKIzRgN2LcNjIPNQiJ0mIowKjxkBhS40PIst1c,374
|
|
66
|
-
bluer_sbc/help/session.py,sha256=kN4cSOJhwCDYvatjTsnUX-li76p0fnS4gRlJ5OQEeDM,457
|
|
67
66
|
bluer_sbc/help/sparkfun_top_phat.py,sha256=4JQMqzapnx5PBtzfw8RqpqgXtnF0HqDWxuTssK0OHUo,445
|
|
68
67
|
bluer_sbc/help/unicorn_16x16.py,sha256=0uKABkkY7VGfmUj2U8g0fA0AvXDBlloVzGQXbx_mPO8,378
|
|
69
68
|
bluer_sbc/imager/__init__.py,sha256=THkQ_yCpArJKfP7u_oeR-W7vGzCmXFDOa102FTDPAT4,419
|
|
@@ -80,8 +79,8 @@ bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
80
79
|
bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
|
|
81
80
|
bluer_sbc/session/classes.py,sha256=QCey32u06Whknr-bwnnw3Fv2_-Epdr_b4mDTHjoke9k,8913
|
|
82
81
|
bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
|
|
83
|
-
bluer_sbc-8.
|
|
84
|
-
bluer_sbc-8.
|
|
85
|
-
bluer_sbc-8.
|
|
86
|
-
bluer_sbc-8.
|
|
87
|
-
bluer_sbc-8.
|
|
82
|
+
bluer_sbc-8.104.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
83
|
+
bluer_sbc-8.104.1.dist-info/METADATA,sha256=ycy6usNSXPAe1Ew0l0yCT_dlS8uifpu0iJYqKMCeiPA,2705
|
|
84
|
+
bluer_sbc-8.104.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
85
|
+
bluer_sbc-8.104.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
|
|
86
|
+
bluer_sbc-8.104.1.dist-info/RECORD,,
|
bluer_sbc/.abcli/ROS/session.sh
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function bluer_sbc_ROS_session() {
|
|
4
|
-
local task=${1:-start}
|
|
5
|
-
|
|
6
|
-
local options=$2
|
|
7
|
-
local do_dryrun=$(bluer_ai_option_int "$options" dryrun 0)
|
|
8
|
-
local do_upload=$(bluer_ai_option_int "$options" upload 1)
|
|
9
|
-
|
|
10
|
-
bluer_ai_log "@sbc.ROS: session @ $abcli_object_name started ..."
|
|
11
|
-
|
|
12
|
-
bluer_objects_mlflow_tags_set \
|
|
13
|
-
$abcli_object_name \
|
|
14
|
-
session,ROS,host=$abcli_hostname,$BLUER_SBC_SESSION_OBJECT_TAGS
|
|
15
|
-
|
|
16
|
-
local sudo_prefix=""
|
|
17
|
-
[[ "$BLUER_AI_SESSION_IS_SUDO" == 1 ]] &&
|
|
18
|
-
sudo_prefix="sudo -E"
|
|
19
|
-
|
|
20
|
-
bluer_ai_eval dryrun=$do_dryrun \
|
|
21
|
-
$sudo_prefix \
|
|
22
|
-
$(which python3) -m bluer_sbc.ROS \
|
|
23
|
-
${task}_session \
|
|
24
|
-
"${@:3}"
|
|
25
|
-
local status="$?"
|
|
26
|
-
|
|
27
|
-
[[ "$do_upload" == 1 ]] &&
|
|
28
|
-
bluer_objects_upload - $abcli_object_name
|
|
29
|
-
|
|
30
|
-
bluer_ai_log "@sbc.ROS: session ended."
|
|
31
|
-
|
|
32
|
-
return $status
|
|
33
|
-
}
|
bluer_sbc/help/session.py
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
from typing import List
|
|
2
|
-
|
|
3
|
-
from bluer_options.terminal import show_usage, xtra
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def help_session_start(
|
|
7
|
-
tokens: List[str],
|
|
8
|
-
mono: bool,
|
|
9
|
-
) -> str:
|
|
10
|
-
options = xtra("dryrun,sudo,~upload", mono=mono)
|
|
11
|
-
|
|
12
|
-
return show_usage(
|
|
13
|
-
[
|
|
14
|
-
"@sbc",
|
|
15
|
-
"session",
|
|
16
|
-
"start",
|
|
17
|
-
f"[{options}]",
|
|
18
|
-
],
|
|
19
|
-
"start an @sbc session.",
|
|
20
|
-
mono=mono,
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
help_functions = {
|
|
25
|
-
"start": help_session_start,
|
|
26
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|