Files
NSCT---Neutral-Search-Crawl…/pyproject.toml

58 lines
1.1 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "nsct"
version = "0.1.0"
description = "Neutral Search Crawler Tool — lokal betreibbares Recherche- und Analyse-System"
readme = "README.md"
license = "MIT"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115.0",
"pydantic>=2.0,<3.0",
"pydantic-settings>=2.0,<3.0",
"httpx>=0.27.0",
"sqlalchemy>=2.0,<3.0",
"asyncpg>=0.30.0",
"beautifulsoup4>=4.12.0",
"selectolax>=0.3.0",
"trafilatura>=2.0.0",
"uvicorn>=0.30.0",
"structlog>=24.0.0",
"openai>=3.3.1",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"aiosqlite>=0.20.0",
"coverage>=7.0.0",
]
postgresql = [
"asyncpg>=0.30.0",
]
[project.scripts]
nsct = "nsct.cli:main"
nsct-core = "nsct.cli:main"
nsct-api = "nsct.cli:main_api"
[tool.hatch.build]
packages = ["src/nsct"]
[tool.hatch.build.targets.wheel]
packages = ["nsct"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
target-version = "py312"
line-length = 120