-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (85 loc) · 1.68 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (85 loc) · 1.68 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "opencortex"
version = "0.8.0"
description = "Memory and context management system for AI Agents"
readme = "README.md"
requires-python = ">=3.10"
authors = [{name = "OpenCortex"}]
dependencies = [
"orjson>=3.10",
"fastapi>=0.115.0",
"pydantic>=2.7",
"pydantic-settings>=2.6.0",
"structlog>=24.4.0",
"uvicorn[standard]>=0.30.0",
"httpx>=0.27.0",
"onnxruntime>=1.24.0",
"qdrant-client>=1.12.0",
"fastembed>=0.4.0",
"PyJWT>=2.8",
"tokenizers>=0.22.0",
"jinja2>=3.0.0",
]
[project.optional-dependencies]
parsers = [
"python-docx>=1.0",
"openpyxl>=3.1",
"python-pptx>=0.6",
"pdfplumber>=0.10",
"ebooklib>=0.18",
]
training = [
"joblib>=1.4",
"scikit-learn>=1.5",
]
[project.scripts]
opencortex = "opencortex.__main__:main"
opencortex-server = "opencortex.__main__:main"
opencortex-token = "opencortex.auth.__main__:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"ruff>=0.12.0",
]
[tool.ruff]
line-length = 88
target-version = "py310"
include = [
"src/opencortex/**/*.py",
"tests/opencortex/**/*.py",
]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"ANN",
"B",
"D",
"E",
"F",
"I",
"N",
"RET",
"RSE",
"SIM",
"TD",
"W",
]
ignore = [
"ANN401",
"D100",
"D104",
"D105",
"D107",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"src/opencortex/skill_engine/http_routes.py" = ["ANN"]