python-terminusgps 47.3.1__tar.gz → 47.3.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-47.3.1 → python_terminusgps-47.3.3}/PKG-INFO +2 -2
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/conf.py +1 -1
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/pyproject.toml +2 -2
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/default_settings.py +1 -1
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/constants.py +34 -40
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/base.py +3 -2
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/uv.lock +2 -2
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/.github/workflows/sphinx.yml +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/.gitignore +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/.python-version +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/COPYING +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/README.md +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/Makefile +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/make.bat +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/requirements.txt +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/authorizenet/api.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/authorizenet/constants.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/authorizenet/index.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/authorizenet/service.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/index.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/mixins.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/validators.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/constants.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/exceptions.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/index.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/items.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/session.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/usage.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/docs/source/wialon/utils.rst +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/__init__.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/__init__.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/__init__.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/address_profiles.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/subscriptions.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/transactions.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/constants.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/service.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/mixins.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/validators.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/__init__.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/account.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/factory.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/resource.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/retranslator.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/route.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/unit.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/unit_group.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/user.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/session.py +0 -0
- {python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 47.3.
|
|
3
|
+
Version: 47.3.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 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Requires-Python: >=3.12
|
|
14
14
|
Requires-Dist: authorizenet>=1.1.5
|
|
15
|
-
Requires-Dist: django>=5.2.
|
|
15
|
+
Requires-Dist: django>=5.2.7
|
|
16
16
|
Requires-Dist: python-wialon>=1.2.4
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -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 = "47.3.
|
|
15
|
+
release = "47.3.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 = "47.3.
|
|
3
|
+
version = "47.3.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" } ]
|
|
@@ -13,7 +13,7 @@ classifiers = [
|
|
|
13
13
|
requires-python = ">=3.12"
|
|
14
14
|
dependencies = [
|
|
15
15
|
"authorizenet>=1.1.5",
|
|
16
|
-
"django>=5.2.
|
|
16
|
+
"django>=5.2.7",
|
|
17
17
|
"python-wialon>=1.2.4",
|
|
18
18
|
]
|
|
19
19
|
|
|
@@ -8,6 +8,7 @@ BASE_DIR = pathlib.Path(__file__).resolve().parent
|
|
|
8
8
|
DEBUG = True
|
|
9
9
|
SECRET_KEY = "xem*6no%8d9%^qzt2f3x3ar-uq4_+7h9myc$t0!+4%bj5us6f)"
|
|
10
10
|
USE_TZ = False
|
|
11
|
+
USE_I18N = False
|
|
11
12
|
|
|
12
13
|
MERCHANT_AUTH_ENVIRONMENT = Environment.SANDBOX
|
|
13
14
|
MERCHANT_AUTH_VALIDATION_MODE = ValidationMode.TEST
|
|
@@ -16,4 +17,3 @@ MERCHANT_AUTH_VALIDATION_MODE = ValidationMode.TEST
|
|
|
16
17
|
MERCHANT_AUTH_LOGIN_ID = os.getenv("MERCHANT_AUTH_LOGIN_ID")
|
|
17
18
|
MERCHANT_AUTH_TRANSACTION_KEY = os.getenv("MERCHANT_AUTH_TRANSACTION_KEY")
|
|
18
19
|
WIALON_TOKEN = os.getenv("WIALON_TOKEN")
|
|
19
|
-
WIALON_USERNAME = os.getenv("WIALON_USERNAME")
|
|
@@ -314,51 +314,45 @@ class WialonLogAction(enum.StrEnum):
|
|
|
314
314
|
"""
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
ACCESSMASK_RESOURCE_BASIC: int =
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
flags.AccessFlag.VIEW_ITEM_BASIC,
|
|
332
|
-
]
|
|
317
|
+
ACCESSMASK_RESOURCE_BASIC: int = (
|
|
318
|
+
flags.AccessFlag.MANAGE_CUSTOM_FIELDS
|
|
319
|
+
| flags.AccessFlag.RESOURCE_MANAGE_DRIVERS
|
|
320
|
+
| flags.AccessFlag.RESOURCE_MANAGE_GEOFENCES
|
|
321
|
+
| flags.AccessFlag.RESOURCE_MANAGE_NOTIFICATIONS
|
|
322
|
+
| flags.AccessFlag.RESOURCE_VIEW_DRIVERS
|
|
323
|
+
| flags.AccessFlag.RESOURCE_VIEW_GEOFENCES
|
|
324
|
+
| flags.AccessFlag.RESOURCE_VIEW_NOTIFICATIONS
|
|
325
|
+
| flags.AccessFlag.RESOURCE_VIEW_ORDERS
|
|
326
|
+
| flags.AccessFlag.RESOURCE_VIEW_POIS
|
|
327
|
+
| flags.AccessFlag.RESOURCE_VIEW_TRAILERS
|
|
328
|
+
| flags.AccessFlag.VIEW_ADMIN_FIELDS
|
|
329
|
+
| flags.AccessFlag.VIEW_CUSTOM_FIELDS
|
|
330
|
+
| flags.AccessFlag.VIEW_ITEM_BASIC
|
|
333
331
|
)
|
|
334
332
|
"""Basic resource permissions"""
|
|
335
333
|
|
|
336
|
-
ACCESSMASK_UNIT_BASIC: int =
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
flags.AccessFlag.VIEW_ITEM_DETAILED,
|
|
351
|
-
]
|
|
334
|
+
ACCESSMASK_UNIT_BASIC: int = (
|
|
335
|
+
flags.AccessFlag.MANAGE_CUSTOM_FIELDS
|
|
336
|
+
| flags.AccessFlag.MANAGE_ICON
|
|
337
|
+
| flags.AccessFlag.QUERY_REPORTS
|
|
338
|
+
| flags.AccessFlag.RENAME_ITEM
|
|
339
|
+
| flags.AccessFlag.UNIT_EXECUTE_COMMANDS
|
|
340
|
+
| flags.AccessFlag.UNIT_EXPORT_MESSAGES
|
|
341
|
+
| flags.AccessFlag.UNIT_IMPORT_MESSAGES
|
|
342
|
+
| flags.AccessFlag.UNIT_REGISTER_EVENTS
|
|
343
|
+
| flags.AccessFlag.UNIT_VIEW_SERVICE_INTERVALS
|
|
344
|
+
| flags.AccessFlag.VIEW_ATTACHED_FILES
|
|
345
|
+
| flags.AccessFlag.VIEW_CUSTOM_FIELDS
|
|
346
|
+
| flags.AccessFlag.VIEW_ITEM_BASIC
|
|
347
|
+
| flags.AccessFlag.VIEW_ITEM_DETAILED
|
|
352
348
|
)
|
|
353
349
|
"""Basic unit permissions"""
|
|
354
350
|
|
|
355
|
-
ACCESSMASK_UNIT_MIGRATION: int =
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
flags.AccessFlag.VIEW_ITEM_BASIC,
|
|
362
|
-
]
|
|
351
|
+
ACCESSMASK_UNIT_MIGRATION: int = (
|
|
352
|
+
flags.AccessFlag.DELETE_ITEM
|
|
353
|
+
| flags.AccessFlag.MANAGE_ITEM_ACCESS
|
|
354
|
+
| flags.AccessFlag.UNIT_DELETE_MESSAGES
|
|
355
|
+
| flags.AccessFlag.UNIT_MANAGE_CONNECTIVITY
|
|
356
|
+
| flags.AccessFlag.VIEW_ITEM_BASIC
|
|
363
357
|
)
|
|
364
358
|
"""Unit migration permissions"""
|
|
@@ -6,11 +6,12 @@ from terminusgps.wialon.session import WialonSession
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
def requires_id(meth):
|
|
9
|
-
"""Raises :py:exec:`
|
|
9
|
+
"""Raises :py:exec:`AttributeError` before calling the method if the Wialon object's id wasn't set."""
|
|
10
10
|
|
|
11
11
|
@wraps(meth)
|
|
12
12
|
def wrapper(self, *args, **kwargs):
|
|
13
|
-
|
|
13
|
+
if not hasattr(self, "id") or not self.id:
|
|
14
|
+
raise AttributeError("Wialon object id wasn't set.")
|
|
14
15
|
return meth(self, *args, **kwargs)
|
|
15
16
|
|
|
16
17
|
return wrapper
|
|
@@ -338,7 +338,7 @@ wheels = [
|
|
|
338
338
|
|
|
339
339
|
[[package]]
|
|
340
340
|
name = "python-terminusgps"
|
|
341
|
-
version = "47.3.
|
|
341
|
+
version = "47.3.3"
|
|
342
342
|
source = { editable = "." }
|
|
343
343
|
dependencies = [
|
|
344
344
|
{ name = "authorizenet" },
|
|
@@ -359,7 +359,7 @@ docs = [
|
|
|
359
359
|
[package.metadata]
|
|
360
360
|
requires-dist = [
|
|
361
361
|
{ name = "authorizenet", specifier = ">=1.1.5" },
|
|
362
|
-
{ name = "django", specifier = ">=5.2.
|
|
362
|
+
{ name = "django", specifier = ">=5.2.7" },
|
|
363
363
|
{ name = "python-wialon", specifier = ">=1.2.4" },
|
|
364
364
|
]
|
|
365
365
|
|
|
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-47.3.1 → python_terminusgps-47.3.3}/docs/source/authorizenet/constants.rst
RENAMED
|
File without changes
|
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.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-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/__init__.py
RENAMED
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/api/transactions.py
RENAMED
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/authorizenet/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/resource.py
RENAMED
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/retranslator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_terminusgps-47.3.1 → python_terminusgps-47.3.3}/terminusgps/wialon/items/unit_group.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|