Update pyproject.toml
Browse files- pyproject.toml +35 -129
pyproject.toml
CHANGED
|
@@ -1,141 +1,47 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
build-backend = "setuptools.build_meta"
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
description = "Agentic Reliability Framework (OSS Edition): Enterprise-grade multi-agent AI for infrastructure reliability monitoring and advisory-only self-healing."
|
| 9 |
-
readme = { file = "README.md", content-type = "text/markdown" }
|
| 10 |
-
requires-python = ">=3.10"
|
| 11 |
-
license = { text = "Apache-2.0" }
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
]
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
"self-healing-systems",
|
| 22 |
-
"observability",
|
| 23 |
-
"rag",
|
| 24 |
-
"faiss",
|
| 25 |
-
"mcp",
|
| 26 |
-
"site-reliability-engineering",
|
| 27 |
-
"autonomous-systems"
|
| 28 |
-
]
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
"License :: OSI Approved :: Apache Software License",
|
| 35 |
-
"Operating System :: OS Independent",
|
| 36 |
-
"Programming Language :: Python :: 3",
|
| 37 |
-
"Programming Language :: Python :: 3.10",
|
| 38 |
-
"Programming Language :: Python :: 3.11",
|
| 39 |
-
"Programming Language :: Python :: 3.12",
|
| 40 |
-
"Topic :: Software Development :: Libraries :: Python Modules",
|
| 41 |
-
"Topic :: System :: Monitoring",
|
| 42 |
-
"Topic :: System :: Recovery Tools",
|
| 43 |
-
"Typing :: Typed"
|
| 44 |
-
]
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
"pydantic>=2.0.0",
|
| 49 |
-
"typing-extensions>=4.8",
|
| 50 |
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
"atomicwrites>=1.4.0",
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
"pytest>=7.0.0",
|
| 73 |
-
"pytest-asyncio>=0.21.0",
|
| 74 |
-
"pytest-cov>=4.0.0",
|
| 75 |
-
"mypy>=1.0.0",
|
| 76 |
-
"ruff>=0.1.0",
|
| 77 |
-
"black>=23.0.0",
|
| 78 |
-
"types-requests",
|
| 79 |
-
"types-PyYAML"
|
| 80 |
-
]
|
| 81 |
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
Documentation = "https://github.com/petterjuan/agentic-reliability-framework/tree/main/docs"
|
| 86 |
-
"Live Demo" = "https://huggingface.co/spaces/petter2025/agentic-reliability-framework"
|
| 87 |
-
Enterprise = "https://arf.dev/enterprise"
|
| 88 |
-
|
| 89 |
-
[tool.setuptools]
|
| 90 |
-
packages = { find = { include = ["agentic_reliability_framework*"] } }
|
| 91 |
-
|
| 92 |
-
[tool.setuptools.package-data]
|
| 93 |
-
agentic_reliability_framework = ["py.typed"]
|
| 94 |
-
|
| 95 |
-
[tool.pytest.ini_options]
|
| 96 |
-
minversion = "7.0"
|
| 97 |
-
addopts = "-ra -q --strict-markers"
|
| 98 |
-
testpaths = ["tests"]
|
| 99 |
-
|
| 100 |
-
[tool.mypy]
|
| 101 |
-
python_version = "3.10"
|
| 102 |
-
strict = true
|
| 103 |
-
ignore_missing_imports = true
|
| 104 |
-
warn_unused_configs = true
|
| 105 |
-
|
| 106 |
-
[tool.ruff]
|
| 107 |
-
line-length = 88
|
| 108 |
-
select = [
|
| 109 |
-
"E", # pycodestyle errors
|
| 110 |
-
"W", # pycodestyle warnings
|
| 111 |
-
"F", # pyflakes
|
| 112 |
-
"I", # isort
|
| 113 |
-
"B", # flake8-bugbear
|
| 114 |
-
]
|
| 115 |
-
ignore = [
|
| 116 |
-
"E501", # line too long (handled by black)
|
| 117 |
-
"W503", # line break before binary operator (PEP 8 now allows)
|
| 118 |
-
]
|
| 119 |
-
target-version = "py310"
|
| 120 |
-
|
| 121 |
-
[tool.ruff.per-file-ignores]
|
| 122 |
-
"__init__.py" = ["F401"] # allow unused imports in __init__.py
|
| 123 |
-
|
| 124 |
-
[tool.black]
|
| 125 |
-
line-length = 88
|
| 126 |
-
target-version = ['py310']
|
| 127 |
-
include = '\.pyi?$'
|
| 128 |
-
extend-exclude = '''
|
| 129 |
-
/(
|
| 130 |
-
\.eggs
|
| 131 |
-
| \.git
|
| 132 |
-
| \.hg
|
| 133 |
-
| \.mypy_cache
|
| 134 |
-
| \.tox
|
| 135 |
-
| \.venv
|
| 136 |
-
| _build
|
| 137 |
-
| buck-out
|
| 138 |
-
| build
|
| 139 |
-
| dist
|
| 140 |
-
)/
|
| 141 |
-
'''
|
|
|
|
| 1 |
+
# ARF Demo Configuration
|
| 2 |
+
# Copy this file to .env and modify values as needed
|
|
|
|
| 3 |
|
| 4 |
+
# ===== System Mode =====
|
| 5 |
+
# Options: demo, oss, enterprise
|
| 6 |
+
ARF_MODE=demo
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
# Use mock ARF implementation (true for demo, false for real ARF)
|
| 9 |
+
USE_MOCK_ARF=true
|
|
|
|
| 10 |
|
| 11 |
+
# ===== ARF Integration =====
|
| 12 |
+
# Required for enterprise mode
|
| 13 |
+
ARF_API_KEY=your_api_key_here
|
| 14 |
+
ARF_BASE_URL=https://api.arf.dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
# ===== Business Configuration =====
|
| 17 |
+
# Engineer costs (USD)
|
| 18 |
+
ENGINEER_HOURLY_RATE=150
|
| 19 |
+
ENGINEER_ANNUAL_COST=125000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
# Default savings rate with ARF (0.0 to 1.0)
|
| 22 |
+
DEFAULT_SAVINGS_RATE=0.82
|
|
|
|
|
|
|
| 23 |
|
| 24 |
+
# ===== UI Configuration =====
|
| 25 |
+
# Auto-refresh interval in seconds
|
| 26 |
+
AUTO_REFRESH_SECONDS=30
|
| 27 |
|
| 28 |
+
# Maximum history items to keep
|
| 29 |
+
MAX_HISTORY_ITEMS=100
|
| 30 |
|
| 31 |
+
# ===== Demo Configuration =====
|
| 32 |
+
# Default incident scenario
|
| 33 |
+
DEFAULT_SCENARIO=Cache Miss Storm
|
| 34 |
|
| 35 |
+
# Path to scenario configuration files
|
| 36 |
+
SCENARIO_CONFIG_PATH=config/scenarios
|
|
|
|
| 37 |
|
| 38 |
+
# ===== Safety Configuration =====
|
| 39 |
+
# Default safety mode: advisory, approval, autonomous
|
| 40 |
+
DEFAULT_SAFETY_MODE=advisory
|
| 41 |
|
| 42 |
+
# Require human approval for execution
|
| 43 |
+
REQUIRE_APPROVAL=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
+
# ===== Logging =====
|
| 46 |
+
# Log level: DEBUG, INFO, WARNING, ERROR
|
| 47 |
+
LOG_LEVEL=INFO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|