Skip to content

Commit ab55484

Browse files
committed
20220120 update:renmae litecellsapi to lightcellsapi.
1 parent 9106ff2 commit ab55484

19 files changed

+75
-75
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Python Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate M
2323

2424
## Feature & Enhancements in Version 22.1
2525

26-
- Improvement for conversion API.
27-
- Improvement for batch data import to support to set cell formula.
28-
- Improvement for setting row height and column wight to support to set multi-rows and multi-columns.
29-
- Support to set cell formula in batch data import.
30-
- Add a new API for updating the list column.
31-
- Add a new API for reversing columns and rows.
32-
- Add new APIs for grouping and ungrouping shapes.
26+
- SaveAs API add the parameter of target storage name.
27+
- Workbok merged API add the parameter of merged file storage name.
28+
- Workbok split API add the parameter of target storage name
29+
- Workbok smart marker API add the parameter of output storage name.
30+
- Batch convert API add the parameters of intput and output storage name.
31+
- Remove AutoshapesController from Aspose.Cells Cloud.
32+
- Rename LiteCellsApi to LightCellsApi.
3333

3434

3535
## Read & Write Spreadsheet Formats

asposecellscloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281

282282
# import apis into sdk package
283283
from .apis.cells_api import CellsApi
284-
from .apis.lite_cells_api import LiteCellsApi
284+
from .apis.light_cells_api import LightCellsApi
285285

286286
# import ApiClient
287287
from .api_client import ApiClient

asposecellscloud/apis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# import apis into api package
44
from .cells_api import CellsApi
5-
from .lite_cells_api import LiteCellsApi
5+
from .light_cells_api import LightCellsApi

asposecellscloud/apis/lite_cells_api.py renamed to asposecellscloud/apis/light_cells_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from ..api_client import ApiClient
3636

3737

38-
class LiteCellsApi(object):
38+
class LightCellsApi(object):
3939

4040
def __init__(self,clientid, clientsecret, version='v3.0', base_uri= 'https://api.aspose.cloud', api_client=None):
4141
self.clientid = clientid

docs/LiteCellsApi.md renamed to docs/LightCellsApi.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# asposecellscloud.LiteCellsApi
1+
# asposecellscloud.LightCellsApi
22

33
All URIs are relative to *https://api.aspose.cloud/v3.0*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**delete_metadata**](LiteCellsApi.md#delete_metadata) | **POST** /cells/metadata/delete |
8-
[**get_metadata**](LiteCellsApi.md#get_metadata) | **POST** /cells/metadata/get |
9-
[**post_assemble**](LiteCellsApi.md#post_assemble) | **POST** /cells/assemble |
10-
[**post_clear_objects**](LiteCellsApi.md#post_clear_objects) | **POST** /cells/clearobjects |
11-
[**post_export**](LiteCellsApi.md#post_export) | **POST** /cells/export |
12-
[**post_merge**](LiteCellsApi.md#post_merge) | **POST** /cells/merge |
13-
[**post_metadata**](LiteCellsApi.md#post_metadata) | **POST** /cells/metadata/update |
14-
[**post_protect**](LiteCellsApi.md#post_protect) | **POST** /cells/protect |
15-
[**post_search**](LiteCellsApi.md#post_search) | **POST** /cells/search |
16-
[**post_split**](LiteCellsApi.md#post_split) | **POST** /cells/split |
17-
[**post_unlock**](LiteCellsApi.md#post_unlock) | **POST** /cells/unlock |
18-
[**post_watermark**](LiteCellsApi.md#post_watermark) | **POST** /cells/watermark |
7+
[**delete_metadata**](LightCellsApi.md#delete_metadata) | **POST** /cells/metadata/delete |
8+
[**get_metadata**](LightCellsApi.md#get_metadata) | **POST** /cells/metadata/get |
9+
[**post_assemble**](LightCellsApi.md#post_assemble) | **POST** /cells/assemble |
10+
[**post_clear_objects**](LightCellsApi.md#post_clear_objects) | **POST** /cells/clearobjects |
11+
[**post_export**](LightCellsApi.md#post_export) | **POST** /cells/export |
12+
[**post_merge**](LightCellsApi.md#post_merge) | **POST** /cells/merge |
13+
[**post_metadata**](LightCellsApi.md#post_metadata) | **POST** /cells/metadata/update |
14+
[**post_protect**](LightCellsApi.md#post_protect) | **POST** /cells/protect |
15+
[**post_search**](LightCellsApi.md#post_search) | **POST** /cells/search |
16+
[**post_split**](LightCellsApi.md#post_split) | **POST** /cells/split |
17+
[**post_unlock**](LightCellsApi.md#post_unlock) | **POST** /cells/unlock |
18+
[**post_watermark**](LightCellsApi.md#post_watermark) | **POST** /cells/watermark |
1919

2020

2121
# **delete_metadata**
@@ -32,15 +32,15 @@ from asposecellscloud.rest import ApiException
3232
from pprint import pprint
3333

3434
# create an instance of the API class
35-
api_instance = asposecellscloud.LiteCellsApi()
35+
api_instance = asposecellscloud.LightCellsApi()
3636
file = '/path/to/file.txt' # file | File to upload
3737
type = 'all' # str | (optional) (default to all)
3838

3939
try:
4040
api_response = api_instance.delete_metadata(file, type=type)
4141
pprint(api_response)
4242
except ApiException as e:
43-
print("Exception when calling LiteCellsApi->delete_metadata: %s\n" % e)
43+
print("Exception when calling LightCellsApi->delete_metadata: %s\n" % e)
4444
```
4545

4646
### Parameters
@@ -79,15 +79,15 @@ from asposecellscloud.rest import ApiException
7979
from pprint import pprint
8080

8181
# create an instance of the API class
82-
api_instance = asposecellscloud.LiteCellsApi()
82+
api_instance = asposecellscloud.LightCellsApi()
8383
file = '/path/to/file.txt' # file | File to upload
8484
type = 'all' # str | (optional) (default to all)
8585

8686
try:
8787
api_response = api_instance.get_metadata(file, type=type)
8888
pprint(api_response)
8989
except ApiException as e:
90-
print("Exception when calling LiteCellsApi->get_metadata: %s\n" % e)
90+
print("Exception when calling LightCellsApi->get_metadata: %s\n" % e)
9191
```
9292

9393
### Parameters
@@ -126,7 +126,7 @@ from asposecellscloud.rest import ApiException
126126
from pprint import pprint
127127

128128
# create an instance of the API class
129-
api_instance = asposecellscloud.LiteCellsApi()
129+
api_instance = asposecellscloud.LightCellsApi()
130130
file = '/path/to/file.txt' # file | File to upload
131131
datasource = 'datasource_example' # str |
132132
format = 'Xlsx' # str | (optional) (default to Xlsx)
@@ -135,7 +135,7 @@ try:
135135
api_response = api_instance.post_assemble(file, datasource, format=format)
136136
pprint(api_response)
137137
except ApiException as e:
138-
print("Exception when calling LiteCellsApi->post_assemble: %s\n" % e)
138+
print("Exception when calling LightCellsApi->post_assemble: %s\n" % e)
139139
```
140140

141141
### Parameters
@@ -175,15 +175,15 @@ from asposecellscloud.rest import ApiException
175175
from pprint import pprint
176176

177177
# create an instance of the API class
178-
api_instance = asposecellscloud.LiteCellsApi()
178+
api_instance = asposecellscloud.LightCellsApi()
179179
file = '/path/to/file.txt' # file | File to upload
180180
objecttype = 'objecttype_example' # str |
181181

182182
try:
183183
api_response = api_instance.post_clear_objects(file, objecttype)
184184
pprint(api_response)
185185
except ApiException as e:
186-
print("Exception when calling LiteCellsApi->post_clear_objects: %s\n" % e)
186+
print("Exception when calling LightCellsApi->post_clear_objects: %s\n" % e)
187187
```
188188

189189
### Parameters
@@ -222,7 +222,7 @@ from asposecellscloud.rest import ApiException
222222
from pprint import pprint
223223

224224
# create an instance of the API class
225-
api_instance = asposecellscloud.LiteCellsApi()
225+
api_instance = asposecellscloud.LightCellsApi()
226226
file = '/path/to/file.txt' # file | File to upload
227227
object_type = 'object_type_example' # str |
228228
format = 'format_example' # str |
@@ -231,7 +231,7 @@ try:
231231
api_response = api_instance.post_export(file, object_type, format)
232232
pprint(api_response)
233233
except ApiException as e:
234-
print("Exception when calling LiteCellsApi->post_export: %s\n" % e)
234+
print("Exception when calling LightCellsApi->post_export: %s\n" % e)
235235
```
236236

237237
### Parameters
@@ -271,7 +271,7 @@ from asposecellscloud.rest import ApiException
271271
from pprint import pprint
272272

273273
# create an instance of the API class
274-
api_instance = asposecellscloud.LiteCellsApi()
274+
api_instance = asposecellscloud.LightCellsApi()
275275
file = '/path/to/file.txt' # file | File to upload
276276
format = 'xlsx' # str | (optional) (default to xlsx)
277277
merge_to_one_sheet = false # bool | (optional) (default to false)
@@ -280,7 +280,7 @@ try:
280280
api_response = api_instance.post_merge(file, format=format, merge_to_one_sheet=merge_to_one_sheet)
281281
pprint(api_response)
282282
except ApiException as e:
283-
print("Exception when calling LiteCellsApi->post_merge: %s\n" % e)
283+
print("Exception when calling LightCellsApi->post_merge: %s\n" % e)
284284
```
285285

286286
### Parameters
@@ -320,15 +320,15 @@ from asposecellscloud.rest import ApiException
320320
from pprint import pprint
321321

322322
# create an instance of the API class
323-
api_instance = asposecellscloud.LiteCellsApi()
323+
api_instance = asposecellscloud.LightCellsApi()
324324
file = '/path/to/file.txt' # file | File to upload
325325
document_properties = asposecellscloud.CellsDocumentProperty() # CellsDocumentProperty | Cells document property.
326326

327327
try:
328328
api_response = api_instance.post_metadata(file, document_properties)
329329
pprint(api_response)
330330
except ApiException as e:
331-
print("Exception when calling LiteCellsApi->post_metadata: %s\n" % e)
331+
print("Exception when calling LightCellsApi->post_metadata: %s\n" % e)
332332
```
333333

334334
### Parameters
@@ -367,15 +367,15 @@ from asposecellscloud.rest import ApiException
367367
from pprint import pprint
368368

369369
# create an instance of the API class
370-
api_instance = asposecellscloud.LiteCellsApi()
370+
api_instance = asposecellscloud.LightCellsApi()
371371
file = '/path/to/file.txt' # file | File to upload
372372
password = 'password_example' # str |
373373

374374
try:
375375
api_response = api_instance.post_protect(file, password)
376376
pprint(api_response)
377377
except ApiException as e:
378-
print("Exception when calling LiteCellsApi->post_protect: %s\n" % e)
378+
print("Exception when calling LightCellsApi->post_protect: %s\n" % e)
379379
```
380380

381381
### Parameters
@@ -414,7 +414,7 @@ from asposecellscloud.rest import ApiException
414414
from pprint import pprint
415415

416416
# create an instance of the API class
417-
api_instance = asposecellscloud.LiteCellsApi()
417+
api_instance = asposecellscloud.LightCellsApi()
418418
file = '/path/to/file.txt' # file | File to upload
419419
text = 'text_example' # str |
420420
password = 'password_example' # str | (optional)
@@ -424,7 +424,7 @@ try:
424424
api_response = api_instance.post_search(file, text, password=password, sheetname=sheetname)
425425
pprint(api_response)
426426
except ApiException as e:
427-
print("Exception when calling LiteCellsApi->post_search: %s\n" % e)
427+
print("Exception when calling LightCellsApi->post_search: %s\n" % e)
428428
```
429429

430430
### Parameters
@@ -465,7 +465,7 @@ from asposecellscloud.rest import ApiException
465465
from pprint import pprint
466466

467467
# create an instance of the API class
468-
api_instance = asposecellscloud.LiteCellsApi()
468+
api_instance = asposecellscloud.LightCellsApi()
469469
file = '/path/to/file.txt' # file | File to upload
470470
format = 'format_example' # str |
471471
password = 'password_example' # str | (optional)
@@ -476,7 +476,7 @@ try:
476476
api_response = api_instance.post_split(file, format, password=password, _from=_from, to=to)
477477
pprint(api_response)
478478
except ApiException as e:
479-
print("Exception when calling LiteCellsApi->post_split: %s\n" % e)
479+
print("Exception when calling LightCellsApi->post_split: %s\n" % e)
480480
```
481481

482482
### Parameters
@@ -518,15 +518,15 @@ from asposecellscloud.rest import ApiException
518518
from pprint import pprint
519519

520520
# create an instance of the API class
521-
api_instance = asposecellscloud.LiteCellsApi()
521+
api_instance = asposecellscloud.LightCellsApi()
522522
file = '/path/to/file.txt' # file | File to upload
523523
password = 'password_example' # str |
524524

525525
try:
526526
api_response = api_instance.post_unlock(file, password)
527527
pprint(api_response)
528528
except ApiException as e:
529-
print("Exception when calling LiteCellsApi->post_unlock: %s\n" % e)
529+
print("Exception when calling LightCellsApi->post_unlock: %s\n" % e)
530530
```
531531

532532
### Parameters
@@ -565,7 +565,7 @@ from asposecellscloud.rest import ApiException
565565
from pprint import pprint
566566

567567
# create an instance of the API class
568-
api_instance = asposecellscloud.LiteCellsApi()
568+
api_instance = asposecellscloud.LightCellsApi()
569569
file = '/path/to/file.txt' # file | File to upload
570570
text = 'text_example' # str |
571571
color = 'color_example' # str |
@@ -574,7 +574,7 @@ try:
574574
api_response = api_instance.post_watermark(file, text, color)
575575
pprint(api_response)
576576
except ApiException as e:
577-
print("Exception when calling LiteCellsApi->post_watermark: %s\n" % e)
577+
print("Exception when calling LightCellsApi->post_watermark: %s\n" % e)
578578
```
579579

580580
### Parameters

test/test_cells_assembly_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path.append(ABSPATH)
1212
import asposecellscloud
1313
from asposecellscloud.rest import ApiException
14-
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
14+
from asposecellscloud.apis.light_cells_api import LightCellsApi
1515
import AuthUtil
1616

1717
global_api = None
@@ -22,7 +22,7 @@ def setUp(self):
2222
warnings.simplefilter('ignore', ResourceWarning)
2323
global global_api
2424
if global_api is None:
25-
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
25+
global_api = asposecellscloud.apis.light_cells_api.LightCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
2626
self.api = global_api
2727

2828
def tearDown(self):

test/test_cells_clear_object_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path.append(ABSPATH)
1212
import asposecellscloud
1313
from asposecellscloud.rest import ApiException
14-
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
14+
from asposecellscloud.apis.light_cells_api import LightCellsApi
1515
import AuthUtil
1616

1717
global_api = None
@@ -22,7 +22,7 @@ def setUp(self):
2222
warnings.simplefilter('ignore', ResourceWarning)
2323
global global_api
2424
if global_api is None:
25-
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
25+
global_api = asposecellscloud.apis.light_cells_api.LightCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
2626
self.api = global_api
2727

2828
def tearDown(self):

test/test_cells_compress_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path.append(ABSPATH)
1212
import asposecellscloud
1313
from asposecellscloud.rest import ApiException
14-
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
14+
from asposecellscloud.apis.light_cells_api import LightCellsApi
1515
import AuthUtil
1616

1717
global_api = None
@@ -22,7 +22,7 @@ def setUp(self):
2222
warnings.simplefilter('ignore', ResourceWarning)
2323
global global_api
2424
if global_api is None:
25-
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
25+
global_api = asposecellscloud.apis.light_cells_api.LightCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
2626
self.api = global_api
2727

2828
def tearDown(self):

test/test_cells_export_object_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
sys.path.append(ABSPATH)
1212
import asposecellscloud
1313
from asposecellscloud.rest import ApiException
14-
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
14+
from asposecellscloud.apis.light_cells_api import LightCellsApi
1515
import AuthUtil
1616

1717
global_api = None
@@ -22,7 +22,7 @@ def setUp(self):
2222
warnings.simplefilter('ignore', ResourceWarning)
2323
global global_api
2424
if global_api is None:
25-
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
25+
global_api = asposecellscloud.apis.light_cells_api.LightCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
2626
self.api = global_api
2727

2828
def tearDown(self):

test/test_cells_import_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
sys.path.append(ABSPATH)
1515
import asposecellscloud
1616
from asposecellscloud.rest import ApiException
17-
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
17+
from asposecellscloud.apis.light_cells_api import LightCellsApi
1818
import AuthUtil
1919

2020
global_api = None
@@ -25,7 +25,7 @@ def setUp(self):
2525
warnings.simplefilter('ignore', ResourceWarning)
2626
global global_api
2727
if global_api is None:
28-
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
28+
global_api = asposecellscloud.apis.light_cells_api.LightCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
2929
self.api = global_api
3030

3131
def tearDown(self):

0 commit comments

Comments
 (0)