A python library built to search for keywords in .docx files.
pip install docx_search
Requires git.
Git clone https://github.com/WaldemarBjornstrom/docx_search
Then place the downloaded files in your project.
import docx_search
docx_search.run('Keyword', 'Path\\to\\file') # Returns a list with files that contain the keyword.
NOTE! The Keyword is case sensitive. And remember tu use double backslashes in the file path as python sees a single backslash as an escape marker.
This project is licensed under the GNU GPLv3 License. See LICENSE