python-terminusgps 42.0.1__tar.gz → 42.1.0__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.
Potentially problematic release.
This version of python-terminusgps might be problematic. Click here for more details.
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/PKG-INFO +1 -1
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/conf.py +1 -1
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/pyproject.toml +1 -1
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/factory.py +27 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/resource.py +8 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/uv.lock +1 -1
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/.gitignore +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/COPYING +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/README.md +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/Makefile +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/make.bat +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/auth.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/controllers.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/examples.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/profiles.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/subscriptions.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/utils.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/validators.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/django/forms.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/django/index.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/django/mixins.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/django/settings.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/django/validators.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/index.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/errors.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/examples.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/flags.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/auth.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/controllers.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/profiles/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/profiles/addresses.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/profiles/customers.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/profiles/payments.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/subscriptions.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/utils.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/validators.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/fields.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/forms.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/renderer.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/widgets.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/mixins.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/settings.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/utils.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/validators.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/__init__.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/account.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/base.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/retranslator.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/route.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/unit.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/unit_group.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/user.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/session.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/utils.py +0 -0
- {python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 42.0
|
|
3
|
+
Version: 42.1.0
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://docs.terminusgps.com
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -18,7 +18,7 @@ django.setup()
|
|
|
18
18
|
project = "python-terminusgps"
|
|
19
19
|
copyright = "2025, Terminus GPS, LLC"
|
|
20
20
|
author = "Terminus GPS, LLC"
|
|
21
|
-
release = "42.0
|
|
21
|
+
release = "42.1.0"
|
|
22
22
|
|
|
23
23
|
# -- General configuration ---------------------------------------------------
|
|
24
24
|
# 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 = "42.0
|
|
3
|
+
version = "42.1.0"
|
|
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" } ]
|
|
@@ -32,36 +32,63 @@ class WialonObjectFactory:
|
|
|
32
32
|
@overload
|
|
33
33
|
def create(self, items_type: Literal["user"], *args, **kwargs) -> WialonUser: ...
|
|
34
34
|
|
|
35
|
+
@overload
|
|
36
|
+
def get(self, items_type: Literal["user"], id: int | str) -> WialonUser: ...
|
|
37
|
+
|
|
35
38
|
@overload
|
|
36
39
|
def create(
|
|
37
40
|
self, items_type: Literal["account"], *args, **kwargs
|
|
38
41
|
) -> WialonAccount: ...
|
|
39
42
|
|
|
43
|
+
@overload
|
|
44
|
+
def get(self, items_type: Literal["account"], id: int | str) -> WialonAccount: ...
|
|
45
|
+
|
|
40
46
|
@overload
|
|
41
47
|
def create(
|
|
42
48
|
self, items_type: Literal["avl_resource"], *args, **kwargs
|
|
43
49
|
) -> WialonResource: ...
|
|
44
50
|
|
|
51
|
+
@overload
|
|
52
|
+
def get(
|
|
53
|
+
self, items_type: Literal["avl_resource"], id: int | str
|
|
54
|
+
) -> WialonResource: ...
|
|
55
|
+
|
|
45
56
|
@overload
|
|
46
57
|
def create(
|
|
47
58
|
self, items_type: Literal["avl_retranslator"], *args, **kwargs
|
|
48
59
|
) -> WialonRetranslator: ...
|
|
49
60
|
|
|
61
|
+
@overload
|
|
62
|
+
def get(
|
|
63
|
+
self, items_type: Literal["avl_retranslator"], id: int | str
|
|
64
|
+
) -> WialonRetranslator: ...
|
|
65
|
+
|
|
50
66
|
@overload
|
|
51
67
|
def create(
|
|
52
68
|
self, items_type: Literal["avl_route"], *args, **kwargs
|
|
53
69
|
) -> WialonRoute: ...
|
|
54
70
|
|
|
71
|
+
@overload
|
|
72
|
+
def get(self, items_type: Literal["avl_route"], id: int | str) -> WialonRoute: ...
|
|
73
|
+
|
|
55
74
|
@overload
|
|
56
75
|
def create(
|
|
57
76
|
self, items_type: Literal["avl_unit"], *args, **kwargs
|
|
58
77
|
) -> WialonUnit: ...
|
|
59
78
|
|
|
79
|
+
@overload
|
|
80
|
+
def get(self, items_type: Literal["avl_unit"], id: int | str) -> WialonUnit: ...
|
|
81
|
+
|
|
60
82
|
@overload
|
|
61
83
|
def create(
|
|
62
84
|
self, items_type: Literal["avl_unit_group"], *args, **kwargs
|
|
63
85
|
) -> WialonUnitGroup: ...
|
|
64
86
|
|
|
87
|
+
@overload
|
|
88
|
+
def get(
|
|
89
|
+
self, items_type: Literal["avl_unit_group"], id: int | str
|
|
90
|
+
) -> WialonUnitGroup: ...
|
|
91
|
+
|
|
65
92
|
def create(self, items_type: str, *args, **kwargs) -> WialonObject:
|
|
66
93
|
"""Creates a Wialon object in Wialon and returns its Python equivalent."""
|
|
67
94
|
cls = self._get_wialon_cls(items_type)
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/resource.py
RENAMED
|
@@ -102,3 +102,11 @@ class WialonResource(WialonObject):
|
|
|
102
102
|
"timeTo": stop.timestamp(),
|
|
103
103
|
}
|
|
104
104
|
)
|
|
105
|
+
|
|
106
|
+
@requires_id
|
|
107
|
+
def get_creator_id(self) -> str:
|
|
108
|
+
return str(
|
|
109
|
+
self.session.wialon_api.core_search_item(
|
|
110
|
+
**{"id": self.id, "flags": flags.DataFlag.RESOURCE_BILLING_PROPERTIES}
|
|
111
|
+
).get("crt")
|
|
112
|
+
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/controllers.rst
RENAMED
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/examples.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/profiles.rst
RENAMED
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/subscriptions.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/docs/source/authorizenet/validators.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/constants.py
RENAMED
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/controllers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/subscriptions.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/authorizenet/validators.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/django/forms/renderer.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
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/retranslator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-42.0.1 → python_terminusgps-42.1.0}/terminusgps/wialon/items/unit_group.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|