-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (81 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (81 loc) · 2.3 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
[project]
name = "cocosearch"
version = "0.1.49"
description = "Local-first hybrid semantic code search with dependency graphs and cross-repo search"
readme = "README.md"
authors = [
{ name = "VioletCranberry", email = "zh6an0w.fedor@gmail.com" }
]
requires-python = ">=3.11"
license = "MIT"
keywords = [
"code-search",
"semantic-search",
"mcp",
"cocoindex",
"tree-sitter",
"embeddings",
"pgvector",
"ollama",
"cli",
"developer-tools",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Indexing",
"Typing :: Typed",
]
dependencies = [
"cocoindex>=1.0.1,<2.0",
"litellm>=1.81.0",
"mcp[cli]>=1.26.0,<2.0.0",
"pathspec>=1.0.3",
"pgvector>=0.4.2",
"psycopg[binary,pool]>=3.3.2",
"pyyaml>=6.0.2",
"rich>=13.0.0",
"tree-sitter>=0.26.0,<0.27.0",
"tree-sitter-language-pack>=0.13.0",
]
[project.scripts]
cocosearch = "cocosearch.cli:main"
[project.urls]
Homepage = "https://github.com/VioletCranberry/coco-search"
Repository = "https://github.com/VioletCranberry/coco-search"
Issues = "https://github.com/VioletCranberry/coco-search/issues"
Changelog = "https://github.com/VioletCranberry/coco-search/releases"
[build-system]
requires = ["uv_build>=0.10.8,<0.11.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"beautifulsoup4>=4.12.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-httpx>=0.36.0",
"pytest-mock>=3.15.1",
"pytest-subprocess>=1.5.3",
"pytest-timeout>=2.3.1",
"ruff>=0.14.14,<0.16",
]
[tool.pytest.ini_options]
testpaths = ["tests/unit"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
python_files = ["test_*.py"]
python_functions = ["test_*"]
timeout = 5
addopts = "-v --tb=short --strict-markers -m unit"
markers = [
"unit: marks tests as unit tests (use mocks, no infrastructure)",
]