Comparison
openpyxl vs spire-xls vs xlsxwriter
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Python library to read/write Excel 2010 xlsx/xlsm files
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install openpyxlA 100% standalone Excel Python API for Processing Excel Files
Actively maintained. Last release 3 months ago. A safe choice.
$
pip install spire-xlsA Python module for creating Excel XLSX files.
Actively maintained. Last release 3 days ago, commits in 6 of the last 26 weeks. A safe choice.
$
pip install xlsxwriterIn short
- openpyxl is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- xlsxwriter is the most used: 188.9M downloads a month.
- Maintenance is comparable: spire-xls 77, xlsxwriter 71 on Pythie’s Index.
- xlsxwriter is growing fastest: downloads +21% over the last month.
- Safe default for a new project: xlsxwriter.
Side by side
| Metric | openpyxl | spire-xls | xlsxwriter |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | Pythie’s Index: 77 | Pythie’s Index: 71 |
| Verdict | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 381.3M | 155.1K | 188.9M |
| Downloads, month over month | +18% | +15% | +21% |
| GitHub stars | – | – | 4K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 9.2K | 1 | 0 |
| Last release | Jun 28, 2024 | Aug 25, 2026 | Nov 29, 2026 |
| Releases, 12 months | 0 | 6 | 6 |
| Weeks with commits | – | – | 6 / 26 |
| Recent contributors | – | – | 8 |
| First release | Aug 2010 | Sep 2023 | Feb 2013 |
| Python versions | 3.6 – 3.11 | 3.6 | 3.8 – 3.14 |
| License | MIT | non-standard | BSD-2-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.