new file: AGENTS.md modified: pyproject.toml modified: src/epub_tts/__main__.py new file: src/epub_tts/tts_backend.py
epub-tts
Python project to gather several projects that convert EPUB files to audiobooks (M4B files, mostly), with different TTS backends.
Requirements
Recent Python (>=3.11), pip (>=22.3), some sort of virtula environment recommended (such as the builtin venv package), and a Rust compatible platform (avoid embedded systems which do not have pre-built binaries for the compiled requirements, e.g., Android's Termux try to build everything from sources and fails miserably when doing so).
Installation
-
[Optional] Create virtual environment anywhere, e.g.:
python -m venv .venvand activate it.- See your virtual environment package's documentation, such as
venv - A virtual environment may be “activated” using a script in its binary directory (
binon POSIX;Scriptson Windows). - Example:
source .venv/bin/activateor.venv\Scripts\Activate.ps1
- See your virtual environment package's documentation, such as
-
Install depedencies with
pip install ., which should read the[dependencies]section in pyproject.toml orpip install -e '.[dev]'to install in editable mode, includingdevdependencies section ([optional-depedencies]). -
Test install running
epub-tts --version- Make sure the venv is activated or that pip installed the package in your PATH
Citation
There is no need for academic citation specifics, just mention this project's URL and author, according to LICENSE.
License
See LICENSE.
Agents
See AGENTS.md.