-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (145 loc) · 4.01 KB
/
pyproject.toml
File metadata and controls
169 lines (145 loc) · 4.01 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llx"
version = "0.1.82"
description = "Intelligent LLM model router driven by real code metrics — successor to preLLM"
readme = "README.md"
requires-python = ">=3.10"
authors = [{name = "Tom Sapletta", email = "tom@sapletta.com"}]
keywords = ["llm", "code-analysis", "model-routing", "litellm", "code2llm", "developer-tools"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"typer>=0.24",
"rich>=13.0",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"pydantic-yaml>=1.0",
"tomli>=2.0; python_version<'3.11'",
"httpx>=0.27",
"pyyaml>=6.0",
"requests>=2.31",
"docker>=6.0",
"psutil>=5.9",
"planfile>=0.1.30",
]
[project.license]
text = "Apache-2.0"
[project.scripts]
llx = "llx.cli.app:main"
llx-tools = "llx.tools.cli:main"
llx-orchestrator = "llx.orchestration.orchestrator_cli:main"
llx-mcp = "llx.mcp.server:main_sync"
[project.optional-dependencies]
# ── DEV LAYERS ───────────────────────────────────────────────────
# Test dependencies only
test = [
"pytest>=8.0",
"pytest-cov>=5.0",
"pytest-asyncio>=0.23",
]
# Lint dependencies only
lint = [
"ruff>=0.5",
"mypy>=1.10",
]
# CI-specific tools
ci = [
"goal>=2.1.218",
"costs>=0.1.20",
"pfix>=0.1.60",
"pyqual>=0.1.36",
]
# Lightweight dev – fast install (<60s)
dev = [
"llx[test,lint,mcp]",
]
# Full dev – with CI tools and MCP
dev-full = [
"llx[test,lint,ci,mcp]",
]
# ── RUNTIME LAYERS ──────────────────────────────────────────────
# MCP server support
mcp = ["mcp>=1.0", "starlette>=0.37", "sse-starlette>=2.0", "uvicorn>=0.29"]
# PreLLM server support
prellm = [
"litellm>=1.40",
"jinja2>=3.1",
"nfo>=0.1",
"fastapi>=0.110",
"uvicorn>=0.29",
]
prellm-full = [
"llx[prellm]",
"chromadb>=0.4",
"tree-sitter>=0.21",
"instructor>=1.0",
]
# Monitoring support
monitoring = [
"prometheus_client>=0.20",
"flask>=3.0",
"flask-healthcheck>=0.1",
]
# Code analysis integrations
code2llm = ["code2llm>=0.5"]
redup = ["redup>=0.4"]
vallm = ["vallm>=0.1"]
# Local model support
ollama = ["ollama>=0.3"]
# LiteLLM proxy support (deprecated, use prellm)
litellm = ["litellm>=1.40"]
# Everything combined
all = [
"llx[prellm,prellm-full,mcp,monitoring,test,lint,ci,code2llm,redup,vallm,ollama]",
]
[project.urls]
Homepage = "https://github.com/wronai/llx"
Repository = "https://github.com/wronai/llx"
[tool.setuptools.packages.find]
where = ["."]
include = ["llx*"]
[tool.setuptools.package-data]
"llx" = ["configs/**/*.yaml"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
asyncio_default_fixture_loop_scope = "function"
[tool.pfix]
# Self-healing Python configuration
model = "openrouter/qwen/qwen3-coder-next"
auto_apply = true
auto_install_deps = true
auto_restart = false
max_retries = 3
create_backups = false
git_auto_commit = false
[tool.pfix.runtime_todo]
enabled = true
todo_file = "TODO.md"
min_severity = "low"
deduplicate = true
[tool.costs]
# AI Cost tracking configuration — disabled to speed up goal -a runs
# Use `goal test` or `goal lint` for quick checks without cost analysis
badge = false
update_readme = false
readme_path = "README.md"
default_model = "openrouter/qwen/qwen3-coder-next"
analysis_mode = "byok"
full_history = false
max_commits = 50
# Cost thresholds for badge colors (USD)
badge_color_thresholds = { low = 1.0, medium = 5.0, high = 10.0, critical = 50.0 }