PDF_Player is a Python application that provides a user-friendly interface to read PDF files, convert them to audio, and play the audio. It utilizes Tkinter for the graphical user interface, pygame for audio playback, and pypdf for PDF parsing.
This tool is designed to assist users in listening to their PDF documents and navigating pages seamlessly through an intuitive GUI.
- Copy the files to your machine:
git clone https://github.com/GabrielGRR/Desafio_Python_2.git - Navigate into the folder:
cd Desafio_Python_2 - Create your virtual environment:
python -m venv venv - Activate your virtual environment:
venv/Scripts/Activate - Install the required dependencies:
pip install -r docs/requirements.txt - Run the program:
python main.py
PDFPlayer/
├── app.py # Main application file
├── results/
│ └── sound/ # Directory for generated audio files
│ └── current.wav # Current page audio file
│ └── pdf.wav # Default audio file
├── docs/
│ └── images/ # Icons and additional resources
│ └── OrangePD_icon2.ico
└── requirements.txt # List of dependencies
- Thread Safety: Some threading issues might occur with slider updates.
- Audio garbage: The best practice is to create the .wav audio file in the OS temp folder.
- GUI Responsiveness: Limited testing on different screen sizes.