xlutils
Utilities for working with Excel files that require both xlrd and xlwt
What it is and what it does
xlutils is a collection of utilities that work with Excel files by combining functionality from xlrd and xlwt. It provides modules for copying Excel workbooks, displaying spreadsheet information, filtering and splitting files, detecting data margins, saving modified workbooks, and manipulating cell styles. The package acts as a bridge between xlrd and xlwt, which were designed separately and do not directly interoperate.
The package is mature but abandoned, with its last release in 2016-06-09. It supports Python 2 and early Python 3 versions according to classifiers. While it has no known security vulnerabilities, its age raises questions about compatibility with modern Python versions and current Excel formats.
Use it for:
- Read an Excel file with xlrd, modify its content, and write it back using xlutils.copy and xlutils.save.
- Filter or split large Excel files into smaller workbooks based on row or column criteria using xlutils.filter.
- Determine how much of an Excel file contains actual data versus empty cells using xlutils.margins.
- Copy formatting and styles from one Excel workbook to another using xlutils.styles.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
xlutils provides utilities for reading, writing, copying, and filtering Excel files by bridging xlrd and xlwt packages.
No—not for new projects. The package is abandoned (last release 2016-06-09) and receives no active maintenance. Only consider xlutils if you must maintain legacy code that already depends on it.
Install
xlutils on PyPI
pip
pip install xlutilsuv
uv add xlutilspoetry
poetry add xlutilsInstalling xlutils
Before you install
Low install friction with only two runtime dependencies (xlrd and xlwt). However, the package is abandoned—last release was 2016-06-09, over 3718 days ago. No active maintenance or security updates.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install xlutils
from xlrd import open_workbook
from xlutils.copy import copy
from xlutils.save import save
rb = open_workbook('input.xls')
wb = copy(rb)
save(wb, 'output.xls')
Verify before relying
- Whether xlrd and xlwt dependencies remain compatible with current Python versions given xlutils' age.
- Whether the package works reliably with modern Excel file formats or is limited to legacy .xls.
- Active community support or maintained alternatives for Excel manipulation.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — xlrd, xlwt |
| Maintenance | abandoned — 3,718 days since the last release |
| First released | |
| Downloads | 1,024,542/month — #4,486 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: xlutils-2.0.0-py2.py3-none-any.whl
Keywords: excel, xls, xlrd, xlwt
Tags
More Spreadsheet packages
gspread provides a Python interface to read,…
permissive · top 1,000 on PyPI
streamlitStreamlit transforms Python scripts into…
permissive · top 1,000 on PyPI
xlwtGenerates Microsoft Excel 97–2003 XLS…
permissive · top 5,000 on PyPI
dashDash is a Python framework for building…
permissive · top 5,000 on PyPI
numpy-financialProvides elementary financial functions (IRR,…
permissive · top 5,000 on PyPI
gspread-dataframeConverts between Google Sheets worksheets and…
permissive · top 5,000 on PyPI
xlrdxlrd reads data and formatting information from…
permissive · top 1,000 on PyPI
xlrd3Reads data from Excel spreadsheet files (.xls…
permissive · top 15,000 on PyPI
excelrdExtracts data from Microsoft Excel spreadsheet…
permissive · top 15,000 on PyPI
pyexcel-xlsReads, manipulates, and writes data in xls…
permissive · top 5,000 on PyPI
types-xlrdProvides type hints for the xlrd library,…
permissive · top 15,000 on PyPI
xlcalculatorReads MS Excel files and translates Excel…
permissive · top 15,000 on PyPI
xlwingsxlwings lets you call Python from Excel and…
permissive · top 5,000 on PyPI
agate-excelAdds Excel file (xls and xlsx) read support to…
permissive · top 15,000 on PyPI
spire-xlsSpire.XLS is a compiled Python library for…
unclear · top 15,000 on PyPI