python-terminusgps 29.0.0__py3-none-any.whl → 29.1.0__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-terminusgps
3
- Version: 29.0.0
3
+ Version: 29.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://app.terminusgps.com/docs/apps/python-terminusgps/index.html
6
6
  Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
@@ -17,7 +17,8 @@ Requires-Dist: authorizenet>=1.1.5
17
17
  Requires-Dist: boto3>=1.34.144
18
18
  Requires-Dist: django>=5.1.5
19
19
  Requires-Dist: matplotlib>=3.10.1
20
- Requires-Dist: opencv-python>=4.11.0.86
20
+ Requires-Dist: opencv-contrib-python-headless>=4.11.0.86
21
21
  Requires-Dist: pandas>=2.2.3
22
22
  Requires-Dist: python-wialon>=1.2.4
23
+ Requires-Dist: pyzbar>=0.1.9
23
24
  Requires-Dist: twilio>=9.4.5
@@ -1,6 +1,7 @@
1
1
  terminusgps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  terminusgps/mixins.py,sha256=jzs_dH_YDmohH86I3uPnN-66C9OPVXaDPVdRHXA6vdk,940
3
3
  terminusgps/settings.py,sha256=vY5yNjyMu-7Ya0bIPWUvrrSLERtxHGdkfeoY4Ul6cP0,613
4
+ terminusgps/utils.py,sha256=aMePBExcaNuipdpFiGvbDMmrNKavJh6BNOHcnHyPRS0,120
4
5
  terminusgps/validators.py,sha256=KxXw8NlN1-h1WN8RkWz_E8XI2imXb7dIQ6hVhhxctIg,3638
5
6
  terminusgps/authorizenet/__init__.py,sha256=LiGLlWNNiqS7RSOP4Apabx-b9EBYyNbxRY_a0mvJoaE,466
6
7
  terminusgps/authorizenet/auth.py,sha256=ICxPPzoUc64VbsIIemEWKrn8xjHGwbNdo2VbtaFCFss,1107
@@ -15,8 +16,6 @@ terminusgps/authorizenet/profiles/subscriptions.py,sha256=N4_0kbBBJ0FtKdIydN8FLn
15
16
  terminusgps/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
17
  terminusgps/aws/connect.py,sha256=TWf2bVz6LqSNQfVD7FKRn3K71VuLOwBj05Gs-9BsROg,693
17
18
  terminusgps/aws/secrets.py,sha256=MxQEmmBLpMUQ2tYAsHdCYf-7RZ84LiogdKcTsACX5dw,361
18
- terminusgps/opencv/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- terminusgps/opencv/barcode_scanner.py,sha256=VwebCfo-T0ORCdJ1YX46dVNt8HwwbtHQ-32m7tBbhH4,167
20
19
  terminusgps/twilio/__init__.py,sha256=dYo41F2jft_eHDWSUtSpKGSRG1bewq_qClqilUJZkYM,33
21
20
  terminusgps/twilio/caller.py,sha256=TiQ4f0TDDC35he1M1iSsBM2vutdGriwtV4pc17T--6I,3552
22
21
  terminusgps/twilio/validators.py,sha256=nn7CCBTktNjcln6M4MR0ACxEsClgioSu89LRLgIiBZk,1112
@@ -34,7 +33,7 @@ terminusgps/wialon/items/route.py,sha256=amNPKZqgl8pEzKA_XJudnvBPzEsfHTmrC7uF15s
34
33
  terminusgps/wialon/items/unit.py,sha256=0IjfQSnJqVHVDheVA7x_upDjepsvMIFdE2invmtcXgc,9377
35
34
  terminusgps/wialon/items/unit_group.py,sha256=QV2ZZgICaN3n6W1pFIyMLyNKB6KYBsLyKG64i-qXoOg,4113
36
35
  terminusgps/wialon/items/user.py,sha256=N30wdejdG7LXrgafdKZH74YArGkX3xpZfTucn3m3aqM,7155
37
- python_terminusgps-29.0.0.dist-info/METADATA,sha256=NErafOVNtPCzNAzrb-yTExNo2iJfDPjJ5mhRJio1R3M,1015
38
- python_terminusgps-29.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
39
- python_terminusgps-29.0.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
40
- python_terminusgps-29.0.0.dist-info/RECORD,,
36
+ python_terminusgps-29.1.0.dist-info/METADATA,sha256=YXcaiCL5St9dYusJO9VHKgGEQJqJBC-vmfKUyQr4vUw,1061
37
+ python_terminusgps-29.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ python_terminusgps-29.1.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
39
+ python_terminusgps-29.1.0.dist-info/RECORD,,
terminusgps/utils.py ADDED
@@ -0,0 +1,6 @@
1
+ import numpy as np
2
+ from pyzbar.pyzbar import decode
3
+
4
+
5
+ def scan_barcode(img: np.ndarray) -> list:
6
+ return decode(img)
File without changes
@@ -1,7 +0,0 @@
1
- import cv2 as cv
2
- import numpy as np
3
-
4
-
5
- def scan_barcode(img: np.ndarray) -> tuple:
6
- detector = cv.barcode.BarcodeDetector()
7
- return detector.detectAndDecode(img)