dynamsoft-barcode-reader-bundle 11.4.1000__cp314-cp314-macosx_12_0_universal2.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.
Files changed (37) hide show
  1. dynamsoft_barcode_reader_bundle/Models/Code128Decoder.data +0 -0
  2. dynamsoft_barcode_reader_bundle/Models/Code39ITFDecoder.data +0 -0
  3. dynamsoft_barcode_reader_bundle/Models/DataMatrixQRCodeDeblur.data +0 -0
  4. dynamsoft_barcode_reader_bundle/Models/DataMatrixQRCodeLocalization.data +0 -0
  5. dynamsoft_barcode_reader_bundle/Models/EAN13Decoder.data +0 -0
  6. dynamsoft_barcode_reader_bundle/Models/OneDDeblur.data +0 -0
  7. dynamsoft_barcode_reader_bundle/Models/OneDLocalization.data +0 -0
  8. dynamsoft_barcode_reader_bundle/Models/PDF417Deblur.data +0 -0
  9. dynamsoft_barcode_reader_bundle/Models/PDF417Localization.data +0 -0
  10. dynamsoft_barcode_reader_bundle/Templates/DBR-PresetTemplates.json +546 -0
  11. dynamsoft_barcode_reader_bundle/_DynamsoftBarcodeReader.cpython-314-darwin.so +0 -0
  12. dynamsoft_barcode_reader_bundle/_DynamsoftCaptureVisionRouter.cpython-314-darwin.so +0 -0
  13. dynamsoft_barcode_reader_bundle/_DynamsoftCore.cpython-314-darwin.so +0 -0
  14. dynamsoft_barcode_reader_bundle/_DynamsoftImageProcessing.cpython-314-darwin.so +0 -0
  15. dynamsoft_barcode_reader_bundle/_DynamsoftLicense.cpython-314-darwin.so +0 -0
  16. dynamsoft_barcode_reader_bundle/_DynamsoftUtility.cpython-314-darwin.so +0 -0
  17. dynamsoft_barcode_reader_bundle/__init__.py +8 -0
  18. dynamsoft_barcode_reader_bundle/core.py +2785 -0
  19. dynamsoft_barcode_reader_bundle/cvr.py +1347 -0
  20. dynamsoft_barcode_reader_bundle/dbr.py +1223 -0
  21. dynamsoft_barcode_reader_bundle/dip.py +24 -0
  22. dynamsoft_barcode_reader_bundle/dnn.py +24 -0
  23. dynamsoft_barcode_reader_bundle/libDynamicPdf.dylib +0 -0
  24. dynamsoft_barcode_reader_bundle/libDynamsoftBarcodeReader.dylib +0 -0
  25. dynamsoft_barcode_reader_bundle/libDynamsoftCaptureVisionRouter.dylib +0 -0
  26. dynamsoft_barcode_reader_bundle/libDynamsoftCore.dylib +0 -0
  27. dynamsoft_barcode_reader_bundle/libDynamsoftImageProcessing.dylib +0 -0
  28. dynamsoft_barcode_reader_bundle/libDynamsoftLicense.dylib +0 -0
  29. dynamsoft_barcode_reader_bundle/libDynamsoftNeuralNetwork.dylib +0 -0
  30. dynamsoft_barcode_reader_bundle/libDynamsoftUtility.dylib +0 -0
  31. dynamsoft_barcode_reader_bundle/license.py +146 -0
  32. dynamsoft_barcode_reader_bundle/utility.py +835 -0
  33. dynamsoft_barcode_reader_bundle-11.4.1000.dist-info/METADATA +181 -0
  34. dynamsoft_barcode_reader_bundle-11.4.1000.dist-info/RECORD +37 -0
  35. dynamsoft_barcode_reader_bundle-11.4.1000.dist-info/WHEEL +5 -0
  36. dynamsoft_barcode_reader_bundle-11.4.1000.dist-info/licenses/LICENSE.txt +1 -0
  37. dynamsoft_barcode_reader_bundle-11.4.1000.dist-info/top_level.txt +7 -0
@@ -0,0 +1,24 @@
1
+ __version__ = "3.0.30.7449"
2
+
3
+ if __package__ or "." in __name__:
4
+ from . import _DynamsoftImageProcessing
5
+ else:
6
+ import _DynamsoftImageProcessing
7
+
8
+
9
+ class DynamsoftImageProcessingModule:
10
+ """
11
+ The DynamsoftImageProcessingModule class represents the Dynamsoft Image Processing module.
12
+
13
+ Methods:
14
+ get_version() -> str: Gets the version of the Dynamsoft Image Processing module.
15
+ """
16
+ @staticmethod
17
+ def get_version() -> str:
18
+ """
19
+ Gets the version of the Dynamsoft Image Processing module.
20
+
21
+ Returns:
22
+ A string representing the version of the Dynamsoft Image Processing module.
23
+ """
24
+ return __version__ + " (Algorithm " + _DynamsoftImageProcessing.getversion() + ")"
@@ -0,0 +1,24 @@
1
+ __version__ = "2.0.30.7158"
2
+
3
+ if __package__ or "." in __name__:
4
+ from . import _DynamsoftNeuralNetwork
5
+ else:
6
+ import _DynamsoftNeuralNetwork
7
+
8
+
9
+ class DynamsoftNeuralNetworkModule:
10
+ """
11
+ The DynamsoftNeuralNetworkModule class represents the Dynamsoft Neural Network module.
12
+
13
+ Methods:
14
+ get_version() -> str: Gets the version of the Dynamsoft Neural Network module.
15
+ """
16
+ @staticmethod
17
+ def get_version() -> str:
18
+ """
19
+ Gets the version of the Dynamsoft Neural Network module.
20
+
21
+ Returns:
22
+ A string representing the version of the Dynamsoft Neural Network module.
23
+ """
24
+ return __version__ + " (Algorithm " + _DynamsoftNeuralNetwork.getversion() + ")"
@@ -0,0 +1,146 @@
1
+ __version__ = "4.0.30.7449"
2
+
3
+ if __package__ or "." in __name__:
4
+ from . import _DynamsoftLicense
5
+ else:
6
+ import _DynamsoftLicense
7
+ from typing import Tuple
8
+
9
+ class LicenseManager:
10
+ """
11
+ The LicenseManager class provides a set of APIs to manage SDK licensing.
12
+
13
+ Methods:
14
+ init_license(license: str) -> Tuple[int, str]: Initializes the license using a license key.
15
+ set_device_friendly_name(name: str) -> Tuple[int, str]: Sets the friendly name of the device.
16
+ set_max_concurrent_instance_count(count_for_this_device: int) -> Tuple[int, str]: Sets the maximum number of allowed instances for the given device and process.
17
+ get_device_uuid(uuid_generation_method: int) -> Tuple[int, str, str]: Gets the unique identifier of the device.
18
+ set_license_cache_path(directory_path: str) -> Tuple[int, str]: Sets the directory path for the license cache.
19
+ """
20
+ _thisown = property(
21
+ lambda self: self.this.own(),
22
+ lambda self, value: self.this.own(value),
23
+ doc="The membership flag",
24
+ )
25
+
26
+ @staticmethod
27
+ def init_license(license: str) -> Tuple[int, str]:
28
+ """
29
+ Initializes the license using a license key.
30
+
31
+ Args:
32
+ license (str): The license key as a string.
33
+
34
+ Returns:
35
+ A tuple containing following elements:
36
+ - error_code (int): The error code indicating the status of the operation.
37
+ - error_message <str>: A descriptive message explaining the error.
38
+ """
39
+ return _DynamsoftLicense.CLicenseManager_InitLicense(license)
40
+
41
+ @staticmethod
42
+ def set_device_friendly_name(name: str) -> Tuple[int, str]:
43
+ """
44
+ Sets the friendly name of the device.
45
+
46
+ Args:
47
+ name (str): The friendly name of the device.
48
+
49
+ Returns:
50
+ A tuple containing following elements:
51
+ - error_code (int): The error code indicating the status of the operation.
52
+ - error_message <str>: A descriptive message explaining the error.
53
+ """
54
+ return _DynamsoftLicense.CLicenseManager_SetDeviceFriendlyName(name)
55
+
56
+ @staticmethod
57
+ def set_max_concurrent_instance_count(count_for_this_device: int) -> Tuple[int, str]:
58
+ """
59
+ Sets the maximum number of allowed instances for the given device.
60
+
61
+ Args:
62
+ count_for_this_device (int): The maximum number of allowed instances for the device.
63
+
64
+ Returns:
65
+ A tuple containing following elements:
66
+ - error_code (int): The error code indicating the status of the operation.
67
+ - error_message <str>: A descriptive message explaining the error.
68
+ """
69
+ return _DynamsoftLicense.CLicenseManager_SetMaxConcurrentInstanceCount(
70
+ count_for_this_device
71
+ )
72
+
73
+ @staticmethod
74
+ def get_device_uuid(uuid_generation_method: int) -> Tuple[int, str, str]:
75
+ """
76
+ Gets the unique identifier of the device.
77
+
78
+ Args:
79
+ uuid_generation_method (int): The method to generate the UUID.
80
+ - 1: Generates UUID with random values.
81
+ - 2: Generates UUID based on hardware info.
82
+
83
+ Returns:
84
+ A tuple containing following elements:
85
+ - error_code (int): The error code indicating the status of the operation.
86
+ - error_message <str>: A descriptive message explaining the error.
87
+ - uuid <str>: The unique identifier of the device.
88
+ """
89
+ return _DynamsoftLicense.CLicenseManager_GetDeviceUUID(uuid_generation_method)
90
+
91
+ @staticmethod
92
+ def set_license_cache_path(directory_path: str) -> Tuple[int, str]:
93
+ """
94
+ Sets the directory path for the license cache.
95
+
96
+ Args:
97
+ directory_path (str): The directory path for the license cache.
98
+
99
+ Returns:
100
+ A tuple containing following elements:
101
+ - error_code (int): The error code indicating the status of the operation.
102
+ - error_message <str>: A descriptive message explaining the error.
103
+ """
104
+ return _DynamsoftLicense.CLicenseManager_SetLicenseCachePath(directory_path)
105
+
106
+ def __init__(self):
107
+ _DynamsoftLicense.Class_init(
108
+ self, _DynamsoftLicense.new_CLicenseManager()
109
+ )
110
+
111
+ __destroy__ = _DynamsoftLicense.delete_CLicenseManager
112
+
113
+
114
+ _DynamsoftLicense.CLicenseManager_register(LicenseManager)
115
+
116
+
117
+ class LicenseModule:
118
+ """
119
+ The LicenseModule class represents the Dynamsoft License module.
120
+
121
+ Methods:
122
+ get_version() -> str: Gets the version of the Dynamsoft License module.
123
+ """
124
+ _thisown = property(
125
+ lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag"
126
+ )
127
+
128
+ @staticmethod
129
+ def get_version() -> str:
130
+ """
131
+ Gets the version of the Dynamsoft License module.
132
+
133
+ Returns:
134
+ A string representing the version of the Dynamsoft License module.
135
+ """
136
+ return __version__ + " (Algorithm " + _DynamsoftLicense.CLicenseModule_GetVersion() + ")"
137
+
138
+ def __init__(self):
139
+ _DynamsoftLicense.Class_init(
140
+ self, _DynamsoftLicense.new_CLicenseModule()
141
+ )
142
+
143
+ __destroy__ = _DynamsoftLicense.delete_CLicenseModule
144
+
145
+
146
+ _DynamsoftLicense.CLicenseModule_register(LicenseModule)