Skip to content

Commit 55b1c69

Browse files
authored
Release 23.3 (#55)
* Release 23.3
1 parent bb151f8 commit 55b1c69

14 files changed

Lines changed: 26 additions & 95 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/python-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Latest Python Support
22

33
on:
44
push:
5-
branches: [ master, main ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master, main ]
7+
branches: [ main ]
88

99
jobs:
1010
# Define the job to run before your matrix job

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Test
55

66
on:
77
push:
8-
branches: [ master, main ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master, main ]
10+
branches: [ main ]
1111

1212
jobs:
1313
build:

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ dist:
2121
python3 setup.py sdist bdist_wheel --universal
2222

2323
.PHONY: format
24-
format: format_code format_doc
25-
26-
.PHONY: format_code
27-
format_code:
24+
format:
2825
python3 -m black --line-length=120 -v $(SRC) tests
2926

3027
.PHONY: format_doc
@@ -78,6 +75,9 @@ test-example:
7875
test-tox:
7976
python3 -m tox $(SRC)
8077

78+
.PHONY: after-gen
79+
after-gen: format format_doc
80+
8181
.PHONY: update
8282
update:
8383
echo "Not implemented"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)
66

77
- API version: 3.0
8-
- Package version: 23.2.0
8+
- Package version: 23.3.0
99

1010
## Demo applications
1111

aspose_barcode_cloud/api/barcode_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def get_barcode_recognize(
458458
:param int rect_width: Set Width of area for recognition. # noqa: E501
459459
:param int rect_height: Set Height of area for recognition. # noqa: E501
460460
:param bool strip_fnc: Value indicating whether FNC symbol strip must be done. # noqa: E501
461-
:param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
461+
:param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
462462
:param int median_smoothing_window_size: Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. # noqa: E501
463463
:param bool allow_median_smoothing: Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. # noqa: E501
464464
:param bool allow_complex_background: Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. # noqa: E501
@@ -826,7 +826,7 @@ def post_barcode_recognize_from_url_or_content(
826826
:param int rect_width: Set Width of area for recognition. # noqa: E501
827827
:param int rect_height: Set Height of area for recognition. # noqa: E501
828828
:param bool strip_fnc: Value indicating whether FNC symbol strip must be done. # noqa: E501
829-
:param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
829+
:param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
830830
:param int median_smoothing_window_size: Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. # noqa: E501
831831
:param bool allow_median_smoothing: Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. # noqa: E501
832832
:param bool allow_complex_background: Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. # noqa: E501

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
9090
self.rest_client = RESTClientObject(configuration)
9191
self.default_headers = {
9292
"x-aspose-client": "python sdk",
93-
"x-aspose-client-version": "23.2.0",
93+
"x-aspose-client-version": "23.3.0",
9494
}
9595
if header_name is not None:
9696
self.default_headers[header_name] = header_value
9797
self.cookie = cookie
9898
# Set default User-Agent.
99-
self.user_agent = "Aspose-Barcode-SDK/23.2.0/python"
99+
self.user_agent = "Aspose-Barcode-SDK/23.3.0/python"
100100

101101
def __del__(self):
102102
self.rest_client.close()

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def to_debug_report(self):
286286
"OS: {env}\n"
287287
"Python Version: {pyversion}\n"
288288
"Version of the API: 3.0\n"
289-
"SDK Package Version: 23.2.0".format(env=sys.platform, pyversion=sys.version)
289+
"SDK Package Version: 23.3.0".format(env=sys.platform, pyversion=sys.version)
290290
)
291291

292292
@staticmethod

aspose_barcode_cloud/models/reader_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def strip_fnc(self, strip_fnc):
473473
def timeout(self):
474474
"""Gets the timeout of this ReaderParams. # noqa: E501
475475
476-
Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
476+
Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
477477
478478
:return: The timeout of this ReaderParams. # noqa: E501
479479
:rtype: int
@@ -484,7 +484,7 @@ def timeout(self):
484484
def timeout(self, timeout):
485485
"""Sets the timeout of this ReaderParams.
486486
487-
Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
487+
Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
488488
489489
:param timeout: The timeout of this ReaderParams. # noqa: E501
490490
:type: int

docs/BarcodeApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ rect_y = 56 # int | Set Y for area for recognition. (optional)
158158
rect_width = 56 # int | Set Width of area for recognition. (optional)
159159
rect_height = 56 # int | Set Height of area for recognition. (optional)
160160
strip_fnc = True # bool | Value indicating whether FNC symbol strip must be done. (optional)
161-
timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional)
161+
timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional)
162162
median_smoothing_window_size = 56 # int | Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. (optional)
163163
allow_median_smoothing = True # bool | Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. (optional)
164164
allow_complex_background = True # bool | Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. (optional)
@@ -209,7 +209,7 @@ Name | Type | Description | Notes
209209
**rect_width** | **int**| Set Width of area for recognition. | [optional]
210210
**rect_height** | **int**| Set Height of area for recognition. | [optional]
211211
**strip_fnc** | **bool**| Value indicating whether FNC symbol strip must be done. | [optional]
212-
**timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
212+
**timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
213213
**median_smoothing_window_size** | **int**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
214214
**allow_median_smoothing** | **bool**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
215215
**allow_complex_background** | **bool**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]
@@ -280,7 +280,7 @@ rect_y = 56 # int | Set Y for area for recognition. (optional)
280280
rect_width = 56 # int | Set Width of area for recognition. (optional)
281281
rect_height = 56 # int | Set Height of area for recognition. (optional)
282282
strip_fnc = True # bool | Value indicating whether FNC symbol strip must be done. (optional)
283-
timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional)
283+
timeout = 56 # int | Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. (optional)
284284
median_smoothing_window_size = 56 # int | Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. (optional)
285285
allow_median_smoothing = True # bool | Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. (optional)
286286
allow_complex_background = True # bool | Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. (optional)
@@ -330,7 +330,7 @@ Name | Type | Description | Notes
330330
**rect_width** | **int**| Set Width of area for recognition. | [optional]
331331
**rect_height** | **int**| Set Height of area for recognition. | [optional]
332332
**strip_fnc** | **bool**| Value indicating whether FNC symbol strip must be done. | [optional]
333-
**timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
333+
**timeout** | **int**| Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 60_000 (1 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. | [optional]
334334
**median_smoothing_window_size** | **int**| Window size for median smoothing. Typical values are 3 or 4. Default value is 3. AllowMedianSmoothing must be set. | [optional]
335335
**allow_median_smoothing** | **bool**| Allows engine to enable median smoothing as additional scan. Mode helps to recognize noised barcodes. | [optional]
336336
**allow_complex_background** | **bool**| Allows engine to recognize color barcodes on color background as additional scan. Extremely slow mode. | [optional]

0 commit comments

Comments
 (0)