python-terminusgps 47.1.3__tar.gz → 47.2.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-47.1.3 → python_terminusgps-47.2.0}/PKG-INFO +1 -1
  2. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/conf.py +1 -1
  3. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/pyproject.toml +1 -1
  4. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/validators.py +10 -0
  5. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/uv.lock +4 -4
  6. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/.github/workflows/sphinx.yml +0 -0
  7. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/.gitignore +0 -0
  8. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/.python-version +0 -0
  9. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/COPYING +0 -0
  10. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/README.md +0 -0
  11. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/Makefile +0 -0
  12. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/make.bat +0 -0
  13. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/requirements.txt +0 -0
  14. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/authorizenet/api.rst +0 -0
  15. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/authorizenet/constants.rst +0 -0
  16. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/authorizenet/index.rst +0 -0
  17. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/authorizenet/service.rst +0 -0
  18. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/index.rst +0 -0
  19. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/mixins.rst +0 -0
  20. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/validators.rst +0 -0
  21. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/constants.rst +0 -0
  22. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/exceptions.rst +0 -0
  23. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/index.rst +0 -0
  24. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/items.rst +0 -0
  25. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/session.rst +0 -0
  26. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/usage.rst +0 -0
  27. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/docs/source/wialon/utils.rst +0 -0
  28. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/__init__.py +0 -0
  29. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/__init__.py +0 -0
  30. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/__init__.py +0 -0
  31. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/address_profiles.py +0 -0
  32. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/customer_profiles.py +0 -0
  33. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/payment_profiles.py +0 -0
  34. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/subscriptions.py +0 -0
  35. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/api/transactions.py +0 -0
  36. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/constants.py +0 -0
  37. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/authorizenet/service.py +0 -0
  38. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/default_settings.py +0 -0
  39. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/mixins.py +0 -0
  40. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/__init__.py +0 -0
  41. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/constants.py +0 -0
  42. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/flags.py +0 -0
  43. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/__init__.py +0 -0
  44. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/account.py +0 -0
  45. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/base.py +0 -0
  46. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/factory.py +0 -0
  47. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/resource.py +0 -0
  48. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/retranslator.py +0 -0
  49. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/route.py +0 -0
  50. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/unit.py +0 -0
  51. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/unit_group.py +0 -0
  52. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/items/user.py +0 -0
  53. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/session.py +0 -0
  54. {python_terminusgps-47.1.3 → python_terminusgps-47.2.0}/terminusgps/wialon/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 47.1.3
3
+ Version: 47.2.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 = "47.1.3"
15
+ release = "47.2.0"
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.1.3"
3
+ version = "47.2.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" } ]
@@ -7,6 +7,16 @@ from django.utils.translation import gettext_lazy as _
7
7
  VALID_COUNTRY_CODES = ("+1", "+52")
8
8
 
9
9
 
10
+ def validate_is_digit(value: str) -> None:
11
+ """Raises :py:exc:`django.core.exceptions.ValidationError` if the value contained non-digit characters."""
12
+ if not value.isdigit():
13
+ raise ValidationError(
14
+ _("Value can only contain digits, got '%(value)s'."),
15
+ code="invalid",
16
+ params={"value": value},
17
+ )
18
+
19
+
10
20
  def validate_e164_phone_number(value: str) -> None:
11
21
  """
12
22
  Raises :py:exc:`~django.core.exceptions.ValidationError` if the value is not a valid `E.164 <https://en.wikipedia.org/wiki/E.164>`_ formatted phone number.
@@ -188,11 +188,11 @@ wheels = [
188
188
 
189
189
  [[package]]
190
190
  name = "idna"
191
- version = "3.10"
191
+ version = "3.11"
192
192
  source = { registry = "https://pypi.org/simple" }
193
- sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490 }
193
+ sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582 }
194
194
  wheels = [
195
- { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 },
195
+ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008 },
196
196
  ]
197
197
 
198
198
  [[package]]
@@ -323,7 +323,7 @@ wheels = [
323
323
 
324
324
  [[package]]
325
325
  name = "python-terminusgps"
326
- version = "47.1.3"
326
+ version = "47.2.0"
327
327
  source = { editable = "." }
328
328
  dependencies = [
329
329
  { name = "authorizenet" },