Skip to main content

Convert Ebooks to Audiobooks with [custom] voice samples

Project description

Kenkui

Kenkui is basically a fancy wrapper for Kyutai's pocket-tts, with support for ebook parsing. It is multithreaded, and runs faster than any other tool I've used, so I figured I'd start a project to make it easier to use.

Quick Start

uv tool install kenkui
kenkui <your ebook name>.epub

Usage

You can pass a file or directory into kenkui, and it will search directories recursively for .epub files and convert them to m4b files.

Use --voice to specify the voice you want to use.

Use --list-voices to see all of the voices available.

Use --select-chapters and --select-books to specify which chapters or books you want to use.

To test out the default voices, go to kyutai's official website to try them out.

Notes

At this time we do not plan on supporting mp3, not because it's hard, but because m4b is a wonderful format. There is also currently not support for ebook formats other than epub. I'm sure it'll get added in the future.

For similar reasons, currently only pocket-tts is supported as the tts provider. It's the smallest, fastest, and most feature complete at the moment.

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

kenkui-0.3.1.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

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

kenkui-0.3.1-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file kenkui-0.3.1.tar.gz.

File metadata

  • Download URL: kenkui-0.3.1.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kenkui-0.3.1.tar.gz
Algorithm Hash digest
SHA256 12f4b8efbb79df8844a14ba24e923c91735d3a9c55e41dcebd99c77d15edac07
MD5 0faf8f42b1ee55a4d774893fcf00cac0
BLAKE2b-256 940b9ed74b7b6f48a03a5d7c6666b830fa40d05724daee9e5a8e43b7834450ed

See more details on using hashes here.

File details

Details for the file kenkui-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: kenkui-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kenkui-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 342766e35932f05adef5f21db0c981d9c3622f5d286190d53daef83d404c7437
MD5 3bf2ba4a3f174c58cb7963adac3104f1
BLAKE2b-256 dfbe269ac333810a43894d402905f734b88779bd1140a870ee28d48143877b9a

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