-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
251 lines (227 loc) · 5.8 KB
/
Copy pathpyproject.toml
File metadata and controls
251 lines (227 loc) · 5.8 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "octalume"
version = "2.1.0"
description = "AI-Native Enterprise SDLC Framework - 8 Phases, Quality Gates, Multi-Agent Orchestration, Idea-to-Product Pipeline"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{name = "Mohamed ElHarery", email = "mohamed@harery.com"}
]
maintainers = [
{name = "OCTALUME Team", email = "octalume@harery.com"}
]
keywords = [
"sdlc",
"enterprise",
"ai-agents",
"mcp",
"model-context-protocol",
"quality-gates",
"compliance",
"hipaa",
"soc2",
"gdpr",
"lifecycle",
"orchestration",
"claude-code",
"langgraph",
"multi-agent",
"brain-dump",
"idea-to-product",
"spec-kit",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Systems Administration",
"Typing :: Typed",
]
dependencies = [
# MCP Server
"mcp>=1.0.0",
# Web Framework
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.6.0",
# Agent Framework
"langchain>=0.3.0",
"langgraph>=0.2.0",
"anthropic>=0.42.0",
# State Management
"sqlalchemy>=2.0.0",
"alembic>=1.14.0",
"aiosqlite>=0.20.0",
# Observability
"opentelemetry-api>=1.28.0",
"opentelemetry-sdk>=1.28.0",
"structlog>=24.5.0",
# CLI
"click>=8.1.0",
"rich>=13.9.0",
# Utilities
"pyyaml>=6.0.0",
"httpx>=0.28.0",
"python-dateutil>=2.9.0",
"uuid6>=2024.7.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"black>=24.10.0",
"ruff>=0.7.0",
"mypy>=1.13.0",
"pre-commit>=4.0.0",
"types-PyYAML>=6.0.0",
"httpx>=0.28.0",
]
redis = [
"redis>=5.2.0",
]
celery = [
"celery>=5.4.0",
"redis>=5.2.0",
]
postgres = [
"asyncpg>=0.30.0",
"psycopg2-binary>=2.9.0",
]
enterprise = [
"python3-saml>=1.16.0",
"cryptography>=44.0.0",
]
all = [
"octalume[dev,redis,celery,postgres]",
]
[project.scripts]
octalume = "octalume.cli:main"
octalum-idea = "octalume.cli:idea"
[project.urls]
Homepage = "https://github.com/Harery/OCTALUME"
Documentation = "https://docs.octalume.dev"
Repository = "https://github.com/Harery/OCTALUME.git"
Issues = "https://github.com/Harery/OCTALUME/issues"
Changelog = "https://github.com/Harery/OCTALUME/blob/main/CHANGELOG.md"
Discord = "https://discord.gg/octalume"
[tool.hatch.build.targets.wheel]
packages = ["octalume"]
[tool.hatch.build.targets.wheel.force-include]
".claude/skills/idea" = "octalume/idea/.claude-skills"
[tool.hatch.build.targets.sdist]
include = [
"/octalume",
"/schemas",
"/agent-prompts",
"/README.md",
"/LICENSE",
]
[tool.black]
line-length = 100
target-version = ["py311", "py312"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
'''
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by black)
"B008", # do not perform function calls in argument defaults
"B904", # raise without from inside except
"UP042", # class inherits from str and Enum (valid pattern)
]
# Allow unused arguments in agent stub implementations
[tool.ruff.lint.per-file-ignores]
"octalume/agents/*.py" = ["ARG002"] # Agent methods have task/context params for interface consistency
"octalume/mcp/server.py" = ["ARG002"] # MCP tool handlers have state/args for consistency
"octalume/compliance/*.py" = ["ARG002"] # Scanner methods have scope for interface consistency
"octalume/core/state.py" = ["ARG002"] # State methods have project_id for interface consistency
"octalume/worker/tasks.py" = ["ARG001"] # Task functions have args for Celery signature
"tests/conftest.py" = ["F841"] # Test fixtures may have unused vars
[tool.ruff.lint.isort]
known-first-party = ["octalume"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"mcp.*",
"langchain.*",
"langgraph.*",
"anthropic.*",
"structlog.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q --strict-markers --asyncio-mode=auto"
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"e2e: marks tests as end-to-end tests",
]
[tool.coverage.run]
source = ["octalume"]
branch = true
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/migrations/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]