-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (114 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
127 lines (114 loc) · 2.67 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
[project]
name = "UnionChatBot"
version = "0.3.0"
description = "LangChain based Agent to please them all!"
readme = "README.md"
requires-python = "==3.12.*"
license = {text = "MIT License"}
authors = [{name = "Aleksandr Samofalov", email = "SamofalovWORK@yandex.ru"}]
classifiers = [
"Development Status :: Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
]
keywords = ["YandexGPT API", "LLM", "RAG", "LangChain"]
dependencies = [
"scikit-learn>=1.8.0",
"fastapi~=0.121.2",
"langchain~=0.3.27",
"langgraph",
"pydantic==2.12.4",
"redis~=7.0.1",
"jupyter~=1.1.1",
"ipython~=8.37.0",
"langchain_openai",
"dotenv==0.9.9",
"langchain-redis",
"langchain-community",
"yandexcloud==0.373.0",
"langfuse~=2.60.10",
"fsspec==2025.5.1",
"watchfiles==1.1.0",
"pandas",
"numpy",
"chromadb~=1.0.20",
"rank-bm25~=0.2.2",
"pandas-stubs~=3.0.0",
"pytz>=2025.2",
"loguru>=0.7.3",
"psycopg[binary,pool]==3.2.9",
"langgraph-checkpoint-postgres==2.0.25",
"uvicorn>=0.40.0",
"docx2txt>=0.9",
]
[project.urls]
Homepage = "https://github.com/GishB/GeneralPurposeTelegramBOT"
"Bug Reports" = "https://github.com/GishB/GeneralPurposeTelegramBOT/issues"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["agents*", "modules*", "service*"]
exclude = ["tests*", "experiments*", "docs*", ".*", "*.egg-info", "build*", "dist*"]
[dependency-groups]
dev = [
"ruff",
"pylint",
"pre-commit",
"pytest",
"pytest-asyncio",
"httpx",
"pytest-cov>=7.1.0",
]
[tool.ruff]
line-length = 120
target-version = "py312"
exclude = [
".bzr", ".direnv", ".eggs", ".git", ".hg", ".mypy_cache",
".nox", ".pants.d", ".pyenv", ".pytest_cache", ".pytype",
".ruff_cache", ".svn", ".tox", ".venv", ".vscode",
"__pypackages__", "_build", "buck-out", "build", "dist",
"node_modules", "site-packages", "venv",
]
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"I",
"B",
"C4",
"W"
]
ignore = [
"E501",
"B008",
"B904",
"B905",
"C416"
]
fixable = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["UnionChatBot"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.pylint.main]
fail-under = 9
py-version = "3.12"
[tool.pylint.messages_control]
disable = [
"C0114",
"C0115",
"C0116",
]
[tool.pylint.format]
max-line-length = 120
[tool.pylint.similarities]
min-similarity-lines = 8