Skip to content

Commit 375f64f

Browse files
Denis-AverinIvan Kamkin
andauthored
Release 24.6 (#77)
* Version of SDK updated. * Drop Python 2 support --------- Co-authored-by: Ivan Kamkin <[email protected]>
1 parent d3b94fd commit 375f64f

File tree

96 files changed

+144
-341
lines changed

Some content is hidden

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

96 files changed

+144
-341
lines changed

.github/workflows/python-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Lint
4343
run: |
4444
python -m black --line-length=120 --check .
45-
python -m check_python_versions --expect 2.7,3.6- --only setup.py
45+
python -m check_python_versions --expect 3.6- --only setup.py
4646
- name: Test
4747
env:
4848
TEST_CONFIGURATION_ACCESS_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}

README.md

Lines changed: 2 additions & 3 deletions
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: 24.5.0
8+
- Package version: 24.6.0
99

1010
## Demo applications
1111

@@ -17,7 +17,7 @@
1717

1818
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/) 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.
1919

20-
This repository contains Aspose.BarCode Cloud SDK for Python source code. This SDK allows you to work with Aspose.BarCode for Cloud REST APIs in your Python 2 or Python 3 applications quickly and easily.
20+
This repository contains Aspose.BarCode Cloud SDK for Python source code. This SDK allows you to work with Aspose.BarCode for Cloud REST APIs in your Python 3 applications quickly and easily.
2121

2222
Supported Python versions:
2323

@@ -90,7 +90,6 @@ pprint(response)
9090

9191
## Requirements
9292

93-
- six >= 1.10
9493
- urllib3 >= 1.21.1, <2.0
9594

9695
## Licensing

aspose_barcode_cloud/api/barcode_api.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import re # noqa: F401
66
import warnings # noqa: F401
77

8-
# python 2 and python 3 compatibility library
9-
import six
10-
118
from aspose_barcode_cloud.api_client import ApiClient
129

1310

@@ -254,7 +251,7 @@ def get_barcode_generate_with_http_info(self, type, text, **kwargs):
254251
all_params.add("_request_timeout")
255252

256253
params = locals()
257-
for key, val in six.iteritems(params["kwargs"]):
254+
for key, val in params["kwargs"].items():
258255
if key not in all_params:
259256
raise TypeError("Got an unexpected keyword argument '%s'" " to method get_barcode_generate" % key)
260257
if val is None:
@@ -627,7 +624,7 @@ def get_barcode_recognize_with_http_info(self, name, **kwargs):
627624
all_params.add("_request_timeout")
628625

629626
params = locals()
630-
for key, val in six.iteritems(params["kwargs"]):
627+
for key, val in params["kwargs"].items():
631628
if key not in all_params:
632629
raise TypeError("Got an unexpected keyword argument '%s'" " to method get_barcode_recognize" % key)
633630
if val is None:
@@ -999,7 +996,7 @@ def post_barcode_recognize_from_url_or_content_with_http_info(self, **kwargs):
999996
all_params.add("_request_timeout")
1000997

1001998
params = locals()
1002-
for key, val in six.iteritems(params["kwargs"]):
999+
for key, val in params["kwargs"].items():
10031000
if key not in all_params:
10041001
raise TypeError(
10051002
"Got an unexpected keyword argument '%s'"
@@ -1175,7 +1172,7 @@ def post_generate_multiple_with_http_info(self, generator_params_list, **kwargs)
11751172
all_params.add("_request_timeout")
11761173

11771174
params = locals()
1178-
for key, val in six.iteritems(params["kwargs"]):
1175+
for key, val in params["kwargs"].items():
11791176
if key not in all_params:
11801177
raise TypeError("Got an unexpected keyword argument '%s'" " to method post_generate_multiple" % key)
11811178
if val is None:
@@ -1483,7 +1480,7 @@ def put_barcode_generate_file_with_http_info(self, name, type, text, **kwargs):
14831480
all_params.add("_request_timeout")
14841481

14851482
params = locals()
1486-
for key, val in six.iteritems(params["kwargs"]):
1483+
for key, val in params["kwargs"].items():
14871484
if key not in all_params:
14881485
raise TypeError("Got an unexpected keyword argument '%s'" " to method put_barcode_generate_file" % key)
14891486
if val is None:
@@ -1673,7 +1670,7 @@ def put_barcode_recognize_from_body_with_http_info(self, name, reader_params, **
16731670
all_params.add("_request_timeout")
16741671

16751672
params = locals()
1676-
for key, val in six.iteritems(params["kwargs"]):
1673+
for key, val in params["kwargs"].items():
16771674
if key not in all_params:
16781675
raise TypeError(
16791676
"Got an unexpected keyword argument '%s'" " to method put_barcode_recognize_from_body" % key
@@ -1794,7 +1791,7 @@ def put_generate_multiple_with_http_info(self, name, generator_params_list, **kw
17941791
all_params.add("_request_timeout")
17951792

17961793
params = locals()
1797-
for key, val in six.iteritems(params["kwargs"]):
1794+
for key, val in params["kwargs"].items():
17981795
if key not in all_params:
17991796
raise TypeError("Got an unexpected keyword argument '%s'" " to method put_generate_multiple" % key)
18001797
if val is None:
@@ -1906,7 +1903,7 @@ def scan_barcode_with_http_info(self, image_file, **kwargs):
19061903
all_params.add("_request_timeout")
19071904

19081905
params = locals()
1909-
for key, val in six.iteritems(params["kwargs"]):
1906+
for key, val in params["kwargs"].items():
19101907
if key not in all_params:
19111908
raise TypeError("Got an unexpected keyword argument '%s'" " to method scan_barcode" % key)
19121909
if val is None:

aspose_barcode_cloud/api/file_api.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import re # noqa: F401
66
import warnings # noqa: F401
77

8-
# python 2 and python 3 compatibility library
9-
import six
10-
118
from aspose_barcode_cloud.api_client import ApiClient
129

1310

@@ -93,7 +90,7 @@ def copy_file_with_http_info(self, src_path, dest_path, **kwargs):
9390
all_params.add("_request_timeout")
9491

9592
params = locals()
96-
for key, val in six.iteritems(params["kwargs"]):
93+
for key, val in params["kwargs"].items():
9794
if key not in all_params:
9895
raise TypeError("Got an unexpected keyword argument '%s'" " to method copy_file" % key)
9996
if val is None:
@@ -201,7 +198,7 @@ def delete_file_with_http_info(self, path, **kwargs):
201198
all_params.add("_request_timeout")
202199

203200
params = locals()
204-
for key, val in six.iteritems(params["kwargs"]):
201+
for key, val in params["kwargs"].items():
205202
if key not in all_params:
206203
raise TypeError("Got an unexpected keyword argument '%s'" " to method delete_file" % key)
207204
if val is None:
@@ -302,7 +299,7 @@ def download_file_with_http_info(self, path, **kwargs):
302299
all_params.add("_request_timeout")
303300

304301
params = locals()
305-
for key, val in six.iteritems(params["kwargs"]):
302+
for key, val in params["kwargs"].items():
306303
if key not in all_params:
307304
raise TypeError("Got an unexpected keyword argument '%s'" " to method download_file" % key)
308305
if val is None:
@@ -429,7 +426,7 @@ def move_file_with_http_info(self, src_path, dest_path, **kwargs):
429426
all_params.add("_request_timeout")
430427

431428
params = locals()
432-
for key, val in six.iteritems(params["kwargs"]):
429+
for key, val in params["kwargs"].items():
433430
if key not in all_params:
434431
raise TypeError("Got an unexpected keyword argument '%s'" " to method move_file" % key)
435432
if val is None:
@@ -538,7 +535,7 @@ def upload_file_with_http_info(self, path, file, **kwargs):
538535
all_params.add("_request_timeout")
539536

540537
params = locals()
541-
for key, val in six.iteritems(params["kwargs"]):
538+
for key, val in params["kwargs"].items():
542539
if key not in all_params:
543540
raise TypeError("Got an unexpected keyword argument '%s'" " to method upload_file" % key)
544541
if val is None:

aspose_barcode_cloud/api/folder_api.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import re # noqa: F401
66
import warnings # noqa: F401
77

8-
# python 2 and python 3 compatibility library
9-
import six
10-
118
from aspose_barcode_cloud.api_client import ApiClient
129

1310

@@ -75,7 +72,7 @@ def copy_folder_with_http_info(self, src_path, dest_path, **kwargs):
7572
all_params.add("_request_timeout")
7673

7774
params = locals()
78-
for key, val in six.iteritems(params["kwargs"]):
75+
for key, val in params["kwargs"].items():
7976
if key not in all_params:
8077
raise TypeError("Got an unexpected keyword argument '%s'" " to method copy_folder" % key)
8178
if val is None:
@@ -180,7 +177,7 @@ def create_folder_with_http_info(self, path, **kwargs):
180177
all_params.add("_request_timeout")
181178

182179
params = locals()
183-
for key, val in six.iteritems(params["kwargs"]):
180+
for key, val in params["kwargs"].items():
184181
if key not in all_params:
185182
raise TypeError("Got an unexpected keyword argument '%s'" " to method create_folder" % key)
186183
if val is None:
@@ -279,7 +276,7 @@ def delete_folder_with_http_info(self, path, **kwargs):
279276
all_params.add("_request_timeout")
280277

281278
params = locals()
282-
for key, val in six.iteritems(params["kwargs"]):
279+
for key, val in params["kwargs"].items():
283280
if key not in all_params:
284281
raise TypeError("Got an unexpected keyword argument '%s'" " to method delete_folder" % key)
285282
if val is None:
@@ -379,7 +376,7 @@ def get_files_list_with_http_info(self, path, **kwargs):
379376
all_params.add("_request_timeout")
380377

381378
params = locals()
382-
for key, val in six.iteritems(params["kwargs"]):
379+
for key, val in params["kwargs"].items():
383380
if key not in all_params:
384381
raise TypeError("Got an unexpected keyword argument '%s'" " to method get_files_list" % key)
385382
if val is None:
@@ -486,7 +483,7 @@ def move_folder_with_http_info(self, src_path, dest_path, **kwargs):
486483
all_params.add("_request_timeout")
487484

488485
params = locals()
489-
for key, val in six.iteritems(params["kwargs"]):
486+
for key, val in params["kwargs"].items():
490487
if key not in all_params:
491488
raise TypeError("Got an unexpected keyword argument '%s'" " to method move_folder" % key)
492489
if val is None:

aspose_barcode_cloud/api/storage_api.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
import re # noqa: F401
66
import warnings # noqa: F401
77

8-
# python 2 and python 3 compatibility library
9-
import six
10-
118
from aspose_barcode_cloud.api_client import ApiClient
129

1310

@@ -64,7 +61,7 @@ def get_disc_usage_with_http_info(self, **kwargs):
6461
all_params.add("_request_timeout")
6562

6663
params = locals()
67-
for key, val in six.iteritems(params["kwargs"]):
64+
for key, val in params["kwargs"].items():
6865
if key not in all_params:
6966
raise TypeError("Got an unexpected keyword argument '%s'" " to method get_disc_usage" % key)
7067
if val is None:
@@ -157,7 +154,7 @@ def get_file_versions_with_http_info(self, path, **kwargs):
157154
all_params.add("_request_timeout")
158155

159156
params = locals()
160-
for key, val in six.iteritems(params["kwargs"]):
157+
for key, val in params["kwargs"].items():
161158
if key not in all_params:
162159
raise TypeError("Got an unexpected keyword argument '%s'" " to method get_file_versions" % key)
163160
if val is None:
@@ -256,7 +253,7 @@ def object_exists_with_http_info(self, path, **kwargs):
256253
all_params.add("_request_timeout")
257254

258255
params = locals()
259-
for key, val in six.iteritems(params["kwargs"]):
256+
for key, val in params["kwargs"].items():
260257
if key not in all_params:
261258
raise TypeError("Got an unexpected keyword argument '%s'" " to method object_exists" % key)
262259
if val is None:
@@ -355,7 +352,7 @@ def storage_exists_with_http_info(self, storage_name, **kwargs):
355352
all_params.add("_request_timeout")
356353

357354
params = locals()
358-
for key, val in six.iteritems(params["kwargs"]):
355+
for key, val in params["kwargs"].items():
359356
if key not in all_params:
360357
raise TypeError("Got an unexpected keyword argument '%s'" " to method storage_exists" % key)
361358
if val is None:

0 commit comments

Comments
 (0)