python-terminusgps 42.2.0__tar.gz → 42.2.2__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.

Files changed (70) hide show
  1. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/PKG-INFO +1 -1
  2. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/conf.py +1 -1
  3. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/pyproject.toml +1 -1
  4. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/validators.py +4 -4
  5. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/factory.py +2 -1
  6. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/resource.py +5 -3
  7. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/uv.lock +13 -13
  8. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/.gitignore +0 -0
  9. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/COPYING +0 -0
  10. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/README.md +0 -0
  11. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/Makefile +0 -0
  12. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/make.bat +0 -0
  13. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/auth.rst +0 -0
  14. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/constants.rst +0 -0
  15. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/controllers.rst +0 -0
  16. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/examples.rst +0 -0
  17. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/index.rst +0 -0
  18. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/profiles.rst +0 -0
  19. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/subscriptions.rst +0 -0
  20. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/utils.rst +0 -0
  21. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/authorizenet/validators.rst +0 -0
  22. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/django/forms.rst +0 -0
  23. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/django/index.rst +0 -0
  24. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/django/mixins.rst +0 -0
  25. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/django/settings.rst +0 -0
  26. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/django/validators.rst +0 -0
  27. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/index.rst +0 -0
  28. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/constants.rst +0 -0
  29. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/errors.rst +0 -0
  30. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/examples.rst +0 -0
  31. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/flags.rst +0 -0
  32. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/index.rst +0 -0
  33. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/items.rst +0 -0
  34. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/session.rst +0 -0
  35. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/docs/source/wialon/utils.rst +0 -0
  36. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/__init__.py +0 -0
  37. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/__init__.py +0 -0
  38. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/auth.py +0 -0
  39. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/constants.py +0 -0
  40. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/controllers.py +0 -0
  41. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/profiles/__init__.py +0 -0
  42. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/profiles/addresses.py +0 -0
  43. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/profiles/customers.py +0 -0
  44. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/profiles/payments.py +0 -0
  45. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/subscriptions.py +0 -0
  46. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/utils.py +0 -0
  47. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/authorizenet/validators.py +0 -0
  48. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/__init__.py +0 -0
  49. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/forms/__init__.py +0 -0
  50. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/forms/fields.py +0 -0
  51. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/forms/forms.py +0 -0
  52. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/forms/renderer.py +0 -0
  53. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/forms/widgets.py +0 -0
  54. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/mixins.py +0 -0
  55. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/settings.py +0 -0
  56. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/django/utils.py +0 -0
  57. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/__init__.py +0 -0
  58. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/constants.py +0 -0
  59. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/flags.py +0 -0
  60. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/__init__.py +0 -0
  61. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/account.py +0 -0
  62. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/base.py +0 -0
  63. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/retranslator.py +0 -0
  64. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/route.py +0 -0
  65. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/unit.py +0 -0
  66. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/unit_group.py +0 -0
  67. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/items/user.py +0 -0
  68. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/session.py +0 -0
  69. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/utils.py +0 -0
  70. {python_terminusgps-42.2.0 → python_terminusgps-42.2.2}/terminusgps/wialon/validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 42.2.0
3
+ Version: 42.2.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://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.2.0"
21
+ release = "42.2.2"
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.2.0"
3
+ version = "42.2.2"
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" } ]
@@ -30,18 +30,18 @@ def validate_e164_phone_number(value: str) -> None:
30
30
  code="invalid",
31
31
  params={"value": value},
32
32
  )
33
- if len(value) < 12:
33
+ if len(value) < 13:
34
34
  raise ValidationError(
35
35
  _(
36
- "E.164 phone number cannot be less than 12 characters in length, got %(len)s."
36
+ "E.164 phone number cannot be less than 13 characters in length, got %(len)s."
37
37
  ),
38
38
  code="invalid",
39
39
  params={"len": len(value)},
40
40
  )
41
- if len(value) > 15:
41
+ if len(value) > 16:
42
42
  raise ValidationError(
43
43
  _(
44
- "E.164 phone number cannot be greater than 15 characters in length, got %(len)s."
44
+ "E.164 phone number cannot be greater than 16 characters in length, got %(len)s."
45
45
  ),
46
46
  code="invalid",
47
47
  params={"len": len(value)},
@@ -112,4 +112,5 @@ class WialonObjectFactory:
112
112
  return obj
113
113
 
114
114
  def _retrieve_wialon_obj(self, cls, id) -> WialonObject:
115
- return cls(session=self.session, id=int(id))
115
+ obj = cls(session=self.session, id=int(id))
116
+ return obj
@@ -104,9 +104,11 @@ class WialonResource(WialonObject):
104
104
  )
105
105
 
106
106
  @requires_id
107
- def get_creator_id(self) -> str:
108
- return str(
107
+ def get_creator_id(self) -> str | None:
108
+ return (
109
109
  self.session.wialon_api.core_search_item(
110
110
  **{"id": self.id, "flags": flags.DataFlag.RESOURCE_BILLING_PROPERTIES}
111
- ).get("crt")
111
+ )
112
+ .get("item", {})
113
+ .get("crt")
112
114
  )
@@ -55,15 +55,15 @@ wheels = [
55
55
 
56
56
  [[package]]
57
57
  name = "beautifulsoup4"
58
- version = "4.13.4"
58
+ version = "4.13.5"
59
59
  source = { registry = "https://pypi.org/simple" }
60
60
  dependencies = [
61
61
  { name = "soupsieve" },
62
62
  { name = "typing-extensions" },
63
63
  ]
64
- sdist = { url = "https://files.pythonhosted.org/packages/d8/e4/0c4c39e18fd76d6a628d4dd8da40543d136ce2d1752bd6eeeab0791f4d6b/beautifulsoup4-4.13.4.tar.gz", hash = "sha256:dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195", size = 621067 }
64
+ sdist = { url = "https://files.pythonhosted.org/packages/85/2e/3e5079847e653b1f6dc647aa24549d68c6addb4c595cc0d902d1b19308ad/beautifulsoup4-4.13.5.tar.gz", hash = "sha256:5e70131382930e7c3de33450a2f54a63d5e4b19386eab43a5b34d594268f3695", size = 622954 }
65
65
  wheels = [
66
- { url = "https://files.pythonhosted.org/packages/50/cd/30110dc0ffcf3b131156077b90e9f60ed75711223f306da4db08eff8403b/beautifulsoup4-4.13.4-py3-none-any.whl", hash = "sha256:9bbbb14bfde9d79f38b8cd5f8c7c85f4b8f2523190ebed90e950a8dea4cb1c4b", size = 187285 },
66
+ { url = "https://files.pythonhosted.org/packages/04/eb/f4151e0c7377a6e08a38108609ba5cede57986802757848688aeedd1b9e8/beautifulsoup4-4.13.5-py3-none-any.whl", hash = "sha256:642085eaa22233aceadff9c69651bc51e8bf3f874fb6d7104ece2beb24b47c4a", size = 105113 },
67
67
  ]
68
68
 
69
69
  [[package]]
@@ -298,7 +298,7 @@ wheels = [
298
298
 
299
299
  [[package]]
300
300
  name = "python-terminusgps"
301
- version = "42.2.0"
301
+ version = "42.2.2"
302
302
  source = { editable = "." }
303
303
  dependencies = [
304
304
  { name = "authorizenet" },
@@ -421,11 +421,11 @@ wheels = [
421
421
 
422
422
  [[package]]
423
423
  name = "soupsieve"
424
- version = "2.7"
424
+ version = "2.8"
425
425
  source = { registry = "https://pypi.org/simple" }
426
- sdist = { url = "https://files.pythonhosted.org/packages/3f/f4/4a80cd6ef364b2e8b65b15816a843c0980f7a5a2b4dc701fc574952aa19f/soupsieve-2.7.tar.gz", hash = "sha256:ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a", size = 103418 }
426
+ sdist = { url = "https://files.pythonhosted.org/packages/6d/e6/21ccce3262dd4889aa3332e5a119a3491a95e8f60939870a3a035aabac0d/soupsieve-2.8.tar.gz", hash = "sha256:e2dd4a40a628cb5f28f6d4b0db8800b8f581b65bb380b97de22ba5ca8d72572f", size = 103472 }
427
427
  wheels = [
428
- { url = "https://files.pythonhosted.org/packages/e7/9c/0e6afc12c269578be5c0c1c9f4b49a8d32770a080260c333ac04cc1c832d/soupsieve-2.7-py3-none-any.whl", hash = "sha256:6e60cc5c1ffaf1cebcc12e8188320b72071e922c2e897f737cadce79ad5d30c4", size = 36677 },
428
+ { url = "https://files.pythonhosted.org/packages/14/a0/bb38d3b76b8cae341dad93a2dd83ab7462e6dbcdd84d43f54ee60a8dc167/soupsieve-2.8-py3-none-any.whl", hash = "sha256:0cc76456a30e20f5d7f2e14a98a4ae2ee4e5abdc7c5ea0aafe795f344bc7984c", size = 36679 },
429
429
  ]
430
430
 
431
431
  [[package]]
@@ -534,20 +534,20 @@ wheels = [
534
534
 
535
535
  [[package]]
536
536
  name = "types-pyyaml"
537
- version = "6.0.12.20250809"
537
+ version = "6.0.12.20250822"
538
538
  source = { registry = "https://pypi.org/simple" }
539
- sdist = { url = "https://files.pythonhosted.org/packages/36/21/52ffdbddea3c826bc2758d811ccd7f766912de009c5cf096bd5ebba44680/types_pyyaml-6.0.12.20250809.tar.gz", hash = "sha256:af4a1aca028f18e75297da2ee0da465f799627370d74073e96fee876524f61b5", size = 17385 }
539
+ sdist = { url = "https://files.pythonhosted.org/packages/49/85/90a442e538359ab5c9e30de415006fb22567aa4301c908c09f19e42975c2/types_pyyaml-6.0.12.20250822.tar.gz", hash = "sha256:259f1d93079d335730a9db7cff2bcaf65d7e04b4a56b5927d49a612199b59413", size = 17481 }
540
540
  wheels = [
541
- { url = "https://files.pythonhosted.org/packages/35/3e/0346d09d6e338401ebf406f12eaf9d0b54b315b86f1ec29e34f1a0aedae9/types_pyyaml-6.0.12.20250809-py3-none-any.whl", hash = "sha256:032b6003b798e7de1a1ddfeefee32fac6486bdfe4845e0ae0e7fb3ee4512b52f", size = 20277 },
541
+ { url = "https://files.pythonhosted.org/packages/32/8e/8f0aca667c97c0d76024b37cffa39e76e2ce39ca54a38f285a64e6ae33ba/types_pyyaml-6.0.12.20250822-py3-none-any.whl", hash = "sha256:1fe1a5e146aa315483592d292b72a172b65b946a6d98aa6ddd8e4aa838ab7098", size = 20314 },
542
542
  ]
543
543
 
544
544
  [[package]]
545
545
  name = "typing-extensions"
546
- version = "4.14.1"
546
+ version = "4.15.0"
547
547
  source = { registry = "https://pypi.org/simple" }
548
- sdist = { url = "https://files.pythonhosted.org/packages/98/5a/da40306b885cc8c09109dc2e1abd358d5684b1425678151cdaed4731c822/typing_extensions-4.14.1.tar.gz", hash = "sha256:38b39f4aeeab64884ce9f74c94263ef78f3c22467c8724005483154c26648d36", size = 107673 }
548
+ sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391 }
549
549
  wheels = [
550
- { url = "https://files.pythonhosted.org/packages/b5/00/d631e67a838026495268c2f6884f3711a15a9a2a96cd244fdaea53b823fb/typing_extensions-4.14.1-py3-none-any.whl", hash = "sha256:d1e1e3b58374dc93031d6eda2420a48ea44a36c2b4766a4fdeb3710755731d76", size = 43906 },
550
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614 },
551
551
  ]
552
552
 
553
553
  [[package]]