The project is aimed at enhancing pdf to audiobook processing , It makes use of a few python packages to open , decrypt and save content as an audiofile
PyPDF2
pikepdf
pyttsx3
os
- Download the commandLine.py file and run it in your desired folder from your terminal
- Install the required packages
- Run the file in your terminal
~$ aud -help
~$ aud .conv -voiceOption filename.pdf startPage:endPage
~$ aud .conv -f mydocument.pdf 3:5
- Male option : Use '-m' as the voice option
~$ aud .conv -m mydocument.pdf 3:5
- Female option : Use '-f' as the voice option
~$ aud .conv -f mydocument.pdf 3:5
- Ability to convert all pdfs to audiobooks in a directory at once
~$ aud .conv -f all
- Convert a pdf from a specific start point to end :
~$ aud .conv -f mydocument.pdf 3:END
- Convert from the beginning to a specific page
~$ aud .conv -f mydocument.pdf START:5
- You probably want to add to this project, So why not fork and create a pull request ?