Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (64 loc) · 2.35 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "graphora-kg"
version = "0.3.1"
description = "Deterministic code knowledge graph: index with tree-sitter, find what could break when you change code, review diffs grounded in structure. No LLM required to build."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Naseem77" }]
keywords = ["knowledge-graph", "code-review", "falkordb", "tree-sitter", "blast-radius", "mcp"]
classifiers = [
"Development Status :: 4 - Beta",
"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 :: Quality Assurance",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"falkordb>=1.0",
# tree-sitter 0.26.0 has a known upstream bug (already fixed upstream, not
# yet released as of this writing): Point.row/Point.column can return
# unstable values for source coordinates beyond the small-integer range.
# Graphora reads points via safe tuple/index access (see graphora/parser.py
# _point_row) so it is not affected, but 0.26.0 is excluded here as a
# defense-in-depth measure for any other code path. Future corrected
# releases (>0.26.0) remain installable.
"tree-sitter>=0.23,!=0.26.0",
"tree-sitter-python>=0.23",
"tree-sitter-javascript>=0.23",
"tree-sitter-typescript>=0.23",
"tree-sitter-go>=0.23",
"tree-sitter-java>=0.23",
"tree-sitter-rust>=0.23",
"tree-sitter-c>=0.23",
"tree-sitter-cpp>=0.23",
"tree-sitter-ruby>=0.23",
"tree-sitter-php>=0.23",
]
[project.optional-dependencies]
llm = ["litellm>=1.40"]
mcp = ["mcp>=1.0,<3"]
dev = ["pytest>=8", "ruff>=0.5", "mypy>=1.10"]
[project.urls]
Homepage = "https://github.com/Naseem77/Graphora"
Repository = "https://github.com/Naseem77/Graphora"
Issues = "https://github.com/Naseem77/Graphora/issues"
[project.scripts]
graphora = "graphora.cli:main"
[tool.setuptools]
packages = ["graphora"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true