Skip to content

Commit f6e1a0b

Browse files
committed
Release Aspose.Cells Cloud SDK 21.11
1 parent c30fb88 commit f6e1a0b

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/asposecellscloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asposecellscloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-python)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-python/21.10)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![PyPI](https://img.shields.io/pypi/v/asposecellscloud) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asposecellscloud) ![PyPI - Downloads](https://img.shields.io/pypi/dm/asposecellscloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-python)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-python/21.11)
22

33

44
# Python SDK for Spreadsheet Processing in Cloud
@@ -21,10 +21,12 @@ Python Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate M
2121
- Convert worksheets to PDF, XPS & SVG formats.
2222
- Inter-convert files to popular Excel formats.
2323

24-
## Feature & Enhancements in Version 21.10
24+
## Feature & Enhancements in Version 21.11
2525

26-
- Add new API for support delete multiple worksheets in a single call.
27-
- Add new API for supports batch convert excel files.
26+
- Add new API for workbook get page count on Aspose.Cells Cloud.
27+
- Add new API for worksheet get page count on Aspose.Cells Cloud.
28+
- Add new API for compress excel file on Aspose.Cells Cloud.
29+
- Add new feature for replace API.
2830

2931

3032
## Read & Write Spreadsheet Formats

test/test_cells_replace_api.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# coding: utf-8
2+
3+
from __future__ import absolute_import
4+
5+
import os
6+
import sys
7+
import unittest
8+
import warnings
9+
10+
ABSPATH = os.path.abspath(os.path.realpath(os.path.dirname(__file__)) + "/..")
11+
sys.path.append(ABSPATH)
12+
import asposecellscloud
13+
from asposecellscloud.rest import ApiException
14+
from asposecellscloud.apis.lite_cells_api import LiteCellsApi
15+
import AuthUtil
16+
17+
global_api = None
18+
class TestCellsReplaceApi(unittest.TestCase):
19+
""" CellsApi unit test stubs """
20+
21+
def setUp(self):
22+
warnings.simplefilter('ignore', ResourceWarning)
23+
global global_api
24+
if global_api is None:
25+
global_api = asposecellscloud.apis.lite_cells_api.LiteCellsApi(AuthUtil.GetClientId(),AuthUtil.GetClientSecret(),"v3.0",AuthUtil.GetBaseUrl())
26+
self.api = global_api
27+
28+
def tearDown(self):
29+
pass
30+
31+
def test_cells_compress(self):
32+
assemblytest = os.path.dirname(os.path.realpath(__file__)) + "/../TestData/" + "assemblytest.xlsx"
33+
datasource = os.path.dirname(os.path.realpath(__file__)) + "/../TestData/" + "datasource.xlsx"
34+
result = self.api.post_replace({ "assemblytest.xlsx" :assemblytest, "datasource.xlsx":datasource},"1","aspose.cells cloud")
35+
# print(result)
36+
pass
37+
if __name__ == '__main__':
38+
unittest.main()

0 commit comments

Comments
 (0)