Convert your Pdf in cool AudioBook with 3 lines of python code

in #python4 years ago (edited)

This article was originally published at CodePerfectPlus

AudioBook 🔊

Download
The AudioBook is a python module to Listen to your favorite pdf 📖. It also can be used offline.

Documentation

Check the Audiobook Documentation here

Installation

Install it from pypi

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

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

Links

GitHubPypiDocumentation

Contributions are welcome. Share your feedback in the comments.

Read more articles on CodePerfectPlus

Coin Marketplace

STEEM 0.21
TRX 0.26
JST 0.040
BTC 96627.81
ETH 3416.66
USDT 1.00
SBD 3.09