Xray DOCX CLI
Inspect the XML package inside a DOCX file without uploading it. The CLI uses only the Python standard library.
Install
python -m pip install xray-docx
Requires Python 3.12 or later. The xray-docx command is installed with the package.
Use
xray-docx report.docx
xray-docx report.docx --json
xray-docx report.docx --part word/document.xml
xray-docx report.docx --output xml-parts.zip
The command reports document structure and review markup, can print full inspection JSON or a formatted XML part, and can export XML parts to a ZIP while preserving their original bytes. It does not modify the source document.
Metadata
Release files for xray-docx 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xray_docx-1.0.1.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xray_docx-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.7 kB
Release files / xray_docx-1.0.1.tar.gz
| Download URL | xray_docx-1.0.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e65ec52af09853f66c213603aabcc7a4f38e3c1258f82b50a8590c154c212f4
|
|
BLAKE2b-256 checksum How to use checksums |
90b46496522c72c3909a1d246214b5b79ff7aa9186fda0acf19dc5e5e6258cac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|
Release files / xray_docx-1.0.1-py3-none-any.whl
| Download URL | xray_docx-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7397bee966dd6765465f8bad94174a58a98f45461c099108822cffaa493894f
|
|
BLAKE2b-256 checksum How to use checksums |
6a4e1052707094fda1436833192a02f7867bbefb183765c5d3b9078a61bf5515
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|