Neues diora_tui/statusbar.py: StatusBar-Widget, unten rechts auf Bibliotheks- und Reader-Screen, zeigt Akkustand (psutil.sensors_battery(), degradiert sauber zu reiner Uhrzeit auf Geräten ohne Akku) + aktuelle Uhrzeit, sekündlich aktualisiert. Getestet: Anzeige und Aktualisierung auf beiden Screens verifiziert.
25 lines
556 B
TOML
25 lines
556 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",
|
|
"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"]
|