Paper Office

Paper Office is a suite of agent-first forks of python-docx, python-pptx, and openpyxl. Each package keeps the familiar import name and expands the API for understanding and editing existing Office files.

The libraries expose file structure as data, validate supported changes, and refuse operations they cannot handle safely.

Word

paper-docx

v0.2.0

Extends python-docx with document-wide search, tracked edits, comments, composition, and reversible redlines, allowing agents to revise and review existing Word documents using Word's native review model.

PowerPoint

paper-pptx

v0.2.0

Extends python-pptx with inherited-format inspection, native bullets, guarded slide and shape edits, cross-deck composition, and structural diffs, enabling surgical diffing of PowerPoint files.

Excel

paper-xlsx

v0.2.1

Extends openpyxl with package-preserving saves, reference-aware structural edits, edit receipts, and LibreOffice-backed recalculation, supporting diffs that account for formulas, dependencies, and package content.