lghorizon 0.6.11__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.11 → lghorizon-0.6.13}/.github/workflows/build-on-pr.yml +2 -2
- {lghorizon-0.6.11 → lghorizon-0.6.13}/.github/workflows/publish-to-pypi.yml +2 -2
- {lghorizon-0.6.11 → lghorizon-0.6.13}/PKG-INFO +2 -2
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/const.py +7 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/lghorizon_api.py +6 -1
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/PKG-INFO +2 -2
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/SOURCES.txt +1 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/requires.txt +1 -1
- lghorizon-0.6.13/renovate.json +7 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/setup.py +4 -4
- {lghorizon-0.6.11 → lghorizon-0.6.13}/.coverage +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/.flake8 +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/.gitignore +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/LICENSE +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/README.md +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/instructions.txt +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/__init__.py +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/exceptions.py +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/helpers.py +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/models.py +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon/py.typed +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/dependency_links.txt +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/not-zip-safe +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lghorizon.egg-info/top_level.txt +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/lib64 +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/pyvenv.cfg +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/secrets_stub.json +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/setup.cfg +0 -0
- {lghorizon-0.6.11 → lghorizon-0.6.13}/test.py +0 -0
|
@@ -7,11 +7,11 @@ on:
|
|
|
7
7
|
jobs:
|
|
8
8
|
build:
|
|
9
9
|
name: Build Python 🐍 distribution 📦
|
|
10
|
-
runs-on: ubuntu-
|
|
10
|
+
runs-on: ubuntu-22.04
|
|
11
11
|
steps:
|
|
12
12
|
- uses: actions/checkout@master
|
|
13
13
|
- name: Set up Python 3.10
|
|
14
|
-
uses: actions/setup-python@
|
|
14
|
+
uses: actions/setup-python@v5
|
|
15
15
|
with:
|
|
16
16
|
python-version: '3.10'
|
|
17
17
|
- name: Install pypa/build
|
|
@@ -6,11 +6,11 @@ on:
|
|
|
6
6
|
jobs:
|
|
7
7
|
build-n-publish:
|
|
8
8
|
name: Publish Python 🐍 distribution 📦 to Pypi
|
|
9
|
-
runs-on: ubuntu-
|
|
9
|
+
runs-on: ubuntu-22.04
|
|
10
10
|
steps:
|
|
11
11
|
- uses: actions/checkout@master
|
|
12
12
|
- name: Set up Python 3.10
|
|
13
|
-
uses: actions/setup-python@
|
|
13
|
+
uses: actions/setup-python@v5
|
|
14
14
|
with:
|
|
15
15
|
python-version: '3.10'
|
|
16
16
|
|
|
@@ -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
|
# flake8: noqa
|
|
3
4
|
# Box states
|
|
4
5
|
ONLINE_RUNNING = "ONLINE_RUNNING"
|
|
@@ -109,6 +110,12 @@ COUNTRY_SETTINGS = {
|
|
|
109
110
|
{"channelId": "netflix", "channelName": "Netflix", "channelNumber": "600"},
|
|
110
111
|
{"channelId": "youtube", "channelName": "Youtube", "channelNumber": "-1"},
|
|
111
112
|
],
|
|
113
|
+
"platform_types": {
|
|
114
|
+
"EOS": {"manufacturer": "Arris", "model": "DCX960"},
|
|
115
|
+
"HORIZON": {"manufacturer": "Arris", "model": "DCX960"},
|
|
116
|
+
"EOS2": {"manufacturer": "HUMAX", "model": "2008C-STB-TN"},
|
|
117
|
+
},
|
|
118
|
+
"language": "nl",
|
|
112
119
|
},
|
|
113
120
|
"gb": {
|
|
114
121
|
"api_url": "https://spark-prod-gb.gnp.cloud.virgintvgo.virginmedia.com",
|
|
@@ -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
|