Skip to main content

Automatically convert epubs to audiobooks

Project description

Autiobooks Automatically convert epubs to audiobooks

Installing via pip and running PyPI - Python Version PyPI - Version

Autiobooks generates .m4b audiobooks from regular .epub e-books, using Kokoro's high-quality speech synthesis.

Kokoro v0.19 is a recently published text-to-speech model with just 82M params and very natural sounding output. It's released under Apache licence and it was trained on < 100 hours of audio. It currently supports American, British English, French, Korean, Japanese and Mandarin, and a bunch of very good voices.

How to install and run

If you have Python 3 on your computer, you can install it with pip. Be aware that it won't work with Python 3.13. Then you also need to download a couple of additional files in the same folder, which are about ~360MB:

pip install autiobooks

To start the program, run:

autiobooks

It will first create a bunch of book_chapter_1.wav, book_chapter_2.wav, etc. files in the same directory, and at the end it will produce a book.m4b file with the whole book you can listen with VLC or any audiobook player. It will only produce the .m4b file if you have ffmpeg installed on your machine.

Author

by David Nesbitt, distributed under MIT license. Check out the excellent project https://github.com/sanatic/audiblez if you'd prefer a command-line interface. This project uses some code from the project but will diverge.

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

autiobooks-0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autiobooks-0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file autiobooks-0.1.tar.gz.

File metadata

  • Download URL: autiobooks-0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for autiobooks-0.1.tar.gz
Algorithm Hash digest
SHA256 ee435718dc6f0d9030a8fbf1ba8de3b6f6e774832d6bf8378dc38c58ba1cf1f9
MD5 2d80a53cc3e4dd22335932b40c4f57a2
BLAKE2b-256 a4d5bd0760179d8b47fe35fa97e5f28ce532c3a35597d1c091a601955e15a72d

See more details on using hashes here.

File details

Details for the file autiobooks-0.1-py3-none-any.whl.

File metadata

  • Download URL: autiobooks-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for autiobooks-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee49aba2587ede5addacf3fe35957f8e7b9092d2538e37f3d108dc3f800c29b1
MD5 f6700c551ba03fb3fa5364c298373e5f
BLAKE2b-256 2e01ddd14cf15b05aaefbb2194f5d03a30a719b4291d166d65a6706d00d9fed8

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