lghorizon 0.6.12__py3-none-any.whl → 0.6.13__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.
lghorizon/const.py CHANGED
@@ -1,4 +1,5 @@
1
1
  """Python client for LGHorizon."""
2
+
2
3
  # flake8: noqa
3
4
  # Box states
4
5
  ONLINE_RUNNING = "ONLINE_RUNNING"
@@ -1,4 +1,5 @@
1
1
  """Python client for LGHorizon."""
2
+
2
3
  import logging
3
4
  import json
4
5
  import sys, traceback
@@ -287,7 +288,11 @@ class LGHorizonApi:
287
288
  _logger.debug(f"MQTT token: {self._auth.mqttToken}")
288
289
 
289
290
  @backoff.on_exception(
290
- backoff.expo, BaseException, jitter=None, max_time=600, logger=_logger
291
+ backoff.expo,
292
+ BaseException,
293
+ jitter=None,
294
+ max_tries=3,
295
+ logger=_logger,
291
296
  )
292
297
  def connect(self) -> None:
293
298
  self._config = self._get_config(self._country_code)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lghorizon
3
- Version: 0.6.12
3
+ Version: 0.6.13
4
4
  Summary: Python client for Liberty Global Horizon settop boxes
5
5
  Home-page: https://github.com/sholofly/LGHorizon-python
6
6
  Author: Rudolf Offereins
@@ -20,7 +20,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
20
  Requires-Python: >=3.9
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
- Requires-Dist: paho-mqtt >=1.5.0
23
+ Requires-Dist: paho-mqtt <2.0.0
24
24
  Requires-Dist: requests >=2.22.0
25
25
  Requires-Dist: backoff >=1.9.0
26
26
 
@@ -0,0 +1,12 @@
1
+ lghorizon/__init__.py,sha256=_VjVE44ErvJJMnF5QgXdlw_nQzbHZUhGWw5hF40PolQ,426
2
+ lghorizon/const.py,sha256=0IrGb8lgycCJBqTZ7WW7rI8ZPNItRgKJewUa_mnl9uQ,4935
3
+ lghorizon/exceptions.py,sha256=spEjRvbNdce2fauQiOFromAbV1QcfA0uMUt0nRVnnkM,318
4
+ lghorizon/helpers.py,sha256=ZWpi7B3hBvwGV02KWQQHVyj7FLLUDtIvKc-Iqsj5VHA,263
5
+ lghorizon/lghorizon_api.py,sha256=kMOfbwOYLOBqDX0xgvoXlE5PWBJ0eu2pibwiyizVhg0,23669
6
+ lghorizon/models.py,sha256=yrKlQMnHCy8FHwCel3lcTUEnd7_JQbETqf5yGW3S84o,23893
7
+ lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ lghorizon-0.6.13.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
9
+ lghorizon-0.6.13.dist-info/METADATA,sha256=a5M6PhIwxWyieNQ0h3RkdJxHwZIhLc_KP17IxunG_Rs,1038
10
+ lghorizon-0.6.13.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
11
+ lghorizon-0.6.13.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
12
+ lghorizon-0.6.13.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (75.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,12 +0,0 @@
1
- lghorizon/__init__.py,sha256=_VjVE44ErvJJMnF5QgXdlw_nQzbHZUhGWw5hF40PolQ,426
2
- lghorizon/const.py,sha256=TLiBJ1x35sXy1hDNaTFU5SM_VPWNIfL9kdTSD2-J-zM,4934
3
- lghorizon/exceptions.py,sha256=spEjRvbNdce2fauQiOFromAbV1QcfA0uMUt0nRVnnkM,318
4
- lghorizon/helpers.py,sha256=ZWpi7B3hBvwGV02KWQQHVyj7FLLUDtIvKc-Iqsj5VHA,263
5
- lghorizon/lghorizon_api.py,sha256=99A4bmOJMQCcsnjma-u6qW6PLImX1yfd7XPJZCy7ABA,23636
6
- lghorizon/models.py,sha256=yrKlQMnHCy8FHwCel3lcTUEnd7_JQbETqf5yGW3S84o,23893
7
- lghorizon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- lghorizon-0.6.12.dist-info/LICENSE,sha256=6Dh2tur1gMX3r3rITjVwUONBEJxyyPZDY8p6DZXtimE,1059
9
- lghorizon-0.6.12.dist-info/METADATA,sha256=CLB7nDrgINEo3L5ODl4TPyh5hvR9l5Y1ppjeH1H3wv8,1039
10
- lghorizon-0.6.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
11
- lghorizon-0.6.12.dist-info/top_level.txt,sha256=usii76_AxGfPI6gjrrh-NyZxcQQuF1B8_Q9kd7sID8Q,10
12
- lghorizon-0.6.12.dist-info/RECORD,,