python-terminusgps 1.1.2__tar.gz → 1.1.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.
Files changed (26) hide show
  1. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/PKG-INFO +1 -1
  2. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/pyproject.toml +1 -1
  3. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/session.py +3 -1
  4. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/utils.py +2 -2
  5. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/.gitignore +0 -0
  6. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/COPYING +0 -0
  7. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/README.md +0 -0
  8. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/requirements.txt +0 -0
  9. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/__init__.py +0 -0
  10. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/authorizenet/__init__.py +0 -0
  11. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/authorizenet/auth.py +0 -0
  12. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/aws/__init__.py +0 -0
  13. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/aws/secrets.py +0 -0
  14. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/__init__.py +0 -0
  15. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/constants.py +0 -0
  16. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/errors.py +0 -0
  17. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/flags.py +0 -0
  18. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/__init__.py +0 -0
  19. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/base.py +0 -0
  20. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/resource.py +0 -0
  21. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/retranslator.py +0 -0
  22. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/route.py +0 -0
  23. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/unit.py +0 -0
  24. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/unit_group.py +0 -0
  25. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/terminusgps/wialon/items/user.py +0 -0
  26. {python_terminusgps-1.1.2 → python_terminusgps-1.1.3}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-terminusgps
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
5
5
  Author-email: Blake Nall <blake@terminusgps.com>
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-terminusgps"
3
- version = "1.1.2"
3
+ version = "1.1.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" } ]
@@ -1,6 +1,8 @@
1
1
  import os
2
+
2
3
  from wialon.api import Wialon, WialonError
3
- from terminusgps.wialon.errors import WialonLogoutError, WialonLoginError
4
+
5
+ from .errors import WialonLogoutError, WialonLoginError
4
6
 
5
7
 
6
8
  class WialonSession:
@@ -1,8 +1,8 @@
1
1
  import secrets
2
2
  import string
3
- import flags
4
3
 
5
4
  from .session import WialonSession
5
+ from .flags import DATAFLAG_UNIT_BASE
6
6
 
7
7
 
8
8
  def is_unique(value: str, session: WialonSession, items_type: str = "avl_unit") -> bool:
@@ -45,7 +45,7 @@ def get_id_from_iccid(iccid: str, session: WialonSession) -> str | None:
45
45
  "or_logic": 0,
46
46
  },
47
47
  "force": 0,
48
- "flags": flags.DATAFLAG_UNIT_BASE,
48
+ "flags": DATAFLAG_UNIT_BASE,
49
49
  "from": 0,
50
50
  "to": 0,
51
51
  }