Registry / data / aspose-cells

aspose-cells

JSON →
library26.4.0pypypi✓ verified 30d ago

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.

dataserialization
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from asposecells import JObject

Minimal example: create a workbook, add text, save as XLSX.

import os from asposecells.api import Workbook, License, SaveFormat, FileFormatType # Set license (optional; if not set, watermark appears) # license = License() # license.set_license(os.environ.get('ASPOSE_LICENSE_PATH', '')) # Create a new workbook wb = Workbook() # Get the first worksheet ws = wb.getWorksheets().get(0) # Add text ws.getCells().get("A1").putValue("Hello, Aspose.Cells!") # Save as XLSX wb.save("output.xlsx", SaveFormat.XLSX) print("Excel file created successfully.")
Debug
Known footguns
breakingAspose.Cells for Python via Java requires Java Runtime (JRE) installed. The library uses a Java bridge via JPype. Without JRE, import fails.
gotchaThe library is not recommended for headless Linux servers without a display? Actually, it works headless, but some chart rendering requires a display. Use Xvfb or set Java AWT headless property.
deprecatedThe method `Workbook.save(String, SaveFormat)` with file format argument is deprecated in favor of `Workbook.save(String, SaveOptions)`. The old overload still works but may raise warnings.
gotchaImporting from asposecells directly (e.g., `import asposecells`) does not expose classes. Must import from asposecells.api.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources