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

@@ -3,7 +3,7 @@
3
3
  function bluer_sbc() {
4
4
  local task=$1
5
5
 
6
- abcli_generic_task \
6
+ bluer_ai_generic_task \
7
7
  plugin=bluer_sbc,task=$task \
8
8
  "${@:2}"
9
9
  }
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_adafruit_rgb_matrix() {
3
+ function bluer_ai_install_adafruit_rgb_matrix() {
4
4
  pushd $abcli_path_git >/dev/null
5
5
  git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
6
6
  cd Raspberry-Pi-Installer-Scripts
@@ -11,5 +11,5 @@ function abcli_install_adafruit_rgb_matrix() {
11
11
  }
12
12
 
13
13
  if [ "$BLUER_SBC_HARDWARE_KIND" == "adafruit_rgb_matrix" ]; then
14
- abcli_install_module adafruit_rgb_matrix 106
14
+ bluer_ai_install_module adafruit_rgb_matrix 106
15
15
  fi
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_grove() {
3
+ function bluer_ai_install_grove() {
4
4
  pushd $abcli_path_git >/dev/null
5
5
 
6
6
  # https://wiki.seeedstudio.com/Grove_Base_Kit_for_Raspberry_Pi/
@@ -25,5 +25,5 @@ function abcli_install_grove() {
25
25
  }
26
26
 
27
27
  if [ "$BLUER_SBC_HARDWARE_KIND" == "grove" ]; then
28
- abcli_install_module grove 106
28
+ bluer_ai_install_module grove 106
29
29
  fi
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_lepton() {
3
+ function bluer_ai_install_lepton() {
4
4
  sudo apt-get update --allow-releaseinfo-change
5
5
 
6
6
  cd ~
@@ -29,5 +29,5 @@ function abcli_install_lepton() {
29
29
  }
30
30
 
31
31
  if [ "$BLUER_SBC_SESSION_IMAGER" == "lepton" ]; then
32
- abcli_install_module lepton 102
32
+ bluer_ai_install_module lepton 102
33
33
  fi
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_rpi() {
4
- pushd $abcli_path_git > /dev/null
3
+ function bluer_ai_install_rpi() {
4
+ pushd $abcli_path_git >/dev/null
5
5
 
6
6
  # https://docs.donkeycar.com/guide/robot_sbc/setup_raspberry_pi/
7
7
  sudo apt-get update
@@ -24,7 +24,7 @@ function abcli_install_rpi() {
24
24
 
25
25
  cd
26
26
  python3 -m virtualenv -p python3 env --system-site-packages
27
- echo "source env/bin/activate" >> ~/.bashrc
27
+ echo "source env/bin/activate" >>~/.bashrc
28
28
  source env/bin/activate
29
29
 
30
30
  cd git
@@ -36,7 +36,7 @@ function abcli_install_rpi() {
36
36
  pip3 install numpy --upgrade
37
37
 
38
38
  cd
39
- curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1DCfoSwlsdX9X4E3pLClE1z0fvw8tFESP" > /dev/null
39
+ curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=1DCfoSwlsdX9X4E3pLClE1z0fvw8tFESP" >/dev/null
40
40
  CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
41
41
  curl -Lb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=1DCfoSwlsdX9X4E3pLClE1z0fvw8tFESP" -o tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl
42
42
  pip3 install tensorflow-2.2.0-cp37-cp37m-linux_armv7l.whl
@@ -57,9 +57,9 @@ function abcli_install_rpi() {
57
57
  export PATH=/home/pi/.local/bin:$PATH
58
58
  fi
59
59
 
60
- popd > /dev/null
60
+ popd >/dev/null
61
61
  }
62
62
 
63
- if [ "$abcli_is_rpi" == true ] ; then
64
- abcli_install_module rpi 109
65
- fi
63
+ if [ "$abcli_is_rpi" == true ]; then
64
+ bluer_ai_install_module rpi 109
65
+ fi
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_scroll_phat_hd() {
3
+ function bluer_ai_install_scroll_phat_hd() {
4
4
  pushd $abcli_path_home/git >/dev/null
5
5
  git clone https://github.com/pimoroni/scroll-phat-hd
6
6
  popd >/dev/null
@@ -10,5 +10,5 @@ function abcli_install_scroll_phat_hd() {
10
10
  }
11
11
 
12
12
  if [ "$BLUER_SBC_HARDWARE_KIND" == "scroll_phat_hd" ]; then
13
- abcli_install_module scroll_phat_hd 102
13
+ bluer_ai_install_module scroll_phat_hd 102
14
14
  fi
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_sparkfun_top_phat() {
3
+ function bluer_ai_install_sparkfun_top_phat() {
4
4
  # https://learn.sparkfun.com/tutorials/sparkfun-top-phat-hookup-guide/button-controller
5
5
  sudo pip3 install sparkfun-qwiic
6
6
 
@@ -26,7 +26,7 @@ function abcli_install_sparkfun_top_phat() {
26
26
  }
27
27
 
28
28
  if [ "$BLUER_SBC_HARDWARE_KIND" == "sparkfun-top-phat" ]; then
29
- abcli_install_module sparkfun_top_phat 104
29
+ bluer_ai_install_module sparkfun_top_phat 104
30
30
 
31
31
  # https://learn.sparkfun.com/tutorials/sparkfun-top-phat-hookup-guide/24-tft-display-archived
32
32
  con2fbmap 1 1
@@ -1,9 +1,9 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_bluer_sbc_template() {
3
+ function bluer_ai_install_bluer_sbc_template() {
4
4
  abcli_log "wip"
5
5
  }
6
6
 
7
7
  if [ "$BLUER_SBC_HARDWARE_KIND" == "bluer_sbc_template" ]; then
8
- abcli_install_module bluer_sbc_template 101
8
+ bluer_ai_install_module bluer_sbc_template 101
9
9
  fi
@@ -1,6 +1,6 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- function abcli_install_unicorn_16x16() {
3
+ function bluer_ai_install_unicorn_16x16() {
4
4
  pushd $abcli_path_git >/dev/null
5
5
  git clone https://github.com/pimoroni/unicorn-hat-hd
6
6
  popd >/dev/null
@@ -12,5 +12,5 @@ function abcli_install_unicorn_16x16() {
12
12
  }
13
13
 
14
14
  if [ "$BLUER_SBC_HARDWARE_KIND" == "unicorn_16x16" ]; then
15
- abcli_install_module unicorn_16x16 101
15
+ bluer_ai_install_module unicorn_16x16 101
16
16
  fi
@@ -20,7 +20,7 @@ function bluer_sbc_session() {
20
20
  [[ "$run_sudo" == 1 ]] &&
21
21
  sudo_prefix="sudo -E "
22
22
 
23
- abcli_eval dryrun=$do_dryrun \
23
+ bluer_ai_eval dryrun=$do_dryrun \
24
24
  $sudo_prefix \
25
25
  python3 -m bluer_sbc.session \
26
26
  start \
@@ -3,6 +3,6 @@
3
3
  function test_bluer_sbc_README() {
4
4
  local options=$1
5
5
 
6
- abcli_eval ,$options \
6
+ bluer_ai_eval ,$options \
7
7
  bluer_sbc build_README
8
8
  }
@@ -9,7 +9,7 @@ function test_bluer_sbc_camera_capture() {
9
9
  bluer_ai_select \
10
10
  test_bluer_sbc_camera_capture-$(abcli_string_timestamp_short)
11
11
 
12
- abcli_eval ,$options \
12
+ bluer_ai_eval ,$options \
13
13
  bluer_sbc_camera \
14
14
  capture \
15
15
  image
@@ -25,7 +25,7 @@ function test_bluer_sbc_camera_capture_video() {
25
25
  bluer_ai_select \
26
26
  test_bluer_sbc_camera_capture_video-$(abcli_string_timestamp_short)
27
27
 
28
- abcli_eval ,$options \
28
+ bluer_ai_eval ,$options \
29
29
  bluer_sbc_camera \
30
30
  capture \
31
31
  video \
@@ -39,7 +39,7 @@ function test_bluer_sbc_camera_preview() {
39
39
 
40
40
  local options=$1
41
41
 
42
- abcli_eval ,$options \
42
+ bluer_ai_eval ,$options \
43
43
  bluer_sbc_camera \
44
44
  preview \
45
45
  - \
@@ -54,11 +54,11 @@ function test_bluer_sbc_help() {
54
54
  "grove validate oled_128x64" \
55
55
  \
56
56
  "bluer_sbc"; do
57
- abcli_eval ,$options \
57
+ bluer_ai_eval ,$options \
58
58
  bluer_ai_help $module
59
59
  [[ $? -ne 0 ]] && return 1
60
60
 
61
- abcli_hr
61
+ bluer_ai_hr
62
62
  done
63
63
 
64
64
  return 0
@@ -3,6 +3,6 @@
3
3
  function test_bluer_sbc_version() {
4
4
  local options=$1
5
5
 
6
- abcli_eval ,$options \
6
+ bluer_ai_eval ,$options \
7
7
  "bluer_sbc version ${@:2}"
8
8
  }
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.16.1"
7
+ VERSION = "8.19.1"
8
8
 
9
9
  REPO_NAME = "bluer-sbc"
10
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 8.16.1
3
+ Version: 8.19.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)
@@ -50,7 +50,7 @@ pip install bluer_sbc
50
50
 
51
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
52
 
53
- built by 🌀 [`bluer_options-5.48.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_sbc-8.16.1`](https://github.com/kamangir/bluer-sbc).
53
+ built by 🌀 [`bluer_options-5.53.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_sbc-8.19.1`](https://github.com/kamangir/bluer-sbc).
54
54
 
55
55
 
56
56
 
@@ -1,5 +1,5 @@
1
1
  bluer_sbc/README.py,sha256=PX_NHt0J5kkaF38D3g0wljQWCG3L7w5C9hkRd4SP680,1179
2
- bluer_sbc/__init__.py,sha256=sGhA5lZdoE-tmPDuCsaF_MobG6CLJhQG0fBR_ueSf-k,291
2
+ bluer_sbc/__init__.py,sha256=EYAb-RbqbUPQraLLOAATNUfEeu8XLLinkGq9GyFMvFY,291
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
@@ -11,27 +11,27 @@ bluer_sbc/.abcli/abcli.sh,sha256=Q_YRZUeFjN4UT9zT8lzrNIQSuORPie4Cp5CW5O2pX5w,290
11
11
  bluer_sbc/.abcli/actions.sh,sha256=iULqTxrLdeJFjf6RFClPECb4Vv6J7-zSGPKyZpL4QIw,221
12
12
  bluer_sbc/.abcli/adafruit_rgb_matrix.sh,sha256=DwPJeuDXYa_F0r4nIWNeBYVtodyHYT2tV9JxPbWxhAM,382
13
13
  bluer_sbc/.abcli/alias.sh,sha256=0J8ChbWxoRSA-nkVpzweNaEKEqhT6X6ah32o5I69Hyk,72
14
- bluer_sbc/.abcli/blue_sbc.sh,sha256=--uBD7ZAtI2HBrCoFxmhFTzxoCF_lrLAeL9HKgKDqX4,192
14
+ bluer_sbc/.abcli/blue_sbc.sh,sha256=YZC4O19yMcYYSYhc_-Qgx--cKDDe5-YFd4vfhHn9i_Q,195
15
15
  bluer_sbc/.abcli/camera.sh,sha256=zy7umdJzle47r7u6-amUcss8BUhmZG65aAkK5kAiiS0,444
16
16
  bluer_sbc/.abcli/grove.sh,sha256=pXBiEJ8CXDwR3vYXkXCWLnd9nexqgwMFTF3oSoPqzHI,1171
17
17
  bluer_sbc/.abcli/hat.sh,sha256=ggMb9XOFA3t3sBTGalQK4x7yNuAgK3jA6UkFDWAnndM,449
18
18
  bluer_sbc/.abcli/lepton.sh,sha256=e7bzeYC8JpZMTTWkIfIscPfsoGYPb1ONWaTdDrglfRc,327
19
19
  bluer_sbc/.abcli/scroll_phat_hd.sh,sha256=AUD38PfNMCA-88GjHa-xV4OM7IS8mg5ECNFjAzLJ8AQ,331
20
- bluer_sbc/.abcli/session.sh,sha256=5D5xoG4gDy8oeQ4tqCiDuXsrJt1bWeOwyGnAFmYPCDM,1080
20
+ bluer_sbc/.abcli/session.sh,sha256=G8NhMICoh8UaT_4U_3EAFVSms9Mfpo22YW5rk6LTNqA,1083
21
21
  bluer_sbc/.abcli/sparkfun_top_phat.sh,sha256=F8dV3MjghNU1MMzCXRnQ0kaorr2BOswLBt8Sry5Youo,686
22
22
  bluer_sbc/.abcli/unicorn_16x16.sh,sha256=_cvgK1tT51BqN12HxEx_9FXWTNvPISd4T7pPmA2Jxfo,330
23
- bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh,sha256=jQ1Hw9TCBarQhisOGkSqUuifFxQ5SMHtJT-ecK2CnXs,446
24
- bluer_sbc/.abcli/install/grove.sh,sha256=hxzij4n9aaFEKWsK_lEDHnyjiVOGk0n0E9N26KgXEhc,842
25
- bluer_sbc/.abcli/install/lepton.sh,sha256=j4Ht9pOGP__NVjEHued-dFwXQ50hMjYAXC_VxnFoE9A,999
26
- bluer_sbc/.abcli/install/rpi.sh,sha256=0gURfULuFU7Y9A8kwa2DyOV4qinRoet3n6w9Jfwwxo4,2386
27
- bluer_sbc/.abcli/install/scroll_phat_hd.sh,sha256=ZJ8Xab3cLTcsthwe9GoKQpF-myap3o9nKswxCLQUPyw,389
28
- bluer_sbc/.abcli/install/sparkfun_top_phat.sh,sha256=XD2KBPNjkUpaUrLE434TnOqht22Tz5v3joBYikKXJYA,1292
29
- bluer_sbc/.abcli/install/template.sh,sha256=YZ5zjPGkt9ZFXYxALooDf8f71DtZJqEu_1zPZLKWS74,206
30
- bluer_sbc/.abcli/install/unicorn_16x16.sh,sha256=Pxmuzzswp4OR9e4srTcHF_tlU6f5YDp8Ei2QR-Vs1O8,490
31
- bluer_sbc/.abcli/tests/README.sh,sha256=6mWswcFc-7VQezPxR8fHvQ5bWgFMRjrLhbrYwv8n9r4,139
32
- bluer_sbc/.abcli/tests/camera.sh,sha256=VjamlnMfnzpLtiSGtMOarHmyHo1bO6GgpHN2iAIoHyM,998
33
- bluer_sbc/.abcli/tests/help.sh,sha256=-R5VCGB3DUhnLYGqMY_mR0J7ab_AVY9T4RuOBxh4H_U,1453
34
- bluer_sbc/.abcli/tests/version.sh,sha256=mLLaswbuyDiyUZVj3gOLrdp2kK_TTOUoAeRHc4mwFOc,144
23
+ bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh,sha256=YwUKVwwNtmETTomaPUi5O01_Bhoo9IZGdkv3ohGYyTY,452
24
+ bluer_sbc/.abcli/install/grove.sh,sha256=4ceAMdU62p-_Y3gSF_ZLjqZqCnZ3ka_mKQVKu-bvdPI,848
25
+ bluer_sbc/.abcli/install/lepton.sh,sha256=ziLRm872Y-SIRSqXFdSPap596hWFNOSJGz6oFLY4nMw,1005
26
+ bluer_sbc/.abcli/install/rpi.sh,sha256=JDiEdEgTgZ2HaGmu7H5ygzeBy9SHZrw20Jnay8EsKf4,2388
27
+ bluer_sbc/.abcli/install/scroll_phat_hd.sh,sha256=CxMLLh34C1i9FRyaD9JTUI9chTik18LAJltiEIax_Xk,395
28
+ bluer_sbc/.abcli/install/sparkfun_top_phat.sh,sha256=3kOMZXBafLm2RqHXXgTx2Ez5WwY5ebKx6hdIK2TN2V0,1298
29
+ bluer_sbc/.abcli/install/template.sh,sha256=mUsIPaGT3kJjeGIIB2LbNx5ISJf9fYkLF1SL7uQ1SXA,212
30
+ bluer_sbc/.abcli/install/unicorn_16x16.sh,sha256=zt6VN6c6cLQ59m7GiUNdV7aPTfO8CRoYtSs4VIuEJFw,496
31
+ bluer_sbc/.abcli/tests/README.sh,sha256=0hp3y_URdsFtnYw5Ujty6xy5SNhNHGEVPqpQoYxu0WA,142
32
+ bluer_sbc/.abcli/tests/camera.sh,sha256=jBQ3zXy79sM2m1XTGH5sOl658pxNpYhNM1g7mX2_6ho,1007
33
+ bluer_sbc/.abcli/tests/help.sh,sha256=UXNmVVetwlw38QHXPvu9g2tfHdMFQ2XLONBcj5utfGE,1459
34
+ bluer_sbc/.abcli/tests/version.sh,sha256=odDOmAFlzH7KtsAYWOmyLsQ6GAws6XadNlZ6H-NZuzc,147
35
35
  bluer_sbc/algo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  bluer_sbc/algo/diff.py,sha256=ZCUkRgip-Uss86r--RuEwyYtFjpukM3fbY_yovXwgNw,2190
37
37
  bluer_sbc/hardware/__init__.py,sha256=_8mhjisGA1ACrN4l0uxOexVqgi4T0qx64dW6lFeukfQ,1509
@@ -75,8 +75,8 @@ bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
75
75
  bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
76
76
  bluer_sbc/session/classes.py,sha256=QCey32u06Whknr-bwnnw3Fv2_-Epdr_b4mDTHjoke9k,8913
77
77
  bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
78
- bluer_sbc-8.16.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
79
- bluer_sbc-8.16.1.dist-info/METADATA,sha256=aT88aNiKV6ubI2XnQ-LctYU2Xwa1L2JygNZyGnLlJeQ,2720
80
- bluer_sbc-8.16.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
81
- bluer_sbc-8.16.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
82
- bluer_sbc-8.16.1.dist-info/RECORD,,
78
+ bluer_sbc-8.19.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
79
+ bluer_sbc-8.19.1.dist-info/METADATA,sha256=ZPlEI3nJhdcStRtipwetWiqQZq20ydoReVhhXula0Jw,2720
80
+ bluer_sbc-8.19.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
81
+ bluer_sbc-8.19.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
82
+ bluer_sbc-8.19.1.dist-info/RECORD,,