python-terminusgps 1.10.0__tar.gz → 1.10.1__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 (36) hide show
  1. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/PKG-INFO +1 -1
  2. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/pyproject.toml +1 -1
  3. python_terminusgps-1.10.1/terminusgps/__init__.py +20 -0
  4. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/auth.py +0 -8
  5. python_terminusgps-1.10.1/terminusgps/twilio/__init__.py +1 -0
  6. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/twilio/caller.py +1 -10
  7. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/constants.py +1 -0
  8. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/base.py +1 -0
  9. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/user.py +1 -2
  10. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/session.py +0 -5
  11. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/utils.py +0 -1
  12. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/uv.lock +1 -1
  13. python_terminusgps-1.10.0/requirements.txt +0 -50
  14. python_terminusgps-1.10.0/terminusgps/twilio/__init__.py +0 -0
  15. python_terminusgps-1.10.0/terminusgps/wialon/__init__.py +0 -0
  16. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/.gitignore +0 -0
  17. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/COPYING +0 -0
  18. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/README.md +0 -0
  19. {python_terminusgps-1.10.0/terminusgps → python_terminusgps-1.10.1/terminusgps/authorizenet}/__init__.py +0 -0
  20. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/profiles/__init__.py +0 -0
  21. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/profiles/addresses.py +0 -0
  22. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/profiles/base.py +0 -0
  23. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/profiles/customers.py +0 -0
  24. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/authorizenet/profiles/payments.py +0 -0
  25. {python_terminusgps-1.10.0/terminusgps/authorizenet → python_terminusgps-1.10.1/terminusgps/aws}/__init__.py +0 -0
  26. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/aws/secrets.py +0 -0
  27. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/settings.py +0 -0
  28. {python_terminusgps-1.10.0/terminusgps/aws → python_terminusgps-1.10.1/terminusgps/wialon}/__init__.py +0 -0
  29. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/errors.py +0 -0
  30. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/flags.py +0 -0
  31. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/__init__.py +0 -0
  32. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/resource.py +0 -0
  33. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/retranslator.py +0 -0
  34. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/route.py +0 -0
  35. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/unit.py +0 -0
  36. {python_terminusgps-1.10.0 → python_terminusgps-1.10.1}/terminusgps/wialon/items/unit_group.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 1.10.0
3
+ Version: 1.10.1
4
4
  Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
5
5
  Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-terminusgps"
3
- version = "1.10.0"
3
+ version = "1.10.1"
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" } ]
@@ -0,0 +1,20 @@
1
+ from django.conf import settings, ImproperlyConfigured
2
+
3
+ if not hasattr(settings, "DEBUG"):
4
+ raise ImproperlyConfigured("'DEBUG' setting is required.")
5
+ if not hasattr(settings, "MERCHANT_AUTH_LOGIN_ID"):
6
+ raise ImproperlyConfigured("'MERCHANT_AUTH_LOGIN_ID' setting is required.")
7
+ if not hasattr(settings, "MERCHANT_AUTH_TRANSACTION_KEY"):
8
+ raise ImproperlyConfigured("'MERCHANT_AUTH_TRANSACTION_KEY' setting is required.")
9
+ if not hasattr(settings, "TWILIO_FROM_NUMBER"):
10
+ raise ImproperlyConfigured("'TWILIO_FROM_NUMBER' setting is required.")
11
+ if not hasattr(settings, "TWILIO_MESSAGING_SID"):
12
+ raise ImproperlyConfigured("'TWILIO_MESSAGING_SID' setting is required.")
13
+ if not hasattr(settings, "TWILIO_SID"):
14
+ raise ImproperlyConfigured("'TWILIO_SID' setting is required.")
15
+ if not hasattr(settings, "TWILIO_TOKEN"):
16
+ raise ImproperlyConfigured("'TWILIO_TOKEN' setting is required.")
17
+ if not hasattr(settings, "WIALON_TOKEN"):
18
+ raise ImproperlyConfigured("'WIALON_TOKEN' setting is required.")
19
+ if not hasattr(settings, "WIALON_ADMIN_ID"):
20
+ raise ImproperlyConfigured("'WIALON_ADMIN_ID' setting is required.")
@@ -2,14 +2,6 @@ from authorizenet.apicontractsv1 import merchantAuthenticationType
2
2
  from authorizenet.constants import constants
3
3
 
4
4
  from django.conf import settings
5
- from django.core.exceptions import ImproperlyConfigured
6
-
7
- if not hasattr(settings, "DEBUG"):
8
- raise ImproperlyConfigured("'DEBUG' setting is required.")
9
- if not hasattr(settings, "MERCHANT_AUTH_LOGIN_ID"):
10
- raise ImproperlyConfigured("'MERCHANT_AUTH_LOGIN_ID' setting is required.")
11
- if not hasattr(settings, "MERCHANT_AUTH_TRANSACTION_KEY"):
12
- raise ImproperlyConfigured("'MERCHANT_AUTH_TRANSACTION_KEY' setting is required.")
13
5
 
14
6
 
15
7
  def get_merchant_auth() -> merchantAuthenticationType:
@@ -0,0 +1 @@
1
+ from .caller import TwilioCaller
@@ -3,18 +3,9 @@ from typing import Any
3
3
  import asyncio
4
4
  import twilio.rest
5
5
 
6
- from django.conf import settings, ImproperlyConfigured
6
+ from django.conf import settings
7
7
  from twilio.http.async_http_client import AsyncTwilioHttpClient
8
8
 
9
- if not hasattr(settings, "TWILIO_FROM_NUMBER"):
10
- raise ImproperlyConfigured("'TWILIO_FROM_NUMBER' setting is required.")
11
- if not hasattr(settings, "TWILIO_MESSAGING_SID"):
12
- raise ImproperlyConfigured("'TWILIO_MESSAGING_SID' setting is required.")
13
- if not hasattr(settings, "TWILIO_SID"):
14
- raise ImproperlyConfigured("'TWILIO_SID' setting is required.")
15
- if not hasattr(settings, "TWILIO_TOKEN"):
16
- raise ImproperlyConfigured("'TWILIO_TOKEN' setting is required.")
17
-
18
9
 
19
10
  class TwilioCaller:
20
11
  def __init__(self) -> None:
@@ -1,5 +1,6 @@
1
1
  from django.db import models
2
2
  from django.utils.translation import gettext_lazy as _
3
+
3
4
  from terminusgps.wialon import flags
4
5
 
5
6
 
@@ -1,4 +1,5 @@
1
1
  from abc import abstractmethod
2
+
2
3
  from terminusgps.wialon import flags
3
4
  from terminusgps.wialon.session import WialonSession
4
5
 
@@ -1,8 +1,7 @@
1
1
  from urllib.parse import quote_plus
2
2
 
3
- from terminusgps.wialon import flags
3
+ from terminusgps.wialon import constants, flags
4
4
  from terminusgps.wialon.items.base import WialonBase
5
- from terminusgps.wialon import constants
6
5
 
7
6
 
8
7
  class WialonUser(WialonBase):
@@ -2,7 +2,6 @@ import threading
2
2
 
3
3
  from wialon.api import Wialon, WialonError
4
4
  from django.conf import settings
5
- from django.core.exceptions import ImproperlyConfigured
6
5
 
7
6
  from .errors import (
8
7
  WialonLogoutError,
@@ -34,10 +33,6 @@ class WialonSession:
34
33
  :rtype: :py:obj:`None`
35
34
 
36
35
  """
37
- if not hasattr(settings, "WIALON_TOKEN"):
38
- raise ImproperlyConfigured("'WIALON_TOKEN' setting is required.")
39
- if not hasattr(settings, "WIALON_ADMIN_ID"):
40
- raise ImproperlyConfigured("'WIALON_ADMIN_ID' setting is required.")
41
36
 
42
37
  self.wialon_api = Wialon(scheme=scheme, host=host, port=port, sid=sid)
43
38
  self.token = token
@@ -1,4 +1,3 @@
1
- from enum import Enum
2
1
  import secrets
3
2
  import string
4
3
 
@@ -504,7 +504,7 @@ wheels = [
504
504
 
505
505
  [[package]]
506
506
  name = "python-terminusgps"
507
- version = "1.10.0"
507
+ version = "1.10.1"
508
508
  source = { editable = "." }
509
509
  dependencies = [
510
510
  { name = "argparse" },
@@ -1,50 +0,0 @@
1
- # This file was autogenerated by uv via the following command:
2
- # uv pip compile pyproject.toml -o requirements.txt
3
- argparse==1.4.0
4
- # via python-terminusgps (pyproject.toml)
5
- asgiref==3.8.1
6
- # via django
7
- authorizenet==1.1.5
8
- # via python-terminusgps (pyproject.toml)
9
- boto3==1.35.80
10
- # via python-terminusgps (pyproject.toml)
11
- botocore==1.35.80
12
- # via
13
- # boto3
14
- # s3transfer
15
- certifi==2024.8.30
16
- # via requests
17
- charset-normalizer==3.4.0
18
- # via requests
19
- django==5.1.4
20
- # via python-terminusgps (pyproject.toml)
21
- future==1.0.0
22
- # via python-wialon
23
- idna==3.10
24
- # via requests
25
- jmespath==1.0.1
26
- # via
27
- # boto3
28
- # botocore
29
- lxml==4.9.4
30
- # via authorizenet
31
- python-dateutil==2.9.0.post0
32
- # via botocore
33
- python-wialon==1.2.4
34
- # via python-terminusgps (pyproject.toml)
35
- pyxb-x==1.2.6.2
36
- # via authorizenet
37
- requests==2.32.3
38
- # via authorizenet
39
- s3transfer==0.10.4
40
- # via boto3
41
- simplejson==3.19.3
42
- # via python-wialon
43
- six==1.17.0
44
- # via python-dateutil
45
- sqlparse==0.5.3
46
- # via django
47
- urllib3==2.2.3
48
- # via
49
- # botocore
50
- # requests
File without changes
File without changes