docxreviews2txt
Command line tool to extract review changes and comments from a docx file as plain text. It is particullary usefull after do review changes in pdf files at docx editor (e.g., MS Word, gdocs).
How to install?
pip install docxreviews2txt
How to use it?
usage: docxreviews2txt [-h] [--version] docx
Command line tool to extract review changes from a docx file as plain text
positional arguments:
docx input docx
options:
-h, --help show this help message and exit
--version show version
Example:
$ docxreviews2txt tests/lorem_ipsum.docx
txt reviews at file:///C:/Users/alan/src/docxreviews2txt/tests/lorem_ipsum_review.txt
$ cat c:/Users/alan/src/docxreviews2txt/tests/lorem_ipsum_review.txt
# comments
- This is a comment from docx
# Typos and rewriting suggestions
# Typos suggestions (using HTML tags <ins> and <del>)
- dolor sit amet, consectetur <ins>Lorem ipsum</ins><del>adipiscing</del>
- sit amet, consectetur adipiscing<ins>s</ins> elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <ins>do</ins>
- Ut enim ad minim <ins>Lorem</ins>veniam<ins>ipsum</ins>
- dolor sit amet, consectetur <del>adipiscing</del>
Known issues
The tool fails to capture changes in Docx files with text organized in tables (e.g., pdf2docx converts columns to tables).
References
This project takes inspiration from:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docxreviews2txt-0.4.4-py3-none-any.whl.
File metadata
- Download URL: docxreviews2txt-0.4.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ac6c4c9621f93557ed97a9d246efd5f89ebb59e006e8d5004edeba534e28346
|
|
| MD5 |
f92cd4dddbef48817c7f60fb48e4aeb8
|
|
| BLAKE2b-256 |
c1f5cbff71c4fbc638fadaac92476651b7ffd8bd5033934a358f76c4bf90d5e7
|