Comparison
openpyxl vs PyExcelerate vs xlsxwriter vs xlwt
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 openpyxlAccelerated Excel XLSX Writing Library for Python 2/3
Maintained. Last release 18 months ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install pyexcelerateA 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 xlsxwriterLibrary to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install xlwtIn short
- openpyxl is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- xlwt looks abandoned: avoid it for new projects.
- xlsxwriter is the most used: 188.9M downloads a month.
- xlsxwriter also has the best Pythie’s Index (71).
- xlsxwriter is growing fastest: downloads +21% over the last month.
- Safe default for a new project: xlsxwriter.
Side by side
| Metric | openpyxl | PyExcelerate | xlsxwriter | xlwt |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | Pythie’s Index: 43 | Pythie’s Index: 71 | Pythie’s Index: 19 |
| Verdict | Slowing down | Maintained | Actively maintained | Likely abandoned |
| Downloads / month | 381.3M | 412.7K | 188.9M | 9.7M |
| Downloads, month over month | +18% | +8% | +21% | +26% |
| GitHub stars | – | 560 | 4K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 9.2K | 10 | 0 | 398 |
| Last release | Jun 28, 2024 | May 23, 2025 | Nov 29, 2026 | Aug 22, 2017 |
| Releases, 12 months | 0 | 0 | 6 | 0 |
| Weeks with commits | – | 6 / 26 | 6 / 26 | – |
| Recent contributors | – | 6 | 8 | – |
| First release | Aug 2010 | May 2016 | Feb 2013 | Sep 2008 |
| Python versions | 3.6 – 3.11 | 3.4 – 3.8 | 3.8 – 3.14 | 3.3 – 3.6 |
| License | MIT | non-standard | BSD-2-Clause | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.