2025-05-24 12:15:48 +02:00

42 lines
1.1 KiB
TOML

[project]
name = "librarian-scraper"
version = "0.2.1"
description = "FastAPI gateway and runtime pipeline for Librarian"
readme = "README.md"
authors = [{ name = "DotNaos", email = "schuetzoliver00@gmail.com" }]
requires-python = ">=3.10"
dependencies = [
"importlib_metadata; python_version<'3.10'",
"playwright>=1.51.0",
"dotenv>=0.9.9",
"parsel>=1.10.0",
"librarian-core",
"httpx>=0.28.1",
]
[build-system]
requires = ["hatchling>=1.21"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/librarian_scraper"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.uv.sources]
#librarian-core = { git = "https://github.com/DotNaos/librarian-core", rev = "dev" }
[project.entry-points."librarian.workers"]
crawler = "librarian_scraper.crawler:Crawler"
downloader = "librarian_scraper.downloader:Downloader"
# ───────── optional: dev / test extras ─────────
[project.optional-dependencies]
dev = ["ruff", "pytest", "mypy"]
[project.scripts]
example = "examples.app:app"