Skip to main content

Listen to your favourite audiobook

Project description

website title image

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

repo language github stars github forks code size

pypi status download docs dependices

discord invite pyttsx3 total contributors

Installation

Install using pypi

pip install audiobook
from audiobook import AudioBook
ab = AudioBook() # argument: Speech-Speed="slow/normal/fast"

ab.save_audio(file_path, password=None) # save audio file 
ab.read_book(file_path, password=None) # listen to the book

Usages

The audiobook is a python module for listening to your favourite 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 using a Linux system and 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

V1.0.0

  • Save Audio Book locally
  • Listen to the book
  • Speech-speed control
  • Read password protected PDF
  • Create json file for the book

Upcoming Features

  • Support more extensions

Author

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

Contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audiobook-2.0.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file audiobook-2.0.0.tar.gz.

File metadata

  • Download URL: audiobook-2.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for audiobook-2.0.0.tar.gz
Algorithm Hash digest
SHA256 df3fbcff3c49602712371e9147b6283d957f05bb1097d8c90e03e431e9581fd5
MD5 6c4706aa57b4248d4d82ba5cdbf362bc
BLAKE2b-256 249a4bdb9acd6f19b81a1497aca557314941a5377b6571a061d8d36612172395

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page