-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.53 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 2.53 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "trailhead"
dynamic = ["version"]
description = "Codebase indexing and semantic search using tree-sitter parsing, vector embeddings, and SQLite graph storage."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [
{ name = "Cliff Bressette", email = "cliffordbressette@mcindi.com" }
]
keywords = ["indexing", "semantic-search", "rag", "sqlite", "vectors", "tree-sitter", "embeddings", "code-search"]
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 :: Python Modules",
"Topic :: Text Processing :: Indexing",
]
dependencies = [
"sentence-transformers",
"pathspec>=0.12",
"tree-sitter>=0.21",
"tree-sitter-python>=0.21",
"sqliteai-vector",
"fastapi>=0.115",
"uvicorn>=0.30",
"watchfiles>=0.24",
]
[project.urls]
Homepage = "https://github.com/McIndi/trailhead"
Repository = "https://github.com/McIndi/trailhead"
Issues = "https://github.com/McIndi/trailhead/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"httpx>=0.27",
]
# Install individual language groups as needed, or use [all-languages] for everything.
javascript = ["tree-sitter-javascript>=0.21"]
typescript = ["tree-sitter-typescript>=0.21"]
rust = ["tree-sitter-rust>=0.21"]
go = ["tree-sitter-go>=0.21"]
java = ["tree-sitter-java>=0.21"]
csharp = ["tree-sitter-c-sharp>=0.21"]
c = ["tree-sitter-c>=0.21"]
cpp = ["tree-sitter-cpp>=0.21"]
ruby = ["tree-sitter-ruby>=0.21"]
php = ["tree-sitter-php>=0.21"]
bash = ["tree-sitter-bash>=0.21"]
html = ["tree-sitter-html>=0.21"]
all-languages = [
"tree-sitter-javascript>=0.21",
"tree-sitter-typescript>=0.21",
"tree-sitter-rust>=0.21",
"tree-sitter-go>=0.21",
"tree-sitter-java>=0.21",
"tree-sitter-c-sharp>=0.21",
"tree-sitter-c>=0.21",
"tree-sitter-cpp>=0.21",
"tree-sitter-ruby>=0.21",
"tree-sitter-php>=0.21",
"tree-sitter-bash>=0.21",
"tree-sitter-html>=0.21",
]
[project.scripts]
th = "trailhead.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "trailhead.__version__" }
[tool.pytest.ini_options]
testpaths = ["src/tests"]
log_cli = true
log_cli_level = "INFO"