Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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.

NotificationsYou must be signed in to change notification settings

svetjeonline/txtsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

🚀 Features

  • 🔍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.

📥 Installation

git clone https://github.com/svetjeonline/txtsearch.gitcd txtsearchpython install.pypython txtsearch.pybash

🛠️ Create a Virtual Environment

python -m venv venv.\venv\Scripts\activate# On Windowssource venv/bin/activate# On macOS/Linuxpip install -r requirements.txt

🚀 Run the Application:

python install.pypython txtsearch.py

🛠️ Usage

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.

🎯 Examples

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.

⚙️ Technical Details

GUI Framework: PyQt5File Processing Libraries:PDF: PyMuPDFDOCX: python-docxXLSX: openpyxlAsynchronous Processing: Utilizes threads (QThread) and ThreadPoolExecutor for efficient file processing.

📬 Contact

For questions or support, please reach out to the author atsvetjeonline@gmail.com

Application Screenshot

  ────── 𝓼𝓿𝓮𝓽𝓳𝓮𝓸𝓷𝓵𝓲𝓷𝓮 ──────

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp