flagtldr / classifier /pyproject.toml
botezx's picture
Grok Bot
FlagTLDR 0.5.0 (snapshot of local f98bb37)
043267b
Raw History Blame Contribute Delete
828 Bytes
[project]
name = "xaddons-classifier"
version = "0.1.0"
description = "Local classifier service for X Addons: basal (typed decisions) proxy, embedding+head, rules fallback"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115",
"uvicorn>=0.30",
"httpx>=0.27",
"pydantic>=2.7",
]
[project.optional-dependencies]
# Embedding + trainable head (few labelled examples). Pulls torch – install only if you use it.
embed = ["sentence-transformers>=3.0", "scikit-learn>=1.5", "numpy>=1.26"]
[project.scripts]
xaddons-classifier = "xaddons_classifier.cli:main"
[dependency-groups]
dev = ["pytest>=8"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/xaddons_classifier"]
[tool.pytest.ini_options]
testpaths = ["tests"]