refactor: extract book.py and path.py from downloader monolith

Move Book dataclass + from_library_row() into dedicated book.py.
Extract sanitize/resolve_path/needs_subdirectory into path.py.
Hard-cut import migration across 7 source+test files. 79 new tests.

Closes #26
This commit is contained in:
AlexKucera committed 2026-06-04 14:18:40 +02:00
1 parent 323fbf76fd
commit fb219be248
13 files changed
+1268 -309

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ from pathlib import Path
import pytest
from librofm_downloader.downloader import Book
from librofm_downloader.book import Book
from librofm_downloader.orchestrator import OrchestratorResult, download_all_books