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.2.tar.gz (49.0 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.2-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kenkui-0.3.2.tar.gz
  • Upload date:
  • Size: 49.0 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.2.tar.gz
Algorithm Hash digest
SHA256 78d804fa89de122085dab76e9047d27efbd58bcaee3c178a78301b9745f3e32e
MD5 49360ef47abea49f30e91f519fff9198
BLAKE2b-256 1a52e7e2ecc6db94a01f3f80c7dd97d5c67a141a26263e06e70d0cec1f4c9f04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kenkui-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5789d3fe4a3c68943d2b3388a80e99bbdf7392be694ba820f947ad30e5ec1204
MD5 78ee983a26c70cd994bed0e832131ed5
BLAKE2b-256 24e8292832baa28e77fa8b198e943f22ad06344fe6d0f7fb99e4179dccc5b016

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