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.3.tar.gz (3.9 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.3-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docxreviews2txt-0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • 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.6

File hashes

Hashes for docxreviews2txt-0.3.tar.gz
Algorithm Hash digest
SHA256 40d6ecdf9a4f687ac541d6a0c77f3c10d70d0fd73b192a0b770b8c8c4dcda6f4
MD5 d459c27c56d68628d49f212650db8bcb
BLAKE2b-256 5f9f8465dad371f419e4c6ccb0b275e69064ed337201fa3a8c6fba6247edf2a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docxreviews2txt-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.1 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.6

File hashes

Hashes for docxreviews2txt-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24203aec824731f6677096874a0b0ee47a7313c0ff94b15ee61d639d115de66e
MD5 926113a672c2321110ee5ab174734471
BLAKE2b-256 7535a583175cc94f6ffb82a54beadf4fdb2acd50b8b1b1da3880bfc973669654

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