-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (88 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (88 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "longctx"
version = "0.4.1"
description = "Open long-context inference stack: retrieval + open weights, no closed parts."
readme = "README.md"
requires-python = ">=3.11"
license = {text = "Apache-2.0"}
authors = [
{name = "TheTom"}
]
keywords = ["llm", "long-context", "retrieval", "rag", "vllm", "open-weights"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.26",
"pandas>=2.0",
"requests>=2.31",
"sentence-transformers>=3.0",
"faiss-cpu>=1.7.4",
"rank-bm25>=0.2.2",
"loguru>=0.7",
"mcp>=1.0",
"pathspec>=0.12",
"platformdirs>=4.0",
"tomli-w>=1.0",
"watchfiles>=0.22",
"portalocker>=2.7",
"starlette>=0.40",
"uvicorn>=0.27",
# Phase 2.1 — status HTTP server (PRD §10.1) + CLI memory metric
"aiohttp>=3.9",
"psutil>=5.9",
]
[project.optional-dependencies]
serve = [
"vllm>=0.7",
"torch>=2.4",
]
eval = [
"pyarrow>=15.0",
]
daemon = [
"python-daemon>=3.0",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"pytest-asyncio>=0.23",
"ruff>=0.5",
"freezegun>=1.5",
]
[project.scripts]
longctx-eval = "longctx.eval.cli:main"
longctx-bench = "longctx.eval.bench:main"
longctx-coarse-bench = "longctx.eval.bench_coarse_filter:main"
longctx = "longctx_daemon.cli:main"
[project.urls]
Homepage = "https://github.com/TheTom/longctx"
Repository = "https://github.com/TheTom/longctx"
Documentation = "https://github.com/TheTom/longctx#readme"
[tool.setuptools.packages.find]
include = ["longctx*", "longctx_daemon*"]
[tool.pytest.ini_options]
addopts = "--cov=longctx --cov-fail-under=90"
testpaths = ["tests"]
[tool.coverage.run]
source = ["longctx"]
# CLI bench drivers are not unit-testable — they orchestrate long-running
# corpora bench runs. Excluded from the coverage gate so the gate measures
# library code, not script orchestration.
omit = [
"longctx/eval/bench_coarse_filter.py",
"longctx/eval/bench_coarse_filter_real.py",
"longctx/eval/cli.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]