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.

Demo of Autiobooks in action

Kokoro is an open-weight text-to-speech model with 82 million parameters. It yields natural sounding output while being able to run on consumer hardware.

It supports American, British English, French, Korean, Japanese and Mandarin (though we only-support English, for now) and a wide range of different voices with different accents and prosody.

PRs are welcome!

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

You will require ffmpeg and tkinter installed:

Linux:

sudo apt install ffmpeg python3-tkinter

MacOS:

brew install ffmpeg python3-tkinter

To start the program, run:

autiobooks

The program creates .wav files for each chapter, then combines them into a .m4b file for playing using an audiobook player.

Author

by David Nesbitt, distributed under MIT license. Check out the excellent project audiblez if you'd prefer a command-line interface.

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.1.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.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autiobooks-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2dea62690439db16795570b4bbc2bcdbd0aa24e397b32de380c867f86a1d1e29
MD5 475b77bde026a6bf7fe03bfa658975ed
BLAKE2b-256 35dbb3de607c79086eb6fec07899746c9af2fc35254942b2127649b8ee0efebd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autiobooks-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e529142c343b6a943234fa69120caf3d636f379f6606b8d8c044e1cc7c2c0c2
MD5 7ba6e75ff0f742d38690b5daf1a5d50d
BLAKE2b-256 1ed4dbcb124320afea76c0d2b05b0c942c6967134f395379f503f6117d0b138a

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