website title image

👉 Listen to any PDF book with just a few line of Python code👈

repo language github stars github forks code size

pypi status download docs dependices

discord invite pyttsx3 total contributors

Installation

Install it from pypi

pip install audiobook
from audiobook import AudioBook
ab = AudioBook("file_path")
ab.text_to_speech()

Usages

The audiobook is a python module to listen to your fav pdf book.

Test

Run tests:

pip install -r requirements.txt
python -m unittest tests

Documentation

Read Detailed Documentation here

Linux installation requirements

  • If you are on a linux system and if the voice output is not working , then : Install espeak , ffmpeg and libespeak1 as shown below:
sudo apt update && sudo apt install espeak ffmpeg libespeak1

Roadmap

  • speech speed control
  • Support more extensions
  • save the audiobook for future

Project status

  • Alpha

Author

  • Module : AudioBook
  • Author : py-contributors
  • Language : Python