forked from terrene-foundation/kailash-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
181 lines (173 loc) · 4.69 KB
/
pyproject.toml
File metadata and controls
181 lines (173 loc) · 4.69 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kailash"
version = "2.5.0"
description = "Python SDK for the Kailash container-node architecture"
authors = [
{name = "Terrene Foundation", email = "info@terrene.foundation"}
]
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
# Core workflow execution
"jsonschema>=4.24.0",
"networkx>=2.7",
"pydantic>=2.6",
"pyyaml>=6.0",
"filelock>=3.0",
# Trust (EATP + trust-plane + encryption + SSO)
"pynacl>=1.5",
"cryptography>=41.0",
"PyJWT>=2.8",
# Server (API gateway, Nexus endpoints, webhooks)
"aiohttp>=3.12.4",
"aiohttp-cors>=0.7.0",
"fastapi>=0.115.12",
"httpx>=0.25.0",
"uvicorn[standard]>=0.31.0",
"websockets>=12.0",
# CLI
"click>=8.0",
# HTTP (sync + async API calls)
"requests>=2.32.3",
# Database
"aiosqlite>=0.19.0",
"sqlalchemy>=2.0.0",
"asyncpg>=0.30.0",
"aiomysql>=0.2.0",
# Async file I/O
"aiofiles>=24.1.0",
# Auth & security
"bcrypt>=4.3.0",
"pyotp>=2.9.0",
"qrcode>=8.2",
"msal>=1.32.3",
# Monitoring
"prometheus-client>=0.22.1",
"psutil>=7.0.0",
# Distributed (Redis)
"redis>=6.2.0",
# MCP
"mcp[cli]>=1.23.0,<2.0",
# Scheduler
"apscheduler>=3.10",
# OpenTelemetry
"opentelemetry-api>=1.20",
"opentelemetry-sdk>=1.20",
"opentelemetry-exporter-otlp>=1.20",
# Data
"numpy>=1.24",
"pandas>=2.0",
]
[project.optional-dependencies]
# Sub-packages (separate PyPI packages)
dataflow = [
"kailash-dataflow>=1.7.0,<3.0.0",
]
nexus = [
"kailash-nexus>=1.8.0",
]
kaizen = [
"kailash-kaizen>=2.3.2,<3.0.0",
"kaizen-agents>=0.6.0",
]
pact = [
"kailash-pact>=0.7.0",
]
# Secret backends (vendor-specific SDKs)
vault = [
"hvac>=2.1.0",
]
aws-secrets = [
"boto3>=1.34.0",
]
azure-secrets = [
"azure-keyvault-secrets>=4.7.0",
"azure-identity>=1.15.0",
]
ldap = [
"ldap3>=2.9",
]
# Development
dev = [
"black>=25.1.0",
"build>=1.2.2.post1",
"detect-secrets>=1.5.0",
"faker>=37.4.0",
"isort>=6.0.1",
"mypy>=0.9",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-asyncio>=1.0.0",
"pytest-cov>=6.1.1",
"pytest-split>=0.9.0",
"pytest-timeout>=2.3.0",
"pytest-xdist>=3.6.0",
"ruff>=0.11.12",
"twine>=6.1.0",
]
# Documentation
docs = [
"autodoc>=0.5.0",
"doc8>=1.1.2",
"myst-parser>=4.0.1",
"sphinx>=8.2.3",
"sphinx-autobuild>=2024.10.3",
"sphinx-copybutton>=0.5.2",
"sphinx-rtd-theme>=3.0.2",
"sphinxcontrib-mermaid>=1.0.0",
]
# Everything (core + all sub-packages)
all = [
"kailash-dataflow>=1.7.0,<3.0.0",
"kailash-nexus>=1.8.0",
"kailash-kaizen>=2.3.2,<3.0.0",
"kaizen-agents>=0.6.0",
"kailash-pact>=0.7.0",
]
[project.urls]
"Homepage" = "https://github.com/terrene-foundation/kailash-py"
"Repository" = "https://github.com/terrene-foundation/kailash-py"
"Bug Tracker" = "https://github.com/terrene-foundation/kailash-py/issues"
"License" = "https://github.com/terrene-foundation/kailash-py/blob/main/LICENSE"
"Changelog" = "https://github.com/terrene-foundation/kailash-py/blob/main/CHANGELOG.md"
[tool.setuptools]
package-dir = {"" = "src"}
[project.scripts]
kailash = "kailash.cli:main"
eatp = "kailash.trust.cli:main"
attest = "kailash.trust.plane.cli.commands:main"
trustplane-mcp = "kailash.trust.plane.mcp_server:main"
kailash-mcp = "kailash.mcp.platform_server:main"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E203", "E501", "F401", "F841"]
[tool.ruff.lint.per-file-ignores]
# Ignore import ordering and undefined names in packages directory (separate packages)
"packages/**/*.py" = ["E402", "F821", "F811", "E721"]
# Ignore undefined names in test files that may use mocks
"tests/**/*.py" = ["F821", "F811", "E721"]
# Allow late imports in performance test files
"tests/unit/performance_benchmarks/*.py" = ["E402"]
# Scripts may need to modify sys.path before imports
"scripts/**/*.py" = ["E402", "F821", "E721"]
# Specific test files with import order issues after skip markers
"tests/integration/api/test_gateway.py" = ["E402"]
"tests/integration/api/test_workflow_api.py" = ["E402"]
# RAG nodes with embedded Python code strings
"src/kailash/nodes/rag/privacy.py" = ["F821"]