Skip to main content

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)

Source distribution for xray-docx 1.0.1
File Size Uploaded
xray_docx-1.0.1.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xray-docx 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page