Aspose.Cells for Python via .Net is a scalable and feature-rich API to process Excel spreadsheets using Python. Developers can format worksheets, rows, columns or cells, create manipulate chart and pivot tables, render worksheets, charts and specific data ranges to PDF or images, add calculate Excel’s builtin and custom formulas - all without any dependency on Microsoft Office or Excel application.
Project description
Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA
Try our free online apps demonstrating some of the most popular Aspose.Cells functionality.
Aspose.Cells for Python via .Net is a scalable and feature-rich API to process Excel spreadsheets using Python. API offers Excel file creation, manipulation, conversion and rendering. Developers can format worksheets, rows, columns or cells to the most granular level, create manipulate chart and pivot tables, render worksheets, charts and specific data ranges to PDF or images, add calculate Excel’s builtin and custom formulas and much more - all without any dependency on Microsoft Office or Excel application.
Aspsoe.Cells API Features
Aspose.Cells offers a wide arrange of features for creating, reading, manipulating and saving Excel® files:
Spreadsheet generation & manipulation via API.
High-quality file format conversion & rendering.
Print Microsoft Excel® files to physical or virtual printers.
Combine, modify, protect, or parse Excel® sheets.
Apply worksheet formatting.
Configure and apply page setup for the worksheets.
Create & customize Excel® charts, Pivot Tables, conditional formatting rules, slicers, tables & spark-lines.
Convert Excel® charts to images & PDF.
Convert Excel® files to various other formats.
Formula calculation engine that supports all basic and advanced Excel functions.
Supported Read & Write Formats
Microsoft Excel®: XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM, CSV, TSV, TabDelimited, SpreadsheetML
OpenOffice: ODS, SXC, FODS
Text: TXT
Web: HTML, MHTML
iWork®: Numbers
Other: SXC, FODS
Save Excel® Files As
Microsoft Word®: DOCX
Microsoft PowerPoint®: PPTX
Microsoft Excel®: XLAM
Fixed Layout: PDF, XPS
Data Interchange: DIF
Vector Graphics: SVG
Image: TIFF,PNG, BMP, JPEG, GIF
Metafile: EMF
Markdown: MD
Create Excel File from scratch using Python
#import the python package
import aspose.cells
from aspose.cells import License,Workbook,FileFormatType
#Create a new Workbook
workbook = Workbook()
#Get the first worksheet
worksheet=workbook.worksheets[0]
#Get the "A1" cell
cells=worksheet.cells
cell=cells.get("A1")
#Write "Hello World" to "A1" in the first sheet
cell.put_value("Hello World!")
#save this workbook to XLSX
workbook.save("HelloWorld.xlsx")
Convert Excel XLSX File to PDF using Python
#import the python package
import aspose.cells
from aspose.cells import License,Workbook,FileFormatType
workbook = Workbook("bookwithChart.xlsx")
#save this workbook to resultFile,you can see a chart while open the file with MS-Excel*/
workbook.save("Convert.pdf");
Create Excel File and set style for the cells
import aspose.cells as ac
import aspose.pydrawing as ad
from aspose.cells import License,Workbook,FileFormatType
workbook = Workbook()
worksheet=workbook.worksheets[0]
#get cells style
style=worksheet.cells.style
#set font color
style.font.color=ad.Color.green
#set pattern
style.pattern=ac.BackgroundType.GRAY12
#set Background
style.background_color = ad.Color.red
#set Border
style.set_border(ac.BorderType.LEFT_BORDER,ac.CellBorderType.THIN,ad.Color.blue)
style.set_border(ac.BorderType.RIGHT_BORDER,ac.CellBorderType.DOUBLE,ad.Color.gold)
#set string value to cell 'A1'
cells=worksheet.cells
cell=cells.get("A1")
cell.put_value("Text")
#apply style to cell 'A1'
cell.set_style(style)
#save this workbook to resultFile
workbook.save("Style.xlsx")
Product Page | Docs | Demos | Blog | Free Support | Temporary License | EULA
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for aspose_cells_python-22.11.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6ce0c7f780993a994853950a53fda1a3437a0f25c65b3abb38f30b2fb4b2f34 |
|
MD5 | a4b9ec4361cfe93d458b0a7faf437dab |
|
BLAKE2b-256 | 619484ba36cd094f5db249fdcb77342265c065275c5efd0616ea0c0cccf7ebbf |
Hashes for aspose_cells_python-22.11.0-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c61eda56d1ea2188fa77ace26fab304f2c37312f638354b945ba6934dc4aad6c |
|
MD5 | c959d0891cc896520202f122c54e7229 |
|
BLAKE2b-256 | 6f8aabfa39d1bb05204725741a1ad22596030934e499dcb3de7fcce1efdcf691 |
Hashes for aspose_cells_python-22.11.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50732ae7d19a1691701889b9e0c88c0124b560f32653efb450738aa742951942 |
|
MD5 | efdb3152b7bb3de6637827fe201fa693 |
|
BLAKE2b-256 | 8e8eb7758faf75285705e7b829aab749cb91cbfccb9bf57520241c117801f3a7 |
Hashes for aspose_cells_python-22.11.0-py3-none-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 511fd9604fc348d31f27d84bf9ad8fcd954ade0cf07aed2dbabee86b5e0e8abe |
|
MD5 | 75187bf3698c1b4281ada4af028f8412 |
|
BLAKE2b-256 | 276343fe78c482052166302008987074c254af4666934e130378c5b3d487b414 |