python-terminusgps 48.0.0__tar.gz → 48.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.
Files changed (54) hide show
  1. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/PKG-INFO +1 -1
  2. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/conf.py +1 -1
  3. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/constants.rst +1 -9
  4. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/pyproject.toml +1 -1
  5. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/constants.py +70 -0
  6. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/utils.py +2 -2
  7. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/uv.lock +1 -1
  8. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/.github/workflows/sphinx.yml +0 -0
  9. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/.gitignore +0 -0
  10. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/.python-version +0 -0
  11. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/COPYING +0 -0
  12. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/README.md +0 -0
  13. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/Makefile +0 -0
  14. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/make.bat +0 -0
  15. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/requirements.txt +0 -0
  16. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/authorizenet/api.rst +0 -0
  17. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/authorizenet/constants.rst +0 -0
  18. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/authorizenet/index.rst +0 -0
  19. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/authorizenet/service.rst +0 -0
  20. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/index.rst +0 -0
  21. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/mixins.rst +0 -0
  22. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/validators.rst +0 -0
  23. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/exceptions.rst +0 -0
  24. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/index.rst +0 -0
  25. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/items.rst +0 -0
  26. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/session.rst +0 -0
  27. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/usage.rst +0 -0
  28. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/docs/source/wialon/utils.rst +0 -0
  29. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/__init__.py +0 -0
  30. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/__init__.py +0 -0
  31. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/__init__.py +0 -0
  32. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/address_profiles.py +0 -0
  33. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
  34. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
  35. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/subscriptions.py +0 -0
  36. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/api/transactions.py +0 -0
  37. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/constants.py +0 -0
  38. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/authorizenet/service.py +0 -0
  39. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/default_settings.py +0 -0
  40. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/mixins.py +0 -0
  41. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/validators.py +0 -0
  42. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/__init__.py +0 -0
  43. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/flags.py +0 -0
  44. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/__init__.py +0 -0
  45. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/account.py +0 -0
  46. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/base.py +0 -0
  47. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/factory.py +0 -0
  48. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/resource.py +0 -0
  49. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/retranslator.py +0 -0
  50. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/route.py +0 -0
  51. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/unit.py +0 -0
  52. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/unit_group.py +0 -0
  53. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/items/user.py +0 -0
  54. {python_terminusgps-48.0.0 → python_terminusgps-48.1.0}/terminusgps/wialon/session.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 48.0.0
3
+ Version: 48.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://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 = "48.0.0"
15
+ release = "48.0.1"
16
16
 
17
17
  # -- General configuration ---------------------------------------------------
18
18
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -1,17 +1,9 @@
1
1
  Constants
2
2
  =========
3
3
 
4
- .. currentmodule:: terminusgps.wialon.constants
5
-
6
- .. autoclass:: WialonLogAction
4
+ .. automodule:: terminusgps.wialon.constants
7
5
  :members:
8
6
 
9
- .. autodata:: ACCESSMASK_RESOURCE_BASIC
10
-
11
- .. autodata:: ACCESSMASK_UNIT_BASIC
12
-
13
- .. autodata:: ACCESSMASK_UNIT_MIGRATION
14
-
15
7
  .. currentmodule:: terminusgps.wialon.flags
16
8
 
17
9
  .. autoclass:: AccessFlag
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-terminusgps"
3
- version = "48.0.0"
3
+ version = "48.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" } ]
@@ -2,6 +2,76 @@ import enum
2
2
 
3
3
  from . import flags
4
4
 
5
+ WialonMonthDayMask = enum.IntEnum(
6
+ "WialonMonthDayMask",
7
+ {
8
+ f"DAY_{day}": mask
9
+ for day, mask in {
10
+ 1: 2**0,
11
+ 2: 2**1,
12
+ 3: 2**2,
13
+ 4: 2**3,
14
+ 5: 2**4,
15
+ 6: 2**5,
16
+ 7: 2**6,
17
+ 8: 2**7,
18
+ 9: 2**8,
19
+ 10: 2**9,
20
+ 11: 2**10,
21
+ 12: 2**11,
22
+ 13: 2**12,
23
+ 14: 2**13,
24
+ 15: 2**14,
25
+ 16: 2**15,
26
+ 17: 2**16,
27
+ 18: 2**17,
28
+ 19: 2**18,
29
+ 20: 2**19,
30
+ 21: 2**20,
31
+ 22: 2**21,
32
+ 23: 2**22,
33
+ 24: 2**23,
34
+ 25: 2**24,
35
+ 26: 2**25,
36
+ 27: 2**26,
37
+ 28: 2**27,
38
+ 29: 2**28,
39
+ 30: 2**29,
40
+ 31: 2**30,
41
+ }.items()
42
+ },
43
+ )
44
+ """Wialon day of the month mask."""
45
+
46
+
47
+ class WialonMonthMask(enum.IntEnum):
48
+ """Wialon month mask."""
49
+
50
+ JANUARY = 2**0
51
+ FEBRUARY = 2**1
52
+ MARCH = 2**2
53
+ APRIL = 2**3
54
+ MAY = 2**4
55
+ JUNE = 2**5
56
+ JULY = 2**6
57
+ AUGUST = 2**7
58
+ SEPTEMBER = 2**8
59
+ OCTOBER = 2**9
60
+ NOVEMBER = 2**10
61
+ DECEMBER = 2**11
62
+
63
+
64
+ class WialonWeekDayMask(enum.IntEnum):
65
+ """Wialon day of the week mask."""
66
+
67
+ MONDAY = 2**0
68
+ TUESDAY = 2**1
69
+ WEDNESDAY = 2**2
70
+ THURSDAY = 2**3
71
+ FRIDAY = 2**4
72
+ SATURDAY = 2**5
73
+ SUNDAY = 2**6
74
+
5
75
 
6
76
  class WialonLogAction(enum.StrEnum):
7
77
  """Wialon `log actions <https://wialon-help.link/28412fdb>`_."""
@@ -83,9 +83,9 @@ def get_notifications(
83
83
  +----------+----------------+------------------------------------------------------------------+
84
84
  | ``"t2"`` | :py:obj:`int` | End of interval 2 (minutes from midnight) |
85
85
  +----------+----------------+------------------------------------------------------------------+
86
- | ``"m"`` | :py:obj:`int` | Mask of the days of the month (1: 2:\ sup:`0`, 31: 2\ :sup:`30`) |
86
+ | ``"m"`` | :py:obj:`int` | Mask of the days of the month (1: 2\ :sup:`0`, 31: 2\ :sup:`30`) |
87
87
  +----------+----------------+------------------------------------------------------------------+
88
- | ``"y"`` | :py:obj:`int` | Mask of months (Jan: 2\ :sup:`0`, Dec: 2:\ sup:`11`) |
88
+ | ``"y"`` | :py:obj:`int` | Mask of months (Jan: 2\ :sup:`0`, Dec: 2\ :sup:`11`) |
89
89
  +----------+----------------+------------------------------------------------------------------+
90
90
  | ``"w"`` | :py:obj:`int` | Mask of days of the week (Mon: 2\ :sup:`0`, Sun: 2\ :sup:`6`) |
91
91
  +----------+----------------+------------------------------------------------------------------+
@@ -338,7 +338,7 @@ wheels = [
338
338
 
339
339
  [[package]]
340
340
  name = "python-terminusgps"
341
- version = "48.0.0"
341
+ version = "48.1.0"
342
342
  source = { editable = "." }
343
343
  dependencies = [
344
344
  { name = "authorizenet" },