Repository navigation
v0.1.0 — first alpha
Pre-releasedocx-repro reduces DOCX parser bug reports while a user-supplied checker confirms the exact symptom. The first alpha removes whole body blocks without reserializing the document XML, and preserves supporting part payloads.
The runnable Mammoth 1.13.0 example reduces 201 body blocks to one while keeping a documented text-loss symptom and a hyperlink relationship. The input remains unchanged. Reports record checks, hashes, retained indices and the search status.
Included:
- A dependency-free Python 3.10+ CLI and explicit checker protocol.
- Repeated baseline, candidate and final confirmation; execution and check-count limits.
- Namespace-preserving byte edits, common range-marker guards and overwrite protection.
- MIT license, synthetic examples, documentation and contribution guidance.
Validation: 40 automated tests passed on Windows and Linux with Python 3.10 and 3.13. A fresh local wheel installation also passed the suite and demo. Repacking preserved part payloads, Mammoth HTML and warnings across 10 upstream MarkItDown DOCX fixtures.
This is an alpha with a focused scope: whole top-level body blocks, UTF-8/ASCII main XML and standard DOCX package locations. Supporting package parts remain present. Reduction is not anonymization or a guarantee of identical rendering; review files before sharing them. There is no PyPI release yet.
Install the tagged source:
python -m pip install "git+https://github.com/capt1nedev/docx-repro.git@v0.1.0"See the repository README for the checker contract and runnable demo. SHA256SUMS covers the downloadable wheel and source distribution.