Aspose.Cells Cloud
Aspose.Cells Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.
With Aspose.Cells Cloud you can work with all aspects of spreadsheets: worksheets, rows, columns, cells, text, data, images, links, comments, formulas, charts, and many more, PDF, XPS, EPUB and many other formats. Aspose.Cells Cloud is a complete solution for performing any operation you can wish to perform on Microsoft Excel spreadsheets in the cloud. Learn More
What’s new in the latest release
This is a major revamp release for Aspose.Cells Cloud SDK for Python. It covers all the Aspose.Cells Cloud APIs. This SDK provides a complete solution for integrating Microsoft Excel in Python using powerful Aspose.Cells Cloud APIs, so you can perform any operation on Microsoft Excel spreadsheets in the cloud seamlessly.
Source Code Repository
Complete source code of this release of Aspose.Cells Cloud SDK for Python is freely available on your favorite GitHub repository.
- Aspose.Cells Cloud SDK for Python – v1.0.0
Setup
Aspose.Words Cloud SDK for Python is also available as released package in the PyPI (Python Package Index) . You can bypass GitHub source code repository and depend directly on the released package by installing from PyPI:
PyPI Aspose.Cells Cloud SDK for Python Installation
pip install asposecellscloud
OR
easy_install asposecellscloud
Data
In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3th party cloud storage using Aspose.Storage Cloud SDK for Python.
Quick SDK Tutorial
import asposecellscloud
from asposecellscloud.CellsApi import CellsApi
from asposecellscloud.CellsApi import ApiException
import asposestoragecloud
from asposestoragecloud.StorageApi import StorageApi
from asposestoragecloud.StorageApi import ResponseMessage
import random
import string
apiKey = "XXXXX" #sepcify App Key
appSid = "XXXXX" #sepcify App SID
apiServer = "https://api.aspose.cloud/v3.0"
data_folder = "../../data/"
#Instantiate Aspose Storage API SDK
storage_apiClient = asposestoragecloud.ApiClient.ApiClient(apiKey, appSid, True)
storageApi = StorageApi(storage_apiClient)
#Instantiate Aspose Cells API SDK
api_client = asposecellscloud.ApiClient.ApiClient(apiKey, appSid, True)
cellsApi = CellsApi(api_client);
#set input file name
filename = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8))
filename = filename + ".xlsx"
try:
#invoke Aspose.Cells Cloud SDK API to create an empty workbook
response = cellsApi.PutWorkbookCreate(name=filename, file=None)
if response.Status == "OK":
print "Empty Workbook has been created successfully"
#download Workbook from storage server
response = storageApi.GetDownload(Path=filename)
outfilename = "c:/temp/" + filename
with open(outfilename, 'wb') as f:
for chunk in response.InputStream:
f.write(chunk)
except ApiException as ex:
print "ApiException:"
print "Code:" + str(ex.code)
print "Message:" + ex.message
Aspose.Cells Cloud API Documentation
Aspose.Cells Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Cells Cloud REST API.
Aspose.Cells Cloud SDK for Python Examples
Aspose.Cells Cloud SDK for Python Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.Cells Cloud REST API. Please see the SDK examples of following categories.
- Working with Workbook
- Working with Worksheets
- Working with Rows
- Working with Cells
- Working with Cells’ Properties
- Working with Images
- Working with Charts
- Working with Pivot Tables
- Working with Text
- Working with OleObjects
- Working with Pictures
- Working with Hyperlink
- Working with Document Properties
Start a Free Trial Today
Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.