- Notifications
You must be signed in to change notification settings - Fork0
Advanced txtsearch is a desktop app for searching phrases across file formats like .txt, .pdf, .docx, and .xlsx. Built with PyQt5, it offers an intuitive interface, real-time progress tracking, and highlights search results.
svetjeonline/txtsearch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
txtsearch
is a desktop application built with PyQt5 for searching specific phrases within files in a selected directory. The application supports searching within multiple file types and provides a user-friendly interface to view and save search results.
- 🔍Phrase Search: Search for specific phrases within files in a selected directory.
- 📂Multiple File Types: Supports
.txt
,.pdf
,.docx
,.xlsx
, and all files. - 📊Progress Tracking: Displays search progress and results in a table.
- ✨Highlighting: Highlights occurrences of the phrase in the file content.
- 💾Save Results: Save search results to a text file.
- 🛑Stop Search: Ability to stop ongoing searches.
git clone https://github.com/svetjeonline/txtsearch.gitcd txtsearchpython install.pypython txtsearch.pybash
python -m venv venv.\venv\Scripts\activate# On Windowssource venv/bin/activate# On macOS/Linuxpip install -r requirements.txt
python install.pypython txtsearch.py
Start the Application: Run the application using the command provided in the installation section.Enter a Phrase: Type the phrase you want to search for in the input field.Select File Type: Choose the file type(s) to search within from the dropdown menu or select "All Files."Choose Directory: Click the "Select Folder" button to choose the directory to search in.Start Search: Click "Start Search" to initiate the search process.Stop Search: Click "Stop Search" to halt the search before completion if needed.Save Results: Click "Save Results" to save the search results to a text file.View File Content: Double-click a row in the results table to view the content of the selected file.
Searching Text in PDF Files:
Enter the phrase "project" and select .pdf as the file type.Click "Start Search" to find all PDF files containing the phrase "project."Saving Results:
After the search is complete, click "Save Results" and save the results to a file like results.txt.
GUI Framework: PyQt5File Processing Libraries:PDF: PyMuPDFDOCX: python-docxXLSX: openpyxlAsynchronous Processing: Utilizes threads (QThread) and ThreadPoolExecutor for efficient file processing.
For questions or support, please reach out to the author atsvetjeonline@gmail.com
────── 𝓼𝓿𝓮𝓽𝓳𝓮𝓸𝓷𝓵𝓲𝓷𝓮 ──────
About
Advanced txtsearch is a desktop app for searching phrases across file formats like .txt, .pdf, .docx, and .xlsx. Built with PyQt5, it offers an intuitive interface, real-time progress tracking, and highlights search results.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.