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

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.1.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.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docxreviews2txt-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2b34a285fe4ae76414ec8dcfd0879eeee21dfd9c0154ceb0d3e7ddfb921dd093
MD5 90cbfa4ba44848030f40bf5f2477f225
BLAKE2b-256 d6e23ada1ec48b3594a953ea6590e531ae3220a9554c92857ddcb146fa8fbdda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docxreviews2txt-0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b587cc6aaecceec3e2db53ba012dc9a300322f17b54c444bcb9ece369a1e24d7
MD5 6fca0332cf07facb5a4a8e79eedf8c7d
BLAKE2b-256 6277266b949913d62d663b003d341366bc5eb48e412862ab136a8d9ee70cf752

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