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

41 lines
896 B
TOML

[project]
name = "librarian-chunker"
version = "0.1.0"
description = "Chunker for Librarian"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pdfplumber",
"pymupdf",
"tiktoken",
"spacy",
"sentence-transformers",
"pydantic",
"prefect",
"librarian-core",
"python-pptx",
"python-docx",
]
[build-system]
requires = ["hatchling>=1.21"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/librarian_chunker"]
[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"]
chunker = "librarian_chunker.chunker:Chunker"
# ───────── optional: dev / test extras ─────────
[project.optional-dependencies]
dev = ["ruff", "pytest", "mypy"]