bluer-sbc 8.40.1__tar.gz → 8.47.1__tar.gz

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.

Files changed (92) hide show
  1. {bluer_sbc-8.40.1/bluer_sbc.egg-info → bluer_sbc-8.47.1}/PKG-INFO +2 -2
  2. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/README.md +1 -1
  3. bluer_sbc-8.47.1/bluer_sbc/.abcli/seed.sh +52 -0
  4. bluer_sbc-8.47.1/bluer_sbc/.abcli/tests/seed.sh +17 -0
  5. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/__init__.py +1 -1
  6. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1/bluer_sbc.egg-info}/PKG-INFO +2 -2
  7. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc.egg-info/SOURCES.txt +2 -0
  8. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/LICENSE +0 -0
  9. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/MANIFEST.in +0 -0
  10. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/abcli.sh +0 -0
  11. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/actions.sh +0 -0
  12. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/adafruit_rgb_matrix.sh +0 -0
  13. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/alias.sh +0 -0
  14. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/blue_sbc.sh +0 -0
  15. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/camera.sh +0 -0
  16. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/grove.sh +0 -0
  17. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/hat.sh +0 -0
  18. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/adafruit_rgb_matrix.sh +0 -0
  19. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/grove.sh +0 -0
  20. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/lepton.sh +0 -0
  21. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/rpi.sh +0 -0
  22. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/scroll_phat_hd.sh +0 -0
  23. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/sparkfun_top_phat.sh +0 -0
  24. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/template.sh +0 -0
  25. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/install/unicorn_16x16.sh +0 -0
  26. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/lepton.sh +0 -0
  27. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/scroll_phat_hd.sh +0 -0
  28. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/session.sh +0 -0
  29. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/sparkfun_top_phat.sh +0 -0
  30. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/tests/README.sh +0 -0
  31. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/tests/camera.sh +0 -0
  32. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/tests/help.sh +0 -0
  33. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/tests/version.sh +0 -0
  34. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/.abcli/unicorn_16x16.sh +0 -0
  35. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/README.py +0 -0
  36. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/__main__.py +0 -0
  37. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/algo/__init__.py +0 -0
  38. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/algo/diff.py +0 -0
  39. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/config.env +0 -0
  40. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/env.py +0 -0
  41. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/__init__.py +0 -0
  42. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/adafruit_rgb_matrix.py +0 -0
  43. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/display.py +0 -0
  44. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/grove.py +0 -0
  45. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/hardware.py +0 -0
  46. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/hat/__init__.py +0 -0
  47. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/hat/__main__.py +0 -0
  48. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/hat/abstract.py +0 -0
  49. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/hat/prototype.py +0 -0
  50. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/screen.py +0 -0
  51. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/scroll_phat_hd.py +0 -0
  52. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/sparkfun_top_phat/__init__.py +0 -0
  53. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/sparkfun_top_phat/__main__.py +0 -0
  54. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/sparkfun_top_phat/classes.py +0 -0
  55. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/hardware/unicorn_16x16.py +0 -0
  56. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/__init__.py +0 -0
  57. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/__main__.py +0 -0
  58. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/adafruit_rgb_matrix.py +0 -0
  59. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/camera.py +0 -0
  60. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/functions.py +0 -0
  61. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/grove.py +0 -0
  62. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/hat.py +0 -0
  63. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/lepton.py +0 -0
  64. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/scroll_phat_hd.py +0 -0
  65. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/session.py +0 -0
  66. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/sparkfun_top_phat.py +0 -0
  67. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/help/unicorn_16x16.py +0 -0
  68. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/host.py +0 -0
  69. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/__init__.py +0 -0
  70. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/camera/__init__.py +0 -0
  71. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/camera/__main__.py +0 -0
  72. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/camera/classes.py +0 -0
  73. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/camera/constants.py +0 -0
  74. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/classes.py +0 -0
  75. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/lepton/__init__.py +0 -0
  76. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/lepton/__main__.py +0 -0
  77. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/lepton/classes.py +0 -0
  78. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/imager/lepton/python2.py +0 -0
  79. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/logger.py +0 -0
  80. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/sample.env +0 -0
  81. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/session/__init__.py +0 -0
  82. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/session/__main__.py +0 -0
  83. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/session/classes.py +0 -0
  84. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/session/functions.py +0 -0
  85. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc/urls.py +0 -0
  86. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc.egg-info/dependency_links.txt +0 -0
  87. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc.egg-info/requires.txt +0 -0
  88. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/bluer_sbc.egg-info/top_level.txt +0 -0
  89. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/pyproject.toml +0 -0
  90. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/requirements.txt +0 -0
  91. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/setup.cfg +0 -0
  92. {bluer_sbc-8.40.1 → bluer_sbc-8.47.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_sbc
3
- Version: 8.40.1
3
+ Version: 8.47.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.47.1`](https://github.com/kamangir/bluer-sbc).
53
53
 
54
54
 
55
55
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -52,5 +52,5 @@ graph LR
52
52
 
53
53
  [![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)
54
54
 
55
- 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).
55
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_sbc-8.47.1`](https://github.com/kamangir/bluer-sbc).
56
56
 
@@ -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_repo
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
+ }
@@ -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.47.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.47.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.47.1`](https://github.com/kamangir/bluer-sbc).
53
53
 
54
54
 
55
55
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -28,6 +28,7 @@ bluer_sbc/.abcli/grove.sh
28
28
  bluer_sbc/.abcli/hat.sh
29
29
  bluer_sbc/.abcli/lepton.sh
30
30
  bluer_sbc/.abcli/scroll_phat_hd.sh
31
+ bluer_sbc/.abcli/seed.sh
31
32
  bluer_sbc/.abcli/session.sh
32
33
  bluer_sbc/.abcli/sparkfun_top_phat.sh
33
34
  bluer_sbc/.abcli/unicorn_16x16.sh
@@ -42,6 +43,7 @@ bluer_sbc/.abcli/install/unicorn_16x16.sh
42
43
  bluer_sbc/.abcli/tests/README.sh
43
44
  bluer_sbc/.abcli/tests/camera.sh
44
45
  bluer_sbc/.abcli/tests/help.sh
46
+ bluer_sbc/.abcli/tests/seed.sh
45
47
  bluer_sbc/.abcli/tests/version.sh
46
48
  bluer_sbc/algo/__init__.py
47
49
  bluer_sbc/algo/diff.py
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes