Metadata-Version: 2.5
Name: xlio
Version: 0.3.0
Summary: Internal xlsx reader and writer of the sheetmill project, extracted from xlrecalc; not intended for direct use.
Project-URL: Homepage, https://github.com/sheetmill/xlio
Project-URL: Documentation, https://xlio.readthedocs.io
Project-URL: Source, https://github.com/sheetmill/xlio
Project-URL: Changelog, https://github.com/sheetmill/xlio/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/sheetmill/xlio/issues
Author: Ethan Post
License-Expression: MIT AND LicenseRef-Ecma-Text-Copyright-Policy
License-File: LICENSE
License-File: NOTICE
Keywords: excel,ooxml,reader,spreadsheet,writer,xlsm,xlsx
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# xlio

**xlio is an internal package of the sheetmill project.** It reads xlsx files as Excel reads
them and changes their cells without disturbing anything else. It was extracted from
[xlrecalc](https://github.com/sheetmill/xlrecalc), whose own reader and writer it began as, to be
shared by the sheetmill packages. It is not intended for direct use: its API may change in any
minor release (such as 0.3 to 0.4) without the deprecation period the public sheetmill packages
give, while patch releases only fix bugs and keep the API. If you depend on it anyway, pin a
minor version (for example `xlio==0.3.*`).

It is written in pure Python with the standard library only. The reader checks a package before
it parses anything (part count and sizes, compression methods, encryption, names used twice, a
DTD in any part) and refuses what Excel refuses; the writer copies every part it does not change
byte for byte and rewrites only the cells it is given.

xlio is part of the [sheetmill](https://github.com/sheetmill) project, with
[xlformat](https://github.com/sheetmill/xlformat), which applies Excel number formats,
[xlrecalc](https://github.com/sheetmill/xlrecalc), which recalculates workbooks, and
[sheetpeek](https://github.com/sheetmill/sheetpeek), which shows workbooks as Excel does.

## Development

`uv sync --group docs` then `uv run pytest`; `CONTRIBUTING.md` has the pip route, the full set of
checks and the commit conventions.

Most of the code is written with Claude Code, reviewed before each commit and tested against
results captured from Excel; see `CONTRIBUTING.md`.

## License

The code is under the MIT license (`LICENSE`). `src/xlio/data/presetTableStyles.xml`, the
built-in table and pivot table styles from ECMA-376, is under Ecma International's text
copyright policy, as published by Ecma; see `NOTICE`.
