PDF Page Counter is a Python-based desktop application designed to count the number of pages in PDF files located in a specific directory. The application offers the following features:
- Graphical User Interface: User-friendly GUI created with Tkinter.
- Directory Selection: Choose a directory and optionally include subfolders for PDF search.
- Progress Indicators: Real-time updates on search and processing progress.
- Multi-threading & Multiprocessing: Efficient handling of file operations and PDF page counting to speed up the process.
- Excel Reporting: Save the results, including errors, to an Excel file for further analysis.
Figure 1: User-friendly interface showing folder selection, progress indicators, and results display.
-
Clone the Repository:
git clone https://github.com/yourusername/pdf-page-counter.git
-
Navigate to the Directory:
cd pdf-page-counter
-
Install Dependencies: Make sure you have Python installed. Install the required Python packages using:
pip install -r requirements.txt
-
Run the Application:
python pdf_page_counter.py
- Open the Application: Run the script to open the GUI.
- Select Folder: Click on the "Select Folder" button to choose the directory containing your PDF files.
- Start Counting: Click "Start Counting Pages" to begin the page counting process.
- View Results: The results, including the total number of pages and PDFs, will be displayed in the application.
- Save to Excel: The application will save a detailed report to an Excel file in the selected directory.
- Python 3.x
- Tkinter (included with Python)
- PyPDF2
- pandas
- openpyxl
Feel free to fork this repository and submit pull requests. Any contributions to improve the application are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
Python
,PDF
,Tkinter
,GUI
,File Processing
,Multi-threading
,Multiprocessing
,Automation
,PDF Tools
,PDF Page Counter
,Desktop Application
,Excel Report
,PDF Analysis