spire-xls
A 100% standalone Excel Python API for Processing Excel Files
Decision gist · record as of 2026-08-14
Yes, with conditions. Spire.XLS is actively maintained and offers comprehensive Excel functionality without Office dependencies, making it valuable for automation and conversion tasks. However, the unclear license status requires verification before production use—confirm whether your use case (commercial, open-source, internal) is permitted under the proprietary terms. The compiled nature and platform-specific wheels mean you must match your OS and architecture exactly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later.
- Platform-specific wheel must match your OS and architecture (Windows x64, Linux x64/ARM64, macOS Intel/ARM64).
- Medium install friction due to platform-specific wheels (Windows, Linux, macOS including ARM64).
License · maintenance · safety
(unclear) — License treatment is unclear—classified as restricted/proprietary but with no SPDX identifier or raw license text provided. Verify licensing terms and any commercial restrictions before use in production.
last release 2026-07-17 (28 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 107,755 downloads/mo, #12,599 on PyPI
Alternatives
Verify before relying
pip install spire-xls
from spire.xls import Workbook
workbook = Workbook()
workbook.LoadFromFile('input.xlsx')
worksheet = workbook.Worksheets[0]
workbook.SaveToFile('output.pdf', FileFormat.PDF)- Whether the 'unclear' license permits commercial use without additional licensing fees or restrictions.
- Whether the library's compiled nature and proprietary status introduce any runtime licensing checks or phone-home behavior.
- Performance characteristics and memory footprint when processing large Excel files.
What it is and what it does
Spire.XLS is a proprietary compiled Python library that provides a complete API for working with Excel files without installing Microsoft Office. It handles creation, reading, writing, and conversion of Excel spreadsheets in formats including .xls, .xlsx, .xlsb, .xlsm, and .ods. The library supports a wide range of operations: cell manipulation (merging, formatting, borders, fonts), worksheet management (add, copy, delete, hide), formulas and calculations, charts, images, comments, conditional formatting, and security features like encryption and digital signatures.
The package depends on plum-dispatch and is distributed as platform-specific compiled wheels for Windows, Linux (x64 and ARM64), and macOS (Intel and ARM64). It requires Python 3.7 or later. The library's main strength is its ability to convert Excel files to multiple formats (PDF, HTML, CSV, XML, TXT, SVG, XPS, ODS) and perform complex spreadsheet automation without external dependencies like LibreOffice or Microsoft Office.
Use it for
- Automate batch conversion of Excel spreadsheets to PDF or other formats in server-side applications.
- Build data pipelines that read Excel files, manipulate cell data, and export to CSV or other formats.
- Generate Excel reports programmatically with formatted cells, charts, and formulas without Office.
- Encrypt or digitally sign Excel files for secure document distribution.
- Parse and extract data from legacy .xls files and modern .xlsx/.xlsm formats in a single codebase.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Spire.XLS is actively maintained and offers comprehensive Excel functionality without Office dependencies, making it valuable for automation and conversion tasks. However, the unclear license status requires verification before production use—confirm whether your use case (commercial, open-source, internal) is permitted under the proprietary terms. The compiled nature and platform-specific wheels mean you must match your OS and architecture exactly.
Install
spire-xls on PyPI
Before you install
Medium install friction due to platform-specific wheels (Windows, Linux, macOS including ARM64). Actively maintained with a release within the last month. Depends on plum-dispatch, a lightweight runtime dependency.
Requires Python 3.7 or later. Platform-specific wheel must match your OS and architecture (Windows x64, Linux x64/ARM64, macOS Intel/ARM64).
License in practice
License treatment is unclear—classified as restricted/proprietary but with no SPDX identifier or raw license text provided. Verify licensing terms and any commercial restrictions before use in production.
Quickstart
pip install spire-xls
from spire.xls import Workbook
workbook = Workbook()
workbook.LoadFromFile('input.xlsx')
worksheet = workbook.Worksheets[0]
workbook.SaveToFile('output.pdf', FileFormat.PDF)
Verify before relying
- Whether the 'unclear' license permits commercial use without additional licensing fees or restrictions.
- Whether the library's compiled nature and proprietary status introduce any runtime licensing checks or phone-home behavior.
- Performance characteristics and memory footprint when processing large Excel files.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packageplum-dispatch |
| Maintenance | Actively maintained 28 days since the last release |
| First released | |
| Downloads | 107,755 / month, #12,599 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: Free To Use But RestrictedLicense :: Other/Proprietary LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: Python :: 3.6 |
Evidence: spire_xls-16.7.1-py3-none-macosx_10_7_universal.whl; spire_xls-16.7.1-py3-none-macosx_11_0_arm64.whl; spire_xls-16.7.1-py3-none-manylinux2014_aarch64.whl; spire_xls-16.7.1-py3-none-manylinux_2_34_x86_64.whl; spire_xls-16.7.1-py3-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “read write excel spreadsheets”
- spire-xlsSpire.XLS is a compiled Python library for creating, reading,…
- aspose-cellsAspose.Cells for Python via Java is a library for creating, reading,…
- robotframework-excellibProvides Robot Framework keywords for reading, writing, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also spire-doc · aspose-cells · pylightxl · xlsx2csv · pycel · xlcalculator · formulas · aspose-cells-python · xlwt · xlsxwriter