aspose-barcode-for-python-via-java 25.9.0__tar.gz → 25.10.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-25.9.0/aspose_barcode_for_python_via_java.egg-info → aspose_barcode_for_python_via_java-25.10.0}/PKG-INFO +2 -2
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0/aspose_barcode_for_python_via_java.egg-info}/PKG-INFO +1 -1
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/aspose_barcode_for_python_via_java.egg-info/SOURCES.txt +1 -1
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/asposebarcode/Generation.py +2 -2
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/asposebarcode/Recognition.py +2 -3
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/asposebarcode/__init__.py +1 -1
- aspose-barcode-for-python-via-java-25.9.0/asposebarcode/jlib/aspose-barcode-python-25.9.jar → aspose_barcode_for_python_via_java-25.10.0/asposebarcode/jlib/aspose-barcode-python-25.10.jar +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/setup.py +2 -2
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/MANIFEST.in +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/README.md +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/aspose_barcode_for_python_via_java.egg-info/dependency_links.txt +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/aspose_barcode_for_python_via_java.egg-info/requires.txt +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/aspose_barcode_for_python_via_java.egg-info/top_level.txt +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/asposebarcode/Assist.py +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/asposebarcode/ComplexBarcode.py +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/license/End+User+License+Agreement.html +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/license/ThirdPartyLicenses.Aspose.BarCode.Java.pdf +0 -0
- {aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version: 25.
|
|
2
|
+
Name: aspose_barcode_for_python_via_java
|
|
3
|
+
Version: 25.10.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: 25.
|
|
3
|
+
Version: 25.10.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-25.
|
|
14
|
+
asposebarcode/jlib/aspose-barcode-python-25.10.jar
|
|
15
15
|
license/End+User+License+Agreement.html
|
|
16
16
|
license/ThirdPartyLicenses.Aspose.BarCode.Java.pdf
|
|
@@ -147,7 +147,7 @@ class BarcodeGenerator(Assist.BaseJavaClass):
|
|
|
147
147
|
\endcode
|
|
148
148
|
"""
|
|
149
149
|
try:
|
|
150
|
-
bytes_data = base64.b64decode(str(self.javaClass.
|
|
150
|
+
bytes_data = base64.b64decode(str(self.javaClass.generateBarCodeBase64Image(BarCodeImageFormat.PNG.value)))
|
|
151
151
|
buf = io.BytesIO(bytes_data)
|
|
152
152
|
bitmap = Image.open(buf)
|
|
153
153
|
return bitmap
|
|
@@ -164,7 +164,7 @@ class BarcodeGenerator(Assist.BaseJavaClass):
|
|
|
164
164
|
generator.save(self.image_path_to_save3, Generation.BarCodeImageFormat.PNG)
|
|
165
165
|
\endcode
|
|
166
166
|
"""
|
|
167
|
-
bytes_data = bytearray(base64.b64decode(str(self.javaClass.
|
|
167
|
+
bytes_data = bytearray(base64.b64decode(str(self.javaClass.generateBarCodeBase64Image(imageFormat.value))))
|
|
168
168
|
with open(imagePath, "wb") as file:
|
|
169
169
|
file.write(bytes_data)
|
|
170
170
|
|
|
@@ -1012,13 +1012,12 @@ class BarCodeResult(Assist.BaseJavaClass):
|
|
|
1012
1012
|
value = self.getJavaClass().getCodeText(encoding)
|
|
1013
1013
|
return str(value) if value is not None else None
|
|
1014
1014
|
|
|
1015
|
-
def getCodeBytes(self) -> List[
|
|
1015
|
+
def getCodeBytes(self) -> List[int]:
|
|
1016
1016
|
"""!
|
|
1017
1017
|
Gets the encoded code bytes.
|
|
1018
1018
|
Value: The code bytes of the barcode.
|
|
1019
1019
|
"""
|
|
1020
|
-
|
|
1021
|
-
return _str.split(",")
|
|
1020
|
+
return [int(b) for b in self.getJavaClass().getCodeBytes()]
|
|
1022
1021
|
|
|
1023
1022
|
def getCodeType(self) -> DecodeType:
|
|
1024
1023
|
"""!
|
|
@@ -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-25.
|
|
6
|
+
__barcode_jar_path__ = __asposebarcode_dir__ + "/jlib/aspose-barcode-python-25.10.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-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/MANIFEST.in
RENAMED
|
File without changes
|
{aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.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
|
|
File without changes
|
{aspose-barcode-for-python-via-java-25.9.0 → aspose_barcode_for_python_via_java-25.10.0}/setup.cfg
RENAMED
|
File without changes
|