Spreadsheet Format Export for Python

Aspose.Cells FOSS for Python provides straightforward export from Excel workbooks to every format the FOSS library supports. A single workbook.save() call handles the full output pipeline — XLSX, CSV, TSV, Markdown, or JSON — preserving cell values and formulas without requiring Microsoft Office.

Installation and Setup

pip install aspose-cells-foss

Import the core classes:

from aspose.cells_foss import Workbook, SaveFormat, Cell
from aspose.cells_foss import MarkdownHandler, MarkdownSaveOptions
from aspose.cells_foss import CSVSaveOptions

Supported Output Formats

FormatSaveFormat ConstantNotes
XLSXSaveFormat.XLSXDefault format; preserves styles, formulas, charts
CSVSaveFormat.CSVComma-separated; first sheet only by default
TSVSaveFormat.TSVTab-separated values; first sheet only. Implemented as CSV with tab delimiter.
MarkdownSaveFormat.MARKDOWNGenerates standard Markdown tables
JSONSaveFormat.JSONStructured JSON representation of sheet data

Important: Aspose.Cells FOSS does not support export to PDF, HTML, PNG, TIFF, DOCX, or PPTX. These are available in the commercial aspose-cells-python package only.


See Also

 English