A command-line application for exploring Microsoft Word, Excel, and PowerPoint files from Office 2007 and later.
Project description
opc-diag is a command-line application for exploring Microsoft Word, Excel, and PowerPoint files from Office 2007 and later. Also known as Office Open XML, the structure of these files adheres to the Open Packaging Convention (OPC), specified by ISO/IEC 29500.
opc-diag provides the opc
command, which allows OPC files to be browsed,
diff-ed, extracted, repackaged, and parts from one to be substituted into
another.
Its primary use is by developers of software that generates and/or manipulates Microsoft Office documents.
A typical use would be diff-ing a Word file from before and after an operation, say inserting a paragraph, to identify the specific changes Word made to the XML. This is handy when one is developing software to do the same without Word's help:
$ opc diff before.docx after.docx
Another main use is to diagnose an issue causing an Office document to not load cleanly, typically because the software that generated it has a bug. These problems can be tedious and often difficult to diagnose without tools like opc-diag, and were the primary motivation for developing it.
More information is available in the opc-diag documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opc_diag-1.1.1.tar.gz
.
File metadata
- Download URL: opc_diag-1.1.1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31683920f4a1430444682a4762d4cc05bd310846856c2e6486da5b7e14248444 |
|
MD5 | d4ca7970fcd927359ea4a7a37be2a3a8 |
|
BLAKE2b-256 | 6c3d9937de32b074449d322f4018547dd7721b98722913c5a092b21a356eb138 |
File details
Details for the file opc_diag-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: opc_diag-1.1.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6569b6d0fc39da9d0c334aa2617c587940e03eecfa61ce014f1258ebe6a2d237 |
|
MD5 | 266272b3e30a596b1909ffdb613c950b |
|
BLAKE2b-256 | 033dccea3a83bcb516fe90eb69724f628e2c9e2ed9e4113ba1e4c82163b1ac73 |