-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (99 loc) · 2.82 KB
/
Copy pathpyproject.toml
File metadata and controls
108 lines (99 loc) · 2.82 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "rtfm-ai"
version = "0.37.2"
description = "RTFM — The open retrieval layer for AI agents. Indexes code, docs, legal, research, data. Extensible parser system. Serves surgical context via MCP."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "roomi-fields" }
]
keywords = [
"mcp", "claude-code", "retrieval", "context",
"search", "indexing", "fts5", "sqlite", "embeddings",
"ai-agent", "knowledge-base", "developer-tools",
"open-source", "extensible", "multi-domain",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing :: Indexing",
]
dependencies = [
"pyyaml>=6.0",
"pathspec>=0.10",
]
[project.optional-dependencies]
pdf = [
"pdftext>=0.3.0",
"marker-pdf>=0.2.0",
]
ocr = [
# CPU-friendly OCR backend (default). Needs the tesseract binary
# on the system (apt install tesseract-ocr tesseract-ocr-<lang>).
"pytesseract>=0.3.10",
"pypdfium2>=4.0",
"Pillow>=9.0",
]
embeddings = [
"fastembed>=0.3.0",
]
xlsx = [
"openpyxl>=3.0",
]
epub = [
"ebooklib>=0.18",
"beautifulsoup4>=4.12",
]
mobi = [
"mobi>=0.3.3",
"beautifulsoup4>=4.12",
]
office = [
"python-docx>=1.0",
"odfpy>=1.4",
"striprtf>=0.0.26",
]
# kept for backward-compatibility — users still doing `pip install rtfm-ai[mcp]` won't break
mcp = []
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"jsonschema>=4.0",
"ruff>=0.6",
]
[project.scripts]
rtfm = "rtfm.cli:main"
rtfm-serve = "rtfm.mcp:main"
[project.urls]
Homepage = "https://roomi-fields.github.io/rtfm/"
Documentation = "https://roomi-fields.github.io/rtfm/"
Repository = "https://github.com/roomi-fields/rtfm"
Issues = "https://github.com/roomi-fields/rtfm/issues"
Changelog = "https://roomi-fields.github.io/rtfm/CHANGELOG/"
[tool.hatch.build.targets.wheel]
packages = ["rtfm"]
[tool.mcp]
name = "io.github.roomi-fields/rtfm"
[tool.pytest.ini_options]
testpaths = ["rtfm/tests"]
python_files = "test_*.py"
markers = [
"network: tests that require outbound network access (skip with `pytest -m 'not network'`)",
]
[tool.ruff]
target-version = "py310"
# NOTE: ~755 pre-existing violations as of 0.28.0 (unused imports, bare
# excepts, naive datetimes, ambiguous names) — the count drifted well past the
# ~83 recorded here earlier. The CI `lint` job stays non-blocking until that
# backlog is cleared; once `ruff check rtfm/` is clean, drop
# `continue-on-error` in ci.yml.