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.

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 audiblez if you'd prefer a command-line interface. This project uses some code from the project but has diverged.

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-1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

autiobooks-1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for autiobooks-1.0.tar.gz
Algorithm Hash digest
SHA256 1552f8794c26d1f791e55be65f12e0347919129db049c59e04cab670de4fb6f1
MD5 015d7d00741701fc33d6a68d5409d72d
BLAKE2b-256 864333728783c06a28a580f6f13439075665afcc0ed107e0a90432b91ac824e1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for autiobooks-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2fb964c7e50c32b6217d8fce4815b0ccdb25111faafd2723ffb7b4f94dc5b26
MD5 87983ae2e9cd80ef06237f95b1c9b27f
BLAKE2b-256 15d165a75a1fea9221d6e2b956a5ceeb97e2bd6b72c7bd229ad23f3257ec498e

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