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

in #python3 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.15
TRX 0.12
JST 0.025
BTC 56166.62
ETH 2397.45
USDT 1.00
SBD 2.37