Compare commits

...
Author SHA1 Message Date
Deniz Şafak de4c418dff v1.3.0 2026-02-06 23:54:22 +03:00
2 changed files with 62 additions and 53 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
# Unreleased
# 1.3.0
- Special thanks to [@jeremiahsb](https://github.com/jeremiahsb) for his [massive contribution](https://github.com/denizsafak/abogen/pull/120) (>55k lines!) that brought the Web UI, EPUB 3 pipeline, and core architectural improvements to life.
- Added an EPUB 3 packaging pipeline that builds media-overlay EPUBs from generated audio and chunk metadata.
- Persisted chunk timing metadata in job artifacts and exercised the exporter with automated tests.
- Added Flask-based Web UI (`abogen-web`) for Docker and headless server deployments.
+25 -15
View File
@@ -5,13 +5,27 @@ build-backend = "hatchling.build"
[project]
name = "abogen"
description = "Generate audiobooks from EPUBs, PDFs and text with synchronized captions."
authors = [
{ name="Deniz Şafak", email="denizsafak98@gmail.com" }
]
authors = [{ name = "Deniz Şafak", email = "denizsafak98@gmail.com" }]
readme = "README.md"
license = "MIT"
requires-python = ">=3.10, <3.13"
keywords = ["audiobook", "epub", "pdf", "text-to-speech", "subtitle", "tts", "kokoro", "accessibility", "book-converter", "voice-synthesis", "multilingual", "chapter-management", "subtitles", "content-creation", "media-generation"]
keywords = [
"audiobook",
"epub",
"pdf",
"text-to-speech",
"subtitle",
"tts",
"kokoro",
"accessibility",
"book-converter",
"voice-synthesis",
"multilingual",
"chapter-management",
"subtitles",
"content-creation",
"media-generation",
]
dependencies = [
"pip",
"kokoro>=0.9.4",
@@ -20,7 +34,6 @@ dependencies = [
"ebooklib>=0.19",
"beautifulsoup4>=4.13.4",
"spacy>=3.8.7,<4.0",
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
"PyMuPDF>=1.25.5",
"platformdirs>=4.3.7",
"soundfile>=0.13.1",
@@ -36,7 +49,7 @@ dependencies = [
"gpustat>=1.1.1",
"num2words>=0.5.13",
"httpx>=0.27.0",
"PyQt6>=6.5.0"
"PyQt6>=6.5.0",
]
classifiers = [
@@ -48,7 +61,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent"
"Operating System :: OS Independent",
]
dynamic = ["version"]
@@ -84,10 +97,7 @@ exclude = [
packages = ["abogen"]
[tool.hatch.build]
include = [
"abogen/webui/templates/**",
"abogen/webui/static/**",
]
include = ["abogen/webui/templates/**", "abogen/webui/static/**"]
[tool.hatch.version]
path = "abogen/VERSION"
@@ -96,7 +106,7 @@ pattern = "^(?P<version>.+)$"
[tool.pytest.ini_options]
filterwarnings = [
"ignore:builtin type .* has no __module__ attribute:DeprecationWarning",
"ignore:Importing 'parser.split_arg_string' is deprecated:DeprecationWarning"
"ignore:Importing 'parser.split_arg_string' is deprecated:DeprecationWarning",
]
# --- OPTIONAL DEPENDENCIES ---
@@ -118,7 +128,7 @@ dev = ["build", "pytest"]
[tool.uv.sources]
kokoro = [
{ git = "https://github.com/hexgrad/kokoro.git", marker = "sys_platform == 'darwin'" },
{ index = "pypi", marker = "sys_platform != 'darwin'" }
{ index = "pypi", marker = "sys_platform != 'darwin'" },
]
# --- TORCH CONFIGURATION ---
@@ -134,13 +144,13 @@ torch = [
{ index = "pytorch-cuda-126", marker = "extra == 'cuda126' and extra != 'rocm' and extra != 'cuda130'" },
# CUDA 12.8 (NVIDIA)
{ index = "pytorch-cuda-128", marker = "extra == 'cuda' and extra != 'rocm' and extra != 'cuda130' and extra != 'cuda126'" }
{ index = "pytorch-cuda-128", marker = "extra == 'cuda' and extra != 'rocm' and extra != 'cuda130' and extra != 'cuda126'" },
]
# --- TRITON CONFIGURATION ---
pytorch-triton-rocm = [
{ index = "pytorch-rocm-64-nightly", marker = "extra == 'rocm'" }
{ index = "pytorch-rocm-64-nightly", marker = "extra == 'rocm'" },
]
# --- INDEX DEFINITIONS ---