This repository was archived by the owner on Jul 4, 2025. It is now read-only.
forked from langchain-ai/langconnect
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (131 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
143 lines (131 loc) · 2.87 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[project]
name = "langconnect"
version = "0.0.1"
description = "LangConnect: A RAG service"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.6",
"langchain>=0.3.20",
"langchain-openai>=0.3.7",
"langchain-community>=0.0.20",
"langchain-core>=0.2.37",
"langchain-text-splitters>=0.0.1",
"langchain-postgres>=0.0.2",
"langgraph-sdk>=0.1.48",
"python-dotenv>=1.0.1",
"uvicorn>=0.34.0",
"aiohttp>=3.11.13",
"python-multipart>=0.0.20",
"httpx>=0.28.1",
"beautifulsoup4>=4.12.3",
"pdfminer.six>=20231228",
"pdfplumber>=0.11.0",
"asyncpg>=0.30.0",
"psycopg[binary]>=3.2.6",
"pillow>=11.2.1",
"pdfminer.six>=20250416",
"lxml>=5.4.0",
"unstructured[docx]>=0.17.2",
"python-docx>=1.1.0",
"supabase>=2.15.1",
"streamlit>=1.37.0",
"requests>=2.31.0",
"pandas>=2.2.0",
"fastmcp>=0.1.0",
"email-validator>=2.1.0",
]
[project.scripts]
langconnect-server = "langconnect.server:main"
langconnect-client = "app:main"
mcp-langconnect = "mcp.mcp_server:main"
mcp-langconnect-sse = "mcp.mcp_langconnect_sse_server:main"
[project.packages]
find = { where = ["langconnect"] }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["langconnect"]
[dependency-groups]
dev = [
"ruff>=0.8.4",
"langgraph-api>=0.0.28",
"langgraph-cli>=0.1.75",
"pytest-socket>=0.7.0",
"pytest-timeout>=2.4.0",
"pytest-asyncio>=0.26.0",
]
[tool.pytest.ini_options]
minversion = "8.0"
# -ra: Report all extra test outcomes (passed, skipped, failed, etc.)
# -q: Enable quiet mode for less cluttered output
# -v: Enable verbose output to display detailed test names and statuses
# --durations=5: Show the 10 slowest tests after the run (useful for performance tuning)
addopts = "-ra -q -v --durations=5"
testpaths = [
"tests",
]
python_files = ["test_*.py"]
python_functions = ["test_*"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"COM812",
"ANN001",
"ANN201",
"ARG001",
"B008",
"B904",
"BLE001",
"C901",
"D100",
"D101",
"D104",
"D106",
"D205",
"E501",
"EM101",
"EM102",
"ERA001",
"FAST002",
"G004",
"G201",
"PLR0912",
"PLR0915",
"PLW0603",
"RET504",
"RUF006",
"S104",
"T201",
"TC002",
"TID252",
"TD003",
"FIX002",
"TRY003",
"TRY004",
"TRY201",
"TRY300",
"TRY301",
"TRY401",
"UP007",
"W291"
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"S101", # bare asserts
"ARG", # unused-argument
"FBT", # boolean-tuple-for-parameter
"D104", # missing docstring in package
"PLR2004", # magic-values-in-comparison
"S311", # use of non-crypto RNG
]
[tool.ruff.lint.pydocstyle]
convention = "google"