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 one 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.0

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.0
File Size Uploaded
xray_docx-1.0.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xray-docx 1.0.0
File Interpreter ABI Platform
xray_docx-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.9 kB

Release files / xray_docx-1.0.0.tar.gz

Download URL xray_docx-1.0.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a3e7c69ead1b5faaa1d9b29ebda2543c346bbe9cf6f587bc242ceaa7d3349860
BLAKE2b-256 checksum
How to use checksums
e831f067ea58b9c16ac4f8eb68c1120375b29ead6299feecdfbf80c0438f6e7c
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.0-py3-none-any.whl

Download URL xray_docx-1.0.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f402824fe49a5a6b722ae41689f40df66e19ea4ba1f864495b496d76356a97a
BLAKE2b-256 checksum
How to use checksums
f3b4c0b71eb9c146a455e0d2f5babd5e4cd610f9a1b2d32c15f36b9ac4746b3c
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

1.0.1

2 release files

This release

1.0.0 This release

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