Skip to content

Commit 2ff0e9c

Browse files
authored
Release 20.6.0 (#2)
* Release 20.6.0
1 parent dec8065 commit 2ff0e9c

45 files changed

Lines changed: 378 additions & 379 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
SRC=./aspose_barcode_cloud
2+
3+
.PHONY: all
4+
all: format test
5+
6+
.PHONY: format
7+
format:
8+
black --line-length=120 --target-version=py27 -v $(SRC)
9+
sed -i -e 's_[[:space:]]*$$__' README.md
10+
11+
.PHONY: test
12+
test:
13+
tox $(SRC)
14+
15+
.PHONY: clean
16+
clean:
17+
git clean -dfx --exclude='tests/configuration*.json'
18+
19+
.PHONY: dist
20+
dist: clean
21+
python3 setup.py sdist bdist_wheel
22+
23+
.PHONY: publish
24+
publish: format test dist
25+
python3 -m twine upload dist/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for Python
22

33
- API version: 3.0
4-
- Package version: 20.5.0
4+
- Package version: 20.6.0
55

66
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/cloud) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

aspose_barcode_cloud/api/barcode_api.py

Lines changed: 58 additions & 58 deletions
Large diffs are not rendered by default.

aspose_barcode_cloud/api/file_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def upload_file(self, path, file, storage_name=None, async_req=False, **kwargs):
525525
>>> thread = FileApi().upload_file(path, file, async_req=True)
526526
>>> result = thread.get()
527527
528-
:param str path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. # noqa: E501
528+
:param str path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. # noqa: E501
529529
:param file file: File to upload # noqa: E501
530530
:param str storage_name: Storage name # noqa: E501
531531
:param async_req bool
@@ -548,7 +548,7 @@ def upload_file_with_http_info(self, path, file, **kwargs):
548548
>>> thread = FileApi().upload_file_with_http_info(path, file, async_req=True)
549549
>>> result = thread.get()
550550
551-
:param str path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. # noqa: E501
551+
:param str path: Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header. # noqa: E501
552552
:param file file: File to upload # noqa: E501
553553
:return: FilesUploadResult
554554
If the method is called asynchronously,

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
8484
self.rest_client = rest.RESTClientObject(configuration)
8585
self.default_headers = {
8686
"x-aspose-client": "python sdk",
87-
"x-aspose-client-version": "20.5.0",
87+
"x-aspose-client-version": "20.6.0",
8888
}
8989
if header_name is not None:
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = "Aspose-Barcode-SDK/20.5.0/python"
93+
self.user_agent = "Aspose-Barcode-SDK/20.6.0/python"
9494

9595
def __del__(self):
9696
if self._pool is not None:

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def to_debug_report(self):
285285
"OS: {env}\n"
286286
"Python Version: {pyversion}\n"
287287
"Version of the API: 3.0\n"
288-
"SDK Package Version: 20.5.0".format(env=sys.platform, pyversion=sys.version)
288+
"SDK Package Version: 20.6.0".format(env=sys.platform, pyversion=sys.version)
289289
)
290290

291291
@classmethod

aspose_barcode_cloud/models/aztec_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self, aspect_ratio=None, error_level=None, symbol_mode=None, text_e
8080
def aspect_ratio(self):
8181
"""Gets the aspect_ratio of this AztecParams. # noqa: E501
8282
83-
Height/Width ratio of 2D BarCode module. # noqa: E501
83+
Height/Width ratio of 2D BarCode module. # noqa: E501
8484
8585
:return: The aspect_ratio of this AztecParams. # noqa: E501
8686
:rtype: float
@@ -91,7 +91,7 @@ def aspect_ratio(self):
9191
def aspect_ratio(self, aspect_ratio):
9292
"""Sets the aspect_ratio of this AztecParams.
9393
94-
Height/Width ratio of 2D BarCode module. # noqa: E501
94+
Height/Width ratio of 2D BarCode module. # noqa: E501
9595
9696
:param aspect_ratio: The aspect_ratio of this AztecParams. # noqa: E501
9797
:type: float
@@ -149,7 +149,7 @@ def symbol_mode(self, symbol_mode):
149149
def text_encoding(self):
150150
"""Gets the text_encoding of this AztecParams. # noqa: E501
151151
152-
Sets the encoding of codetext. # noqa: E501
152+
Sets the encoding of codetext. # noqa: E501
153153
154154
:return: The text_encoding of this AztecParams. # noqa: E501
155155
:rtype: str
@@ -160,7 +160,7 @@ def text_encoding(self):
160160
def text_encoding(self, text_encoding):
161161
"""Sets the text_encoding of this AztecParams.
162162
163-
Sets the encoding of codetext. # noqa: E501
163+
Sets the encoding of codetext. # noqa: E501
164164
165165
:param text_encoding: The text_encoding of this AztecParams. # noqa: E501
166166
:type: str

aspose_barcode_cloud/models/bar_code_error_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, error=None): # noqa: E501
6161
def error(self):
6262
"""Gets the error of this BarCodeErrorResponse. # noqa: E501
6363
64-
Error # noqa: E501
64+
Error # noqa: E501
6565
6666
:return: The error of this BarCodeErrorResponse. # noqa: E501
6767
:rtype: Error
@@ -72,7 +72,7 @@ def error(self):
7272
def error(self, error):
7373
"""Sets the error of this BarCodeErrorResponse.
7474
75-
Error # noqa: E501
75+
Error # noqa: E501
7676
7777
:param error: The error of this BarCodeErrorResponse. # noqa: E501
7878
:type: Error

aspose_barcode_cloud/models/barcode_response.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, barcode_value=None, type=None, region=None, checksum=None):
7070
def barcode_value(self):
7171
"""Gets the barcode_value of this BarcodeResponse. # noqa: E501
7272
73-
Barcode data. # noqa: E501
73+
Barcode data. # noqa: E501
7474
7575
:return: The barcode_value of this BarcodeResponse. # noqa: E501
7676
:rtype: str
@@ -81,7 +81,7 @@ def barcode_value(self):
8181
def barcode_value(self, barcode_value):
8282
"""Sets the barcode_value of this BarcodeResponse.
8383
84-
Barcode data. # noqa: E501
84+
Barcode data. # noqa: E501
8585
8686
:param barcode_value: The barcode_value of this BarcodeResponse. # noqa: E501
8787
:type: str
@@ -93,7 +93,7 @@ def barcode_value(self, barcode_value):
9393
def type(self):
9494
"""Gets the type of this BarcodeResponse. # noqa: E501
9595
96-
Type of the barcode. # noqa: E501
96+
Type of the barcode. # noqa: E501
9797
9898
:return: The type of this BarcodeResponse. # noqa: E501
9999
:rtype: str
@@ -104,7 +104,7 @@ def type(self):
104104
def type(self, type):
105105
"""Sets the type of this BarcodeResponse.
106106
107-
Type of the barcode. # noqa: E501
107+
Type of the barcode. # noqa: E501
108108
109109
:param type: The type of this BarcodeResponse. # noqa: E501
110110
:type: str
@@ -116,7 +116,7 @@ def type(self, type):
116116
def region(self):
117117
"""Gets the region of this BarcodeResponse. # noqa: E501
118118
119-
Region with barcode. # noqa: E501
119+
Region with barcode. # noqa: E501
120120
121121
:return: The region of this BarcodeResponse. # noqa: E501
122122
:rtype: list[RegionPoint]
@@ -127,7 +127,7 @@ def region(self):
127127
def region(self, region):
128128
"""Sets the region of this BarcodeResponse.
129129
130-
Region with barcode. # noqa: E501
130+
Region with barcode. # noqa: E501
131131
132132
:param region: The region of this BarcodeResponse. # noqa: E501
133133
:type: list[RegionPoint]
@@ -139,7 +139,7 @@ def region(self, region):
139139
def checksum(self):
140140
"""Gets the checksum of this BarcodeResponse. # noqa: E501
141141
142-
Checksum of barcode. # noqa: E501
142+
Checksum of barcode. # noqa: E501
143143
144144
:return: The checksum of this BarcodeResponse. # noqa: E501
145145
:rtype: str
@@ -150,7 +150,7 @@ def checksum(self):
150150
def checksum(self, checksum):
151151
"""Sets the checksum of this BarcodeResponse.
152152
153-
Checksum of barcode. # noqa: E501
153+
Checksum of barcode. # noqa: E501
154154
155155
:param checksum: The checksum of this BarcodeResponse. # noqa: E501
156156
:type: str

aspose_barcode_cloud/models/barcode_response_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, barcodes=None): # noqa: E501
6161
def barcodes(self):
6262
"""Gets the barcodes of this BarcodeResponseList. # noqa: E501
6363
64-
List of barcodes which are present in image. # noqa: E501
64+
List of barcodes which are present in image. # noqa: E501
6565
6666
:return: The barcodes of this BarcodeResponseList. # noqa: E501
6767
:rtype: list[BarcodeResponse]
@@ -72,7 +72,7 @@ def barcodes(self):
7272
def barcodes(self, barcodes):
7373
"""Sets the barcodes of this BarcodeResponseList.
7474
75-
List of barcodes which are present in image. # noqa: E501
75+
List of barcodes which are present in image. # noqa: E501
7676
7777
:param barcodes: The barcodes of this BarcodeResponseList. # noqa: E501
7878
:type: list[BarcodeResponse]

0 commit comments

Comments
 (0)