docxviewer
Copyright (c) 2018-2019 Eunhou Esther Song
This is a simple document previewer which allows users to preview multiple .docx documents at once. The options and flags include number of paragraphs to preview and number of documents to preview in a directory. The output prints the file name and paragraphs in each .docx file.
Python Package Index
https://pypi.org/project/docxviewer/
Installation
pip3 install docxviewer
Dependencies
- Python 3
- Click
- ipython
- python-docx
Command Line Options
- –help: see help page
- –see: raise flag to view the name of all .docx files in a directory
- –p_num: set number of paragraphs to preview, the default is 3
- –select: set number of documents to preview, the default is 3
- –all: raise flag to display preview of all documents in a directory
Examples
Displays names of all .docx files in a directory
docxviewer --see
Displays the first three paragraphs of three documents in a directory, selected by alaphabetical order.
docxviewer
Displays the first three paragraphs of all documents in a directory.
docxviewer --all
Displays the first six paragraphs of five documents in a directory.
docxviewer --p_num 6 --select 5
Output
>>docxviewer
125syllabus18fal.docx
现代中国小说选读
Chinese through Modern Fiction
MWF 12:30pm -1:20pm
FieldTrip01Overview(2018-10-13)-v02.docx
Urban Studies 20
LOGISTICAL SUMMARY
for
ch4.docx
Memo on Data and Prelim Analysis
Data Collection
Background
Metadata
Release files for docxviewer 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docxviewer-0.0.6.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docxviewer-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / docxviewer-0.0.6.tar.gz
| Download URL | docxviewer-0.0.6.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c6a0c54e9700a5f767f2ea97e37ea7452ee6cd6db1d4da2a624aeee448035a1
|
|
BLAKE2b-256 checksum How to use checksums |
9a9b60d265daf189c9866379fba7f42654ad6eb0ccf0caffa96516bc1a6bbe73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / docxviewer-0.0.6-py3-none-any.whl
| Download URL | docxviewer-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59032c441fdf5474d7e2446a7c37481a012c3f06630436abfc6003d2d2e22af1
|
|
BLAKE2b-256 checksum How to use checksums |
9a4d89881abe7cf5c2730212a22bf3db2c4cceb75a431f2935c838c4f4499ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Security for docxviewer 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.