python-terminusgps 50.2.1__tar.gz → 50.2.3__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.
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/PKG-INFO +1 -1
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/conf.py +1 -1
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/pyproject.toml +1 -1
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/wialon/session.py +10 -7
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/.github/workflows/sphinx.yml +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/.gitignore +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/.python-version +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/COPYING +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/README.md +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/Makefile +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/make.bat +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/requirements.txt +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/api.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/service.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/index.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/mixins.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/validators.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/exceptions.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/usage.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/__init__.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/__init__.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/address_profiles.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/subscriptions.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/transactions.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/service.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/default_settings.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/mixins.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/validators.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/wialon/utils.py +0 -0
- {python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 50.2.
|
|
3
|
+
Version: 50.2.3
|
|
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
|
|
@@ -12,7 +12,7 @@ sys.path.insert(0, os.path.abspath("../../"))
|
|
|
12
12
|
project = "python-terminusgps"
|
|
13
13
|
copyright = "2025, Terminus GPS, LLC"
|
|
14
14
|
author = "Terminus GPS, LLC"
|
|
15
|
-
release = "50.2.
|
|
15
|
+
release = "50.2.3"
|
|
16
16
|
|
|
17
17
|
# -- General configuration ---------------------------------------------------
|
|
18
18
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-terminusgps"
|
|
3
|
-
version = "50.2.
|
|
3
|
+
version = "50.2.3"
|
|
4
4
|
description = "Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [ {name = "Blake Nall", email = "blake@terminusgps.com" } ]
|
|
@@ -6,16 +6,21 @@ import wialon.api
|
|
|
6
6
|
|
|
7
7
|
logger = logging.getLogger(__name__)
|
|
8
8
|
|
|
9
|
+
UNKNOWN_ERROR = 6
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
class WialonAPIError(Exception):
|
|
11
13
|
"""Raised when a Wialon API call fails."""
|
|
12
14
|
|
|
13
15
|
def __init__(self, message, *args, **kwargs) -> None:
|
|
14
16
|
self.message = message
|
|
15
|
-
|
|
16
|
-
self._code =
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
if not hasattr(message, "_code"):
|
|
18
|
+
self._code = UNKNOWN_ERROR
|
|
19
|
+
else:
|
|
20
|
+
try:
|
|
21
|
+
self._code = int(message._code)
|
|
22
|
+
except ValueError:
|
|
23
|
+
self._code = UNKNOWN_ERROR
|
|
19
24
|
return super().__init__(message, *args, **kwargs)
|
|
20
25
|
|
|
21
26
|
@property
|
|
@@ -93,9 +98,7 @@ class WialonSession:
|
|
|
93
98
|
check_service=self._check_service,
|
|
94
99
|
)
|
|
95
100
|
else:
|
|
96
|
-
raise WialonAPIError(
|
|
97
|
-
message="Failed to login to the Wialon API", code=9001
|
|
98
|
-
)
|
|
101
|
+
raise WialonAPIError("Failed to login to the Wialon API")
|
|
99
102
|
return self
|
|
100
103
|
|
|
101
104
|
def __exit__(self, *args, **kwargs) -> None:
|
|
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
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/docs/source/authorizenet/service.rst
RENAMED
|
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
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/api/transactions.py
RENAMED
|
File without changes
|
{python_terminusgps-50.2.1 → python_terminusgps-50.2.3}/terminusgps/authorizenet/constants.py
RENAMED
|
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
|