- New ses-test command: run a single YAML scenario against real SES step-by-step with persistent session tracking - --verbose shows raw JSON responses, --dry-run validates YAML only - --session / --robot-id overrides for iterative debugging - Add verify param to SESClient for self-signed HTTPS support - Add load_scenario_file() to config.py for single-file loading - Update README with ses-test usage examples and output samples
54 lines
1.3 KiB
TOML
54 lines
1.3 KiB
TOML
[project]
|
|
name = "ses-monitor"
|
|
version = "1.0.0"
|
|
description = "Система мониторинга SES (Service Engine Server) — диалоговой сценарной машины"
|
|
readme = "README.md"
|
|
requires-python = ">=3.7"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "SES Monitoring Team" }
|
|
]
|
|
keywords = ["monitoring", "ses", "zabbix", "dialog", "watchdog"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: System Administrators",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Topic :: System :: Monitoring",
|
|
]
|
|
|
|
dependencies = [
|
|
"httpx>=0.21,<0.24",
|
|
"pyyaml>=5.4",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-asyncio>=0.21",
|
|
"pytest-cov>=4.0",
|
|
"mypy>=1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
ses-monitor = "ses_monitor.main:main"
|
|
ses-test = "ses_monitor.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
include = ["ses_monitor*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
pythonpath = ["src"]
|