aspose-barcode-for-python-via-java 24.8.2__tar.gz → 24.9.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.
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/PKG-INFO +1 -1
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/aspose_barcode_for_python_via_java.egg-info/PKG-INFO +1 -1
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/aspose_barcode_for_python_via_java.egg-info/SOURCES.txt +1 -1
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/asposebarcode/ComplexBarcode.py +8 -9
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/asposebarcode/Generation.py +9 -7
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/asposebarcode/Recognition.py +29 -1
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/asposebarcode/__init__.py +1 -1
- aspose-barcode-for-python-via-java-24.8.2/asposebarcode/jlib/aspose-barcode-python-24.8.jar → aspose-barcode-for-python-via-java-24.9.0/asposebarcode/jlib/aspose-barcode-python-24.9.jar +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/setup.py +1 -1
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/MANIFEST.in +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/README.md +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/aspose_barcode_for_python_via_java.egg-info/dependency_links.txt +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/aspose_barcode_for_python_via_java.egg-info/requires.txt +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/aspose_barcode_for_python_via_java.egg-info/top_level.txt +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/asposebarcode/Assist.py +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/license/End+User+License+Agreement.html +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/license/ThirdPartyLicenses.Aspose.BarCode.Java.pdf +0 -0
- {aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/setup.cfg +0 -0
{aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aspose-barcode-for-python-via-java
|
|
3
|
-
Version: 24.
|
|
3
|
+
Version: 24.9.0
|
|
4
4
|
Summary: Barcode generation and recognition component. It allows developers to quickly and easily add barcode creation and scanning functionality to their Python applications.
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
Author: Aspose
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aspose-barcode-for-python-via-java
|
|
3
|
-
Version: 24.
|
|
3
|
+
Version: 24.9.0
|
|
4
4
|
Summary: Barcode generation and recognition component. It allows developers to quickly and easily add barcode creation and scanning functionality to their Python applications.
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
Author: Aspose
|
|
@@ -11,6 +11,6 @@ asposebarcode/ComplexBarcode.py
|
|
|
11
11
|
asposebarcode/Generation.py
|
|
12
12
|
asposebarcode/Recognition.py
|
|
13
13
|
asposebarcode/__init__.py
|
|
14
|
-
asposebarcode/jlib/aspose-barcode-python-24.
|
|
14
|
+
asposebarcode/jlib/aspose-barcode-python-24.9.jar
|
|
15
15
|
license/End+User+License+Agreement.html
|
|
16
16
|
license/ThirdPartyLicenses.Aspose.BarCode.Java.pdf
|
|
@@ -1747,8 +1747,7 @@ class MaxiCodeCodetextMode3(MaxiCodeStructuredCodetext):
|
|
|
1747
1747
|
java_class = jpype.JClass(MaxiCodeCodetextMode3.JAVA_CLASS_NAME)
|
|
1748
1748
|
super().__init__(java_class())
|
|
1749
1749
|
except Exception as ex:
|
|
1750
|
-
raise Assist.BarCodeException(
|
|
1751
|
-
# raise Assist.BarCodeException(ex)
|
|
1750
|
+
raise Assist.BarCodeException(ex)
|
|
1752
1751
|
|
|
1753
1752
|
@staticmethod
|
|
1754
1753
|
def construct(javaClass):
|
|
@@ -2078,7 +2077,7 @@ class HIBCLICPrimaryDataCodetext(HIBCLICComplexCodetext):
|
|
|
2078
2077
|
"""!
|
|
2079
2078
|
Returns a value indicating whether this instance is equal to a specified HIBCLICPrimaryDataCodetext value.
|
|
2080
2079
|
@param: obj:An HIBCLICPrimaryDataCodetext value to compare to this instance.
|
|
2081
|
-
@return:<b>True</b> if obj has the same value as this instance; otherwise, <b>
|
|
2080
|
+
@return:<b>True</b> if obj has the same value as this instance; otherwise, <b>False</b>.
|
|
2082
2081
|
"""
|
|
2083
2082
|
return self.getJavaClass().equals(obj.getJavaClass())
|
|
2084
2083
|
|
|
@@ -2239,7 +2238,7 @@ class HIBCPASCodetext(IComplexCodetext):
|
|
|
2239
2238
|
Default value: HIBCCode39PAS.
|
|
2240
2239
|
@return:Barcode type.
|
|
2241
2240
|
"""
|
|
2242
|
-
self.getJavaClass().setBarcodeType(value)
|
|
2241
|
+
self.getJavaClass().setBarcodeType(value.value)
|
|
2243
2242
|
|
|
2244
2243
|
def getDataLocation(self):
|
|
2245
2244
|
"""!
|
|
@@ -2272,7 +2271,7 @@ class HIBCPASCodetext(IComplexCodetext):
|
|
|
2272
2271
|
@param: dataType:Type of data
|
|
2273
2272
|
@param: data:Data string
|
|
2274
2273
|
"""
|
|
2275
|
-
self.getJavaClass().addRecord(dataType, data)
|
|
2274
|
+
self.getJavaClass().addRecord(dataType.value, data)
|
|
2276
2275
|
|
|
2277
2276
|
def addHIBCPASRecord(self, record):
|
|
2278
2277
|
"""!
|
|
@@ -2312,7 +2311,7 @@ class HIBCPASCodetext(IComplexCodetext):
|
|
|
2312
2311
|
"""!
|
|
2313
2312
|
Returns a value indicating whether this instance is equal to a specified HIBCPASCodetext value.
|
|
2314
2313
|
@param: obj:An HIBCPASCodetext value to compare to this instance.
|
|
2315
|
-
@return:<b>True</b> if obj has the same value as this instance; otherwise, <b>
|
|
2314
|
+
@return:<b>True</b> if obj has the same value as this instance; otherwise, <b>False</b>.
|
|
2316
2315
|
"""
|
|
2317
2316
|
return self.getJavaClass().equals(obj.getJavaClass())
|
|
2318
2317
|
|
|
@@ -2376,7 +2375,7 @@ class HIBCPASRecord(Assist.BaseJavaClass):
|
|
|
2376
2375
|
"""!
|
|
2377
2376
|
Returns a value indicating whether this instance is equal to a specified HIBCPASDataType value.
|
|
2378
2377
|
@param: obj:An HIBCPASDataType value to compare to this instance.
|
|
2379
|
-
@return: <b>True</b> if obj has the same value as this instance; otherwise, <b>
|
|
2378
|
+
@return: <b>True</b> if obj has the same value as this instance; otherwise, <b>False</b>.
|
|
2380
2379
|
"""
|
|
2381
2380
|
return self.getJavaClass().equals(obj.getJavaClass())
|
|
2382
2381
|
|
|
@@ -2460,7 +2459,7 @@ class PrimaryData(Assist.BaseJavaClass):
|
|
|
2460
2459
|
"""!
|
|
2461
2460
|
Returns a value indicating whether this instance is equal to a specified PrimaryData value.
|
|
2462
2461
|
@param: obj:An PrimaryData value to compare to this instance.
|
|
2463
|
-
@return: <b>True</b> if obj has the same value as this instance; otherwise, <b>
|
|
2462
|
+
@return: <b>True</b> if obj has the same value as this instance; otherwise, <b>False</b>.
|
|
2464
2463
|
"""
|
|
2465
2464
|
return self.getJavaClass().equals(obj.getJavaClass())
|
|
2466
2465
|
|
|
@@ -2593,7 +2592,7 @@ class SecondaryAndAdditionalData(Assist.BaseJavaClass):
|
|
|
2593
2592
|
"""!
|
|
2594
2593
|
Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value.
|
|
2595
2594
|
@param: obj:An SecondaryAndAdditionalData value to compare to this instance.
|
|
2596
|
-
@return: True if obj has the same value as this instance; otherwise,
|
|
2595
|
+
@return: True if obj has the same value as this instance; otherwise, False.
|
|
2597
2596
|
"""
|
|
2598
2597
|
return self.getJavaClass().equals(obj.getJavaClass())
|
|
2599
2598
|
|
|
@@ -324,7 +324,7 @@ class BarcodeParameters(Assist.BaseJavaClass):
|
|
|
324
324
|
Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN, Codabar
|
|
325
325
|
Checksum always used: Rest symbology
|
|
326
326
|
"""
|
|
327
|
-
return self.getJavaClass().isChecksumEnabled()
|
|
327
|
+
return EnableChecksum(self.getJavaClass().isChecksumEnabled())
|
|
328
328
|
|
|
329
329
|
def setChecksumEnabled(self, value):
|
|
330
330
|
"""!
|
|
@@ -358,7 +358,7 @@ class BarcodeParameters(Assist.BaseJavaClass):
|
|
|
358
358
|
Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard
|
|
359
359
|
The WideNarrowRatio parameter value is less than or equal to 0.
|
|
360
360
|
"""
|
|
361
|
-
return self.getJavaClass().getWideNarrowRatio()
|
|
361
|
+
return float(self.getJavaClass().getWideNarrowRatio())
|
|
362
362
|
|
|
363
363
|
def setWideNarrowRatio(self, value):
|
|
364
364
|
"""!
|
|
@@ -613,7 +613,7 @@ class BaseGenerationParameters(Assist.BaseJavaClass):
|
|
|
613
613
|
Default value: 96 dpi.
|
|
614
614
|
The Resolution parameter value is less than or equal to 0.
|
|
615
615
|
"""
|
|
616
|
-
return self.getJavaClass().getResolution()
|
|
616
|
+
return float(self.getJavaClass().getResolution())
|
|
617
617
|
|
|
618
618
|
def getImage(self):
|
|
619
619
|
"""
|
|
@@ -643,7 +643,7 @@ class BaseGenerationParameters(Assist.BaseJavaClass):
|
|
|
643
643
|
generator.save(self.image_path_to_save, Generation.BarCodeImageFormat.PNG)
|
|
644
644
|
\endcode
|
|
645
645
|
"""
|
|
646
|
-
return self.getJavaClass().getRotationAngle()
|
|
646
|
+
return float(self.getJavaClass().getRotationAngle())
|
|
647
647
|
|
|
648
648
|
def setRotationAngle(self, value):
|
|
649
649
|
"""!
|
|
@@ -4244,10 +4244,12 @@ class DataMatrixEncodeMode(Enum):
|
|
|
4244
4244
|
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.DATA_MATRIX, codetext)
|
|
4245
4245
|
generator.getParameters().getBarcode().getDataMatrix().setECIEncoding(Generation.ECIEncodings.UTF8)
|
|
4246
4246
|
generator.save(self.image_path_to_save5, Generation.BarCodeImageFormat.PNG)
|
|
4247
|
-
#
|
|
4247
|
+
# Binary mode
|
|
4248
4248
|
encodedArr = [0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9]
|
|
4249
|
-
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.DATA_MATRIX,
|
|
4250
|
-
generator.
|
|
4249
|
+
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.DATA_MATRIX, None)
|
|
4250
|
+
generator.setCodeText(encodedArr, None)
|
|
4251
|
+
generator.getParameters().getBarcode().getDataMatrix().setDataMatrixEncodeMode(
|
|
4252
|
+
Generation.DataMatrixEncodeMode.BINARY)
|
|
4251
4253
|
generator.save(self.image_path_to_save5, Generation.BarCodeImageFormat.PNG)
|
|
4252
4254
|
# Extended codetext mode
|
|
4253
4255
|
# create codetext
|
|
@@ -583,6 +583,34 @@ class QRExtendedParameters(Assist.BaseJavaClass):
|
|
|
583
583
|
"""
|
|
584
584
|
return self.getJavaClass().getQRStructuredAppendModeParityData()
|
|
585
585
|
|
|
586
|
+
def getQRVersion(self):
|
|
587
|
+
"""!
|
|
588
|
+
Version of recognized QR Code. From Version1 to Version40.
|
|
589
|
+
@return: Version of recognized QR Code
|
|
590
|
+
"""
|
|
591
|
+
return int(self.getJavaClass().getQRVersion())
|
|
592
|
+
|
|
593
|
+
def getMicroQRVersion(self):
|
|
594
|
+
"""!
|
|
595
|
+
Version of recognized MicroQR Code. From M1 to M4.
|
|
596
|
+
@return Version of recognized MicroQR Code. From M1 to M4.
|
|
597
|
+
"""
|
|
598
|
+
return int(self.getJavaClass().getMicroQRVersion())
|
|
599
|
+
|
|
600
|
+
def getRectMicroQRVersion(self):
|
|
601
|
+
"""!
|
|
602
|
+
Version of recognized RectMicroQR Code. From R7x43 to R17x139.
|
|
603
|
+
@return: Version of recognized RectMicroQR Code
|
|
604
|
+
"""
|
|
605
|
+
return int(self.getJavaClass().getRectMicroQRVersion())
|
|
606
|
+
|
|
607
|
+
def getQRErrorLevel(self):
|
|
608
|
+
"""!
|
|
609
|
+
Version of recognized RectMicroQR Code. From R7x43 to R17x139.
|
|
610
|
+
@return: Version of recognized RectMicroQR Code
|
|
611
|
+
"""
|
|
612
|
+
return int(self.getJavaClass().getQRErrorLevel())
|
|
613
|
+
|
|
586
614
|
def isEmpty(self):
|
|
587
615
|
"""!
|
|
588
616
|
Tests whether all parameters has only default values
|
|
@@ -2594,7 +2622,7 @@ class CustomerInformationInterpretingType(Enum):
|
|
|
2594
2622
|
# reader = Recognition.BarCodeReader(image, None,Recognition.DecodeType.AUSTRALIA_POST)
|
|
2595
2623
|
# reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(Recognition.CustomerInformationInterpretingType.N_TABLE)
|
|
2596
2624
|
# for result in reader.readBarCodes():
|
|
2597
|
-
# print("BarCode Type: " + result.
|
|
2625
|
+
# print("BarCode Type: " + result.getCodeTypeName())
|
|
2598
2626
|
# print("BarCode CodeText: " + result.getCodeText())
|
|
2599
2627
|
# \endcode
|
|
2600
2628
|
N_TABLE = 1
|
|
@@ -3,6 +3,6 @@ import os
|
|
|
3
3
|
from asposebarcode import Generation, Recognition, Assist
|
|
4
4
|
|
|
5
5
|
__asposebarcode_dir__ = os.path.dirname(__file__)
|
|
6
|
-
__barcode_jar_path__ = __asposebarcode_dir__ + "/jlib/aspose-barcode-python-24.
|
|
6
|
+
__barcode_jar_path__ = __asposebarcode_dir__ + "/jlib/aspose-barcode-python-24.9.jar"
|
|
7
7
|
jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.class.path=%s" % __barcode_jar_path__)
|
|
8
8
|
__all__ = ['Assist','Recognition','Generation','ComplexBarcode']
|
{aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/MANIFEST.in
RENAMED
|
File without changes
|
{aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aspose-barcode-for-python-via-java-24.8.2 → aspose-barcode-for-python-via-java-24.9.0}/setup.cfg
RENAMED
|
File without changes
|