Our take
Maintaineda few commits in the last 90 days- Activity
- 29
- Community
- 64
- Issues
- 21
- Pull requests
- 43
+4 stars in the last 30 days
xlrd is a focused option for legacy .xls reading, with recent maintenance activity but no release in the past year and limited recent issue and pull request handling.
Good fit if
- Your input files are specifically historical .xls workbooks.
- You need Python access to worksheet values, dimensions, comments, or hyperlinks.
- You can work within its documented limitations on formulas and embedded spreadsheet features.
Look elsewhere if
- You need to read .xlsx or other newer Excel formats.
- Your workflow depends on formulas, macros, charts, filters, pivot tables, or other unsupported features.
- Your adoption process requires a recent release or active recent issue closure; none is recorded in the supplied project health data.
All health signals
| Last commit | 2026-10-12 (25 days ago) |
|---|---|
| Commits, last 90 days | 2 |
| Releases, last 12 months | 0 |
| Contributors | 39 (top contributor: 52% of commits) |
| Issues closed, last 90 days | 0 |
| Pull requests merged, last 90 days | 1 |
| Project age | 14 years |
Checked on 2026-11-07 with the GitHub API.
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
2,208Forks
438Change since Nov 17, 2026: +2 stars·0 forks
Overview
xlrd is a Python library for reading data and formatting information from historical Excel .xls files. It is intended for developers who need to inspect workbooks and extract worksheet contents, such as cell values, dimensions, and names. The project explicitly no longer reads other Excel formats, so .xlsx files need a different library.
It can also expose cell comments and hyperlinks. Formula results can be extracted, but formulas themselves are not supported, and several embedded or interactive spreadsheet features are ignored. See the project site for alternatives when you need formats or capabilities outside this scope.
Key Features
- Opens historical
.xlsworkbooks from Python. - Lists worksheet names and reads sheets by index or name.
- Provides worksheet dimensions and cell values.
- Reads cell comments through
Sheet.cell_note_map. - Exposes hyperlinks through
Sheet.hyperlink_listandSheet.hyperlink_map. - Extracts calculated formula results, but not formulas themselves.
- Includes a command-line script for displaying selected rows from
.xlsfiles.
Use Cases
- A Python data pipeline needs to extract tabular values from a collection of legacy
.xlsworkbooks. - A developer is adding support for older Excel files to an application that already processes data in Python.
- An analyst needs a small script to inspect worksheet names, dimensions, or selected cell values in
.xlsfiles. - A migration project needs to read old workbooks before converting their contents into another format.
What you need
Detected in the repository
- Python (from setup.py)
- A test suite
Getting Started
Install from PyPI:
pip install xlrd
Then open a workbook with xlrd.open_workbook("myfile.xls"). See the README for examples and command-line usage.
License in Plain Words
No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.
Considerations
- xlrd only reads
.xlsfiles. The README directs users to other libraries for newer Excel formats. - Charts, macros, pictures and other embedded objects, VBA modules, and a range of spreadsheet features such as autofilters, pivot tables, conditional formatting, and data validation are not supported. These are ignored where applicable.
- Password-protected files cannot be read. Formula calculations are available as results, but formulas are not.
- The project is marked maintained and has a few recent commits, though it has had no release in over a year. The supplied data shows 39 contributors overall, with contributions not classified as concentrated around one person; no issues were closed in the recent measurement period and one pull request was merged.
- The project is Python-based, with tests present in the supplied repository facts. CI was not detected in those facts.
Found this useful?
Share it with someone who would like xlrd.