- Clean architecture (domain/application/infrastructure) - DSPy-based evolution engine with scoring - CLI via pyproject.toml entry point - Unit + integration tests (~300 tests) - Configs for glm-5.1 and glm-4.5-air models - Z.AI endpoint integration
48 lines
923 B
TOML
48 lines
923 B
TOML
[project]
|
|
name = "prometheus"
|
|
version = "0.1.0"
|
|
description = "Prompt evolution without reference data"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"dspy>=2.6,<3.0",
|
|
"typer>=0.15,<0.20",
|
|
"pydantic>=2.10",
|
|
"pydantic-settings>=2.7",
|
|
"pyyaml>=6.0",
|
|
"rich>=13.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3",
|
|
"pytest-cov>=6.0",
|
|
"ruff>=0.9",
|
|
"mypy>=1.14",
|
|
"types-pyyaml>=6.0.12.20250915",
|
|
]
|
|
|
|
[project.scripts]
|
|
prometheus = "prometheus.cli.app:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["dspy", "dspy.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["prometheus.infrastructure.*", "prometheus.cli.app"]
|
|
disable_error_code = ["misc", "import-untyped"]
|
|
|