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

@@ -0,0 +1,52 @@
1
+ #! /usr/bin/env bash
2
+
3
+ # internal function to bluer_ai_seed.
4
+ # seed is NOT local
5
+ function bluer_ai_seed_headless_rpi() {
6
+ bluer_sbc_seed "$@"
7
+ }
8
+ function bluer_ai_seed_jetson() {
9
+ bluer_sbc_seed "$@"
10
+ }
11
+ function bluer_ai_seed_rpi() {
12
+ bluer_sbc_seed "$@"
13
+ }
14
+
15
+ function bluer_sbc_seed() {
16
+ local target=$1
17
+
18
+ bluer_ai_seed add_kaggle
19
+
20
+ bluer_ai_seed add_ssh_key
21
+
22
+ seed="${seed}ssh-keyscan github.com | sudo tee -a ~/.ssh/known_hosts$delim_section"
23
+
24
+ # https://serverfault.com/a/1093530
25
+ # https://packages.ubuntu.com/bionic/all/ca-certificates/download
26
+ local certificate_name="ca-certificates_20211016ubuntu0.18.04.1_all"
27
+ seed="${seed}wget --no-check-certificate http://security.ubuntu.com/ubuntu/pool/main/c/ca-certificates/$certificate_name.deb$delim"
28
+ seed="${seed}sudo dpkg -i $certificate_name.deb$delim_section"
29
+ seed="${seed}sudo apt-get update --allow-releaseinfo-change$delim"
30
+ seed="${seed}sudo apt-get install -y ca-certificates libgnutls30$delim"
31
+
32
+ seed="${seed}sudo apt-get --yes --force-yes install git$delim_section"
33
+
34
+ bluer_ai_seed add_bluer_ai
35
+
36
+ [[ "$target" == "headless_rpi" ]] &&
37
+ seed="${seed}touch ~/storage/temp/ignore/headless$delim_section"
38
+
39
+ bluer_ai_seed add_bluer_ai_env
40
+
41
+ seed="${seed}pip install --upgrade pip --no-input$delim"
42
+ seed="${seed}pip3 install -e .$delim_section"
43
+
44
+ seed="${seed}source ./bluer_ai/.abcli/bluer_ai.sh$delim_section"
45
+
46
+ seed="${seed}source ~/.bashrc$delim_section"
47
+
48
+ if [[ ! -z "$env_name" ]]; then
49
+ seed="${seed}bluer_ai_env dot copy $env_name$delim"
50
+ seed="${seed}bluer_ai init$delim_section"
51
+ fi
52
+ }
@@ -0,0 +1,17 @@
1
+ #! /usr/bin/env bash
2
+
3
+ function test_bluer_sbc_seed() {
4
+ local options=$1
5
+
6
+ local target
7
+ for target in \
8
+ headless_rpi \
9
+ jetson \
10
+ rpi; do
11
+ bluer_ai_eval ,$options \
12
+ bluer_ai_seed $target screen
13
+ [[ $? -ne 0 ]] && return 1
14
+ done
15
+
16
+ return 0
17
+ }
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.40.1"
7
+ VERSION = "8.45.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.40.1
3
+ Version: 8.45.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)
@@ -49,7 +49,7 @@ pip install bluer_sbc
49
49
 
50
50
  [![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)
51
51
 
52
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.40.1`](https://github.com/kamangir/bluer-sbc).
52
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.45.1`](https://github.com/kamangir/bluer-sbc).
53
53
 
54
54
 
55
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=v9jGumSsYfTscqfWY83YWMYhd7ex23lWxRJX8oJEcVY,291
2
+ bluer_sbc/__init__.py,sha256=gaHGVOps9JbnL0meubQnF__NR-v9g20ysQg04JaADzo,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
@@ -17,6 +17,7 @@ bluer_sbc/.abcli/grove.sh,sha256=6Lf4TiQzZj9uStCY9ezd8djcqVthzbybkmgmZ8Kr9wE,118
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/seed.sh,sha256=XMV5W3ctUkMCQ1K_8axLPZZN9dadkRaIKdKji-yiUKQ,1643
20
21
  bluer_sbc/.abcli/session.sh,sha256=dZlqkVrEqxXuxOG11oouyDf3nKmpQFurxTovMFuK5OQ,1098
21
22
  bluer_sbc/.abcli/sparkfun_top_phat.sh,sha256=F8dV3MjghNU1MMzCXRnQ0kaorr2BOswLBt8Sry5Youo,686
22
23
  bluer_sbc/.abcli/unicorn_16x16.sh,sha256=_cvgK1tT51BqN12HxEx_9FXWTNvPISd4T7pPmA2Jxfo,330
@@ -31,6 +32,7 @@ bluer_sbc/.abcli/install/unicorn_16x16.sh,sha256=zt6VN6c6cLQ59m7GiUNdV7aPTfO8CRo
31
32
  bluer_sbc/.abcli/tests/README.sh,sha256=0hp3y_URdsFtnYw5Ujty6xy5SNhNHGEVPqpQoYxu0WA,142
32
33
  bluer_sbc/.abcli/tests/camera.sh,sha256=NRr-RbyNORMSHYxNu6VUpVzHIJ2Qy-5NQr2qh54kqUg,1013
33
34
  bluer_sbc/.abcli/tests/help.sh,sha256=6HZ6FN_AvAaxOweMMmj5STnRO_V6E6JeF_IWqy6IF40,1425
35
+ bluer_sbc/.abcli/tests/seed.sh,sha256=1j3ForzIefZTBUdx5U8BEurTArFE8N8GjWO21jgEhbE,305
34
36
  bluer_sbc/.abcli/tests/version.sh,sha256=odDOmAFlzH7KtsAYWOmyLsQ6GAws6XadNlZ6H-NZuzc,147
35
37
  bluer_sbc/algo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
38
  bluer_sbc/algo/diff.py,sha256=ZCUkRgip-Uss86r--RuEwyYtFjpukM3fbY_yovXwgNw,2190
@@ -75,8 +77,8 @@ bluer_sbc/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
75
77
  bluer_sbc/session/__main__.py,sha256=O2Tv6HgE8Bos7ASIViYludpWVi6EEc9XRoP8jYC2-2Q,534
76
78
  bluer_sbc/session/classes.py,sha256=QCey32u06Whknr-bwnnw3Fv2_-Epdr_b4mDTHjoke9k,8913
77
79
  bluer_sbc/session/functions.py,sha256=eRJKSczRjKn3Fo2jv8_4EMAZwfJBj5cIPg2WqHkC2Q8,481
78
- bluer_sbc-8.40.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
79
- bluer_sbc-8.40.1.dist-info/METADATA,sha256=sLvAH5nr9txbFIHjX7F9eFzqBbu4WncmQbnp9PYjmGA,2703
80
- bluer_sbc-8.40.1.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
81
- bluer_sbc-8.40.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
82
- bluer_sbc-8.40.1.dist-info/RECORD,,
80
+ bluer_sbc-8.45.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
81
+ bluer_sbc-8.45.1.dist-info/METADATA,sha256=OtIWTSCiN7IDA7Ryp8XUDuU9DzQ7sAooWBD8GszrUTE,2703
82
+ bluer_sbc-8.45.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
83
+ bluer_sbc-8.45.1.dist-info/top_level.txt,sha256=DsLDHFiTeAj2mctGVmCSgWUhzCznWSQoUmQ1VyEmnT0,10
84
+ bluer_sbc-8.45.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5