Skip to main content

docxreviews2txt

Extract reviews changes and comments from a docx file as plan text.

How to install?

pip install docxreviews2txt

How to use?

$ docxreviews2txt -h
usage: docxreviews2txt [-h] [--save_txt | --save_p_xml] docx

positional arguments:
  docx          input docx

options:
  -h, --help    show this help message and exit
  --save_txt    save review as txt
  --save_p_xml  save extracted paragraphs xml for debugging

Example:

$ docxreviews2txt tests/lorem_ipsum.docx
# comments
- This is a comment from docx
# Typos and rewriting suggestions
- sit amet, consectetur  -> sit amet, consectetur Lorem ipsum
- sit amet, consectetur adipiscing elit, sed do -> sit amet, consectetur elit, sed do
- sit amet, consectetur adipiscing elit, sed -> sit amet, consectetur adipiscings elit, sed
- enim ad minim veniam, quis nostrud -> enim ad minim do veniam, quis nostrud
- enim ad minim veniam -> enim ad minim Lorem veniam
- veniam, quis nostrud -> veniam ipsum, quis nostrud
- sit amet, consectetur adipiscing elit, sed do -> sit amet, consectetur elit, sed do

References

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docxreviews2txt-0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docxreviews2txt-0.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file docxreviews2txt-0.2.tar.gz.

File metadata

  • Download URL: docxreviews2txt-0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for docxreviews2txt-0.2.tar.gz
Algorithm Hash digest
SHA256 0522f1bf39de6ebdb0c404ff592fd799a647e9f89d8d9940446312f2e96ad8cd
MD5 deb3e022064150605adebbf300be8035
BLAKE2b-256 2f194f59ebbccc6874cc184f5f6c57d6ca80bc797d1f087367cd37e69c78d28a

See more details on using hashes here.

File details

Details for the file docxreviews2txt-0.2-py3-none-any.whl.

File metadata

  • Download URL: docxreviews2txt-0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for docxreviews2txt-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a61f78c81e476f2e45ad1da6055d85f9766bddf21307b7e6e3cf6afd3d129813
MD5 396d3960e1b47f8548de7a40385ada53
BLAKE2b-256 e53f37929ce0eae090dc861939833b2b0da0383312c274d5f80a97ac1fa4e3d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page