lghorizon 0.6.12__tar.gz → 0.6.13__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.
- {lghorizon-0.6.12 → lghorizon-0.6.13}/PKG-INFO +2 -2
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/const.py +1 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/lghorizon_api.py +6 -1
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/PKG-INFO +2 -2
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/requires.txt +1 -1
- {lghorizon-0.6.12 → lghorizon-0.6.13}/setup.py +4 -4
- {lghorizon-0.6.12 → lghorizon-0.6.13}/.coverage +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/.flake8 +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/.github/workflows/build-on-pr.yml +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/.github/workflows/publish-to-pypi.yml +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/.gitignore +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/LICENSE +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/README.md +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/instructions.txt +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/__init__.py +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/exceptions.py +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/helpers.py +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/models.py +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon/py.typed +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/SOURCES.txt +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/dependency_links.txt +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/not-zip-safe +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lghorizon.egg-info/top_level.txt +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/lib64 +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/pyvenv.cfg +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/renovate.json +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/secrets_stub.json +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/setup.cfg +0 -0
- {lghorizon-0.6.12 → lghorizon-0.6.13}/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lghorizon
|
|
3
|
-
Version: 0.6.
|
|
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
|
|
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
|
|
|
@@ -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,
|
|
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.
|
|
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
|
|
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
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"""Set up LG Horizon."""
|
|
2
|
+
|
|
2
3
|
import setuptools
|
|
3
4
|
import os
|
|
4
5
|
import re
|
|
@@ -8,7 +9,6 @@ with open("README.md", "r") as fh:
|
|
|
8
9
|
long_description = fh.read()
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
|
|
12
12
|
def read(*parts):
|
|
13
13
|
"""Read file."""
|
|
14
14
|
filename = os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts)
|
|
@@ -27,8 +27,8 @@ setuptools.setup(
|
|
|
27
27
|
url="https://github.com/sholofly/LGHorizon-python",
|
|
28
28
|
packages=setuptools.find_packages(include=["lghorizon"]),
|
|
29
29
|
license="MIT license",
|
|
30
|
-
install_requires=["paho-mqtt
|
|
31
|
-
keywords=["LG","Horizon", "API", "Settop box"],
|
|
30
|
+
install_requires=["paho-mqtt<2.0.0", "requests>=2.22.0", "backoff>=1.9.0"],
|
|
31
|
+
keywords=["LG", "Horizon", "API", "Settop box"],
|
|
32
32
|
classifiers=[
|
|
33
33
|
"Development Status :: 3 - Alpha",
|
|
34
34
|
"Programming Language :: Python :: 3",
|
|
@@ -44,5 +44,5 @@ setuptools.setup(
|
|
|
44
44
|
python_requires=">=3.9",
|
|
45
45
|
zip_safe=False,
|
|
46
46
|
use_scm_version=True,
|
|
47
|
-
setup_requires=[
|
|
47
|
+
setup_requires=["setuptools_scm"],
|
|
48
48
|
)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|