python-terminusgps 47.1.0__py3-none-any.whl → 47.1.2__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.
- {python_terminusgps-47.1.0.dist-info → python_terminusgps-47.1.2.dist-info}/METADATA +1 -1
- {python_terminusgps-47.1.0.dist-info → python_terminusgps-47.1.2.dist-info}/RECORD +6 -6
- terminusgps/wialon/session.py +3 -3
- terminusgps/wialon/utils.py +1 -1
- {python_terminusgps-47.1.0.dist-info → python_terminusgps-47.1.2.dist-info}/WHEEL +0 -0
- {python_terminusgps-47.1.0.dist-info → python_terminusgps-47.1.2.dist-info}/licenses/COPYING +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 47.1.
|
|
3
|
+
Version: 47.1.2
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://terminusgps.github.io/python-terminusgps
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -14,8 +14,8 @@ terminusgps/authorizenet/api/transactions.py,sha256=zwbUXGxI1wkTXSPG4L4O5Y2fdNgx
|
|
|
14
14
|
terminusgps/wialon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
terminusgps/wialon/constants.py,sha256=p2BhopeE6lXzjzdzb4ZKOz0rhJQIMUbXLrBy1Yzf57s,13730
|
|
16
16
|
terminusgps/wialon/flags.py,sha256=M50EdhxQ8IMnJnU0mrHK7-h8Asc6tvNiTOOfd1dBW6A,12815
|
|
17
|
-
terminusgps/wialon/session.py,sha256=
|
|
18
|
-
terminusgps/wialon/utils.py,sha256=
|
|
17
|
+
terminusgps/wialon/session.py,sha256=8lsAjGuuWDLxmQr4h5FJzhJVBfcTqoqkvo1ezLKWRlY,6832
|
|
18
|
+
terminusgps/wialon/utils.py,sha256=U3Hou6ew6SoNTfV784XAT0qjnNLDKf9wNxX8wFKXakI,10089
|
|
19
19
|
terminusgps/wialon/items/__init__.py,sha256=RTiY9ziXqKCB8VWGoExOIErDlUMBBfzzsA7nlOlCZ2w,41
|
|
20
20
|
terminusgps/wialon/items/account.py,sha256=eN9oOuXReVR_x5P9HKg2xlk6vk7FlVnki7bjzlzaWg4,7868
|
|
21
21
|
terminusgps/wialon/items/base.py,sha256=CQwxYhW6HXMCZX8l91pWac5DTBiOqyK_FAThpUQb9fM,9360
|
|
@@ -26,7 +26,7 @@ terminusgps/wialon/items/route.py,sha256=9hmRBEFRJF3lKukv_y3blZxqxv75YgFCcRALrU6
|
|
|
26
26
|
terminusgps/wialon/items/unit.py,sha256=B5iuGEghu89SL8KzYLUytYNRa8cogsVtf-bJ_RybPTA,5522
|
|
27
27
|
terminusgps/wialon/items/unit_group.py,sha256=MIR0x5IlTjcnwx8Y9wXLNTql-wwVVj7NCe7dL2vOw4c,2131
|
|
28
28
|
terminusgps/wialon/items/user.py,sha256=CRSICiJ-qzybEO_gXuKyzW5oa2RQeIp0SzX9ARcdME4,5151
|
|
29
|
-
python_terminusgps-47.1.
|
|
30
|
-
python_terminusgps-47.1.
|
|
31
|
-
python_terminusgps-47.1.
|
|
32
|
-
python_terminusgps-47.1.
|
|
29
|
+
python_terminusgps-47.1.2.dist-info/METADATA,sha256=2RTmP-uMBnEAXaON2NfYTNVrrMQJU2zWKamJW5TldUc,938
|
|
30
|
+
python_terminusgps-47.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
31
|
+
python_terminusgps-47.1.2.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
32
|
+
python_terminusgps-47.1.2.dist-info/RECORD,,
|
terminusgps/wialon/session.py
CHANGED
|
@@ -53,11 +53,11 @@ class WialonSession:
|
|
|
53
53
|
:type port: int
|
|
54
54
|
:param sid: A Wialon API session id. Default is :py:obj:`None`.
|
|
55
55
|
:type sid: str | None
|
|
56
|
-
:param token: A Wialon API token. Default is
|
|
56
|
+
:param token: A Wialon API token. Default is environment variable ``"WIALON_TOKEN"``.
|
|
57
57
|
:type token: str | None
|
|
58
|
-
:param auth_hash: A Wialon API authentication hash. Default is
|
|
58
|
+
:param auth_hash: A Wialon API authentication hash. Default is :py:obj:`None`.
|
|
59
59
|
:type auth_hash: str | None
|
|
60
|
-
:param username: A Wialon user
|
|
60
|
+
:param username: A Wialon user to operate as during the session. Default is environment variable ``"WIALON_USERNAME"``.
|
|
61
61
|
:type username: str | None
|
|
62
62
|
:param check_service: A Wialon service name to check before calling the Wialon API. Default is :py:obj:`None`.
|
|
63
63
|
:type check_service: str | None
|
terminusgps/wialon/utils.py
CHANGED
|
@@ -96,7 +96,7 @@ def get_carrier_names(session: WialonSession) -> list[str]:
|
|
|
96
96
|
}
|
|
97
97
|
)
|
|
98
98
|
carrier_names: list[str] = [
|
|
99
|
-
field["v"]
|
|
99
|
+
str(field["v"]).lower()
|
|
100
100
|
for item in response.get("items", [{}])
|
|
101
101
|
for field in item.get("aflds", {}).values()
|
|
102
102
|
if field["n"] == "carrier" and field["v"]
|
|
File without changes
|
{python_terminusgps-47.1.0.dist-info → python_terminusgps-47.1.2.dist-info}/licenses/COPYING
RENAMED
|
File without changes
|