Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (76 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (76 loc) · 1.73 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
[project]
name = "nodevault"
version = "0.1.0"
description = "Enterprise AI Capability Registry"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
dependencies = [
# Web Framework
"fastapi>=0.110.0",
"uvicorn[standard]>=0.27.0",
# Database
"sqlalchemy[asyncio]>=2.0.0",
"asyncpg>=0.29.0",
"alembic>=1.13.0",
# Validation & Settings
"pydantic[email]>=2.6.0",
"pydantic-settings>=2.2.0",
# Authentication
"python-jose[cryptography]>=3.3.0",
"passlib[bcrypt]>=1.7.4",
"python-multipart>=0.0.9",
# HTTP Client
"httpx>=0.27.0",
# LLM Clients
"openai>=1.0.0",
"anthropic>=0.30.0",
# Search
"meilisearch>=0.31.0",
# MCP Server
"mcp>=1.0,<2.0",
# Utilities
"python-dotenv>=1.0.0",
"structlog>=24.1.0",
"cryptography>=42.0.0",
"pyyaml>=6.0.0",
"pypinyin>=0.50.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"httpx>=0.27.0",
"respx>=0.21.0",
"ruff>=0.3.0",
"mypy>=1.9.0",
]
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["backend*"]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["backend"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["backend/tests"]
[tool.mypy]
python_version = "3.11"
strict = true
plugins = ["pydantic.mypy"]