bluer-objects 6.173.1__py3-none-any.whl → 6.175.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-objects might be problematic. Click here for more details.

bluer_objects/__init__.py CHANGED
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} Object management in Bash."
6
6
 
7
- VERSION = "6.173.1"
7
+ VERSION = "6.175.1"
8
8
 
9
9
  REPO_NAME = "bluer-objects"
10
10
 
@@ -24,14 +24,15 @@ def get_size() -> Tuple[int, int]:
24
24
  screen_height = 480
25
25
  screen_width = 640
26
26
 
27
- if is_rpi() and not is_headless():
28
- try:
29
- # https://stackoverflow.com/a/14124257
30
- screen = os.popen("xrandr -q -d :0").readlines()[0]
31
- screen_width = int(screen.split()[7])
32
- screen_height = int(screen.split()[9][:-1])
33
- except Exception as e:
34
- logger.error(f"{NAME}: Failed: {e}.")
27
+ if is_rpi():
28
+ if not is_headless():
29
+ try:
30
+ # https://stackoverflow.com/a/14124257
31
+ screen = os.popen("xrandr -q -d :0").readlines()[0]
32
+ screen_width = int(screen.split()[7])
33
+ screen_height = int(screen.split()[9][:-1])
34
+ except Exception as e:
35
+ logger.error(f"{NAME}: Failed: {e}.")
35
36
  elif is_mac():
36
37
  success, output = shell(
37
38
  "system_profiler SPDisplaysDataType | grep Resolution",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bluer_objects
3
- Version: 6.173.1
3
+ Version: 6.175.1
4
4
  Summary: 🌀 Object management in Bash.
5
5
  Home-page: https://github.com/kamangir/bluer-objects
6
6
  Author: Arash Abadpour (Kamangir)
@@ -64,6 +64,6 @@ pip install bluer-objects
64
64
 
65
65
  [![pylint](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/bluer-objects.svg)](https://pypi.org/project/bluer-objects/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/bluer-objects)](https://pypistats.org/packages/bluer-objects)
66
66
 
67
- built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.173.1`](https://github.com/kamangir/bluer-objects).
67
+ built by 🌀 [`bluer README`](https://github.com/kamangir/bluer-objects/tree/main/bluer_objects/README), based on 🌀 [`bluer_objects-6.175.1`](https://github.com/kamangir/bluer-objects).
68
68
 
69
69
  built by 🌀 [`blueness-3.118.1`](https://github.com/kamangir/blueness).
@@ -1,4 +1,4 @@
1
- bluer_objects/__init__.py,sha256=FuQqMlclJN9Q7bmq3oPirgnoHA5U7TYxDe_Ojz4-SM4,315
1
+ bluer_objects/__init__.py,sha256=6gVB8kZmeOPmYrSyWuk7xz1PChKg2N6bauiQcEnurzg,315
2
2
  bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
3
3
  bluer_objects/config.env,sha256=cpmtTuKHIBvVjX30MpAImFgwM0g24qTHwoO-lCJRInA,175
4
4
  bluer_objects/env.py,sha256=aImjtNh8NKaua2rpQVFXWp86QF7nY87fDuMOO14O58E,1956
@@ -78,7 +78,7 @@ bluer_objects/graphics/__init__.py,sha256=Dd0kQqN7Ldvp1N9oyIirPZ6W3IdUtfPj2u21Bf
78
78
  bluer_objects/graphics/__main__.py,sha256=A221gpkUDYd_S2eYz8i6KwaPumg8myaR7L5j464wC54,1909
79
79
  bluer_objects/graphics/frame.py,sha256=WcSn-0oqDw48Akmn_bwcjDC9U_kKqRYRoGWYPoKyFvY,321
80
80
  bluer_objects/graphics/gif.py,sha256=V939DovUl2lNf-Yjwn-xa1VYYy8ALfQJHCJSvuEIQh0,2003
81
- bluer_objects/graphics/screen.py,sha256=wN7fVwpNDFzzhJ3QlbqFrWoYwTuYVGDqADxYxqjQiPE,1789
81
+ bluer_objects/graphics/screen.py,sha256=HF1EqjIsPTLEK4KR-8Rlb2lAVgbHuQNhnu-VL8macOg,1825
82
82
  bluer_objects/graphics/signature.py,sha256=JLml1OR3b4uotZyaAjyrOJworUXuPhp8nDHxHXET_Xo,2295
83
83
  bluer_objects/graphics/text.py,sha256=nnJrLUD4LIurBntSeUFwBOsbhzALXrzHzfDnBVEcFKA,4382
84
84
  bluer_objects/help/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -156,8 +156,8 @@ bluer_objects/tests/test_storage_webdav_request.py,sha256=h2b8PeIx0-hQ2d6PmQcJZy
156
156
  bluer_objects/tests/test_storage_webdav_zip.py,sha256=C19qxhkcHyTwVFzW35vL85SOcXJPkqXXaWUNll0Uyqc,1017
157
157
  bluer_objects/tests/test_testing.py,sha256=d2NH435yqJBl9wmfMqGGd-f0Y0jsL2QhHUXkty9AwPA,235
158
158
  bluer_objects/tests/test_version.py,sha256=Lyf3PMcA22e17BNRk_2VgPrtao6dWEgVoXo68Uds8SE,75
159
- bluer_objects-6.173.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
160
- bluer_objects-6.173.1.dist-info/METADATA,sha256=OLLh2xnv4pEfkGW-bS3XZCYFacJUP6BaPllGtL-dsVA,3678
161
- bluer_objects-6.173.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
- bluer_objects-6.173.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
163
- bluer_objects-6.173.1.dist-info/RECORD,,
159
+ bluer_objects-6.175.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
160
+ bluer_objects-6.175.1.dist-info/METADATA,sha256=vyAEE05U7u6-0heCnWZI9Kz2WiFoKsD17rM-Y3yj05U,3678
161
+ bluer_objects-6.175.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
162
+ bluer_objects-6.175.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
163
+ bluer_objects-6.175.1.dist-info/RECORD,,