41 lines
1021 B
TOML
41 lines
1021 B
TOML
[project]
|
|
name = "librarian-extractor"
|
|
version = "0.1.0"
|
|
description = "Librarian extractor plugin"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "DotNaos", email = "schuetzoliver00@gmail.com" },
|
|
]
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"librarian-core",
|
|
"importlib_metadata; python_version<'3.10'",
|
|
"ollama>=0.4.8",
|
|
"parsel>=1.10.0",
|
|
"prefect>=3.4.1",
|
|
"openai>=1.78.1",
|
|
]
|
|
|
|
#[tool.uv.sources]
|
|
#librarian-core = { git = "https://github.com/DotNaos/librarian-core", rev = "main" }
|
|
|
|
[build-system]
|
|
requires = ["hatchling>=1.21"]
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/librarian_extractor/"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
|
|
# ───────── optional: dev / test extras ─────────
|
|
[project.optional-dependencies]
|
|
dev = ["ruff", "pytest", "mypy"]
|
|
|
|
[project.entry-points."librarian.workers"]
|
|
extractor = "librarian_extractor.extractor:Extractor"
|
|
ai_sanitizer = "librarian_extractor.ai_sanitizer:AISanitizer"
|