Aspose.Cells for Python via Java is a high-performance library for Excel file manipulation and conversion. Current version 26.4.0 supports Python 3.8–3.13. It allows creating, editing, and converting spreadsheets (XLS, XLSX, XLSB, ODS, CSV, HTML) without Microsoft Office. Release cadence: monthly updates.
pip install aspose-cellsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example: create a workbook, add text, save as XLSX.
Install Java 8 or later (e.g., OpenJDK) and ensure JAVA_HOME is set.
Set environment variable: JAVA_OPTS='-Djava.awt.headless=true' or in code: import os; os.environ['JAVA_OPTS'] = '-Djava.awt.headless=true' before importing asposecells.
Use SaveOptions subclasses (e.g., XlsxSaveOptions()) or use SaveFormat directly but prepare for removal.
Use `from asposecells.api import Workbook` instead of `import asposecells`.