Skip to main content

Tool for previewing multiple .docx files in a directory

Project description


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


pip3 install docxviewer


  • 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


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.


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



Chinese through Modern Fiction
MWF 12:30pm -1:20pm

Urban Studies 20

Memo on Data and Prelim Analysis 
Data Collection

Project details

Download files

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

Files for docxviewer, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size docxviewer-0.0.6-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size docxviewer-0.0.6.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page