-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (79 loc) · 1.88 KB
/
pyproject.toml
File metadata and controls
94 lines (79 loc) · 1.88 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
[project]
name = "loom"
version = "0.3.0"
description = "Local-first LLM execution harness — decomposition, verified execution, and routing"
requires-python = ">=3.11"
dependencies = [
# API server
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"sse-starlette>=2.0.0",
# HTTP client (for model APIs)
"httpx>=0.27.0",
# Data handling
"pyyaml>=6.0.2",
"pydantic>=2.10.0",
"keyring>=25.0.0",
# Terminal UI
"textual>=1.0.0",
# Async
"anyio>=4.0.0",
"aiosqlite>=0.20.0",
# CLI
"click>=8.1.0",
# Office document support
"python-docx>=1.1.0",
"python-pptx>=1.0.0",
"pypdf>=4.0.0",
]
[project.optional-dependencies]
browser = [
"playwright>=1.54.0",
]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-httpx>=0.30.0",
"ruff>=0.8.0",
"pytest-cov>=5.0.0",
]
pdf = [
"pypdf>=4.0.0",
]
mcp = [
"mcp>=1.0.0",
]
treesitter = [
"tree-sitter-language-pack>=0.3",
]
[project.scripts]
loom = "loom.__main__:cli"
loomd = "loom.daemon.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/loom"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--strict-markers"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests requiring external services",
"process_contract: deterministic process conformance tests",
"process_integration: process-level integration tests",
"process_live: live process canary tests",
"network: tests requiring real network access",
"mcp: tests exercising MCP-backed tooling",
]
[tool.coverage.run]
source = ["loom"]
[tool.coverage.report]
show_missing = true
skip_empty = true