Blocktext, Block-Index und Zeichenoffsets stimmen nun bei sechs echten Büchern exakt mit parseEpub des Web-Readers überein. Grundlage für einen echten Fortschrittsanteil (fraction_for_anchor) statt 0.0. Parser html5lib statt lxml, Rohinhalt statt ebooklib-get_content (formatiert um), UTF-8 wie JSZip. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 lines
577 B
TOML
26 lines
577 B
TOML
[project]
|
|
name = "diora-tui"
|
|
version = "0.1.0"
|
|
description = "Terminal-EPUB-Reader für diora mit Server-Sync für Bücher und Lesefortschritt."
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"textual>=0.60",
|
|
"ebooklib>=0.18",
|
|
"beautifulsoup4>=4.12",
|
|
"lxml>=5.0",
|
|
"html5lib>=1.1",
|
|
"platformdirs>=4.0",
|
|
"requests>=2.31",
|
|
"cryptography>=42.0",
|
|
"psutil>=5.9",
|
|
]
|
|
|
|
[project.scripts]
|
|
diora-tui = "diora_tui.app:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["diora_tui"]
|