-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (76 loc) · 2.86 KB
/
pyproject.toml
File metadata and controls
85 lines (76 loc) · 2.86 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
[tool.poetry]
name = "meta_loop"
version = "0.1.0" # Starting version for meta_loop
description = "A meta-agent for creating and evaluating AI agents"
authors = ["Alexander Miasoiedov <msoedov@gmail.com>"]
maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"]
repository = "https://github.com/msoedov/meta_loop" # Adjust if different
homepage = "https://github.com/msoedov/meta_loop"
documentation = "https://github.com/msoedov/meta_loop/blob/main/README.md"
license = "MIT"
readme = "Readme.md"
keywords = [
"AI agent creation",
"agent evaluation",
"meta-agent",
"pydantic-ai",
"tool usage analysis",
"heuristic scoring",
]
packages = [{ include = "meta_loop", from = "." }]
[tool.poetry.scripts]
meta_loop = "meta_loop.__main__:main" # Entry point for CLI
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.115.8" # For potential API integration
uvicorn = "^0.34.0" # For running FastAPI
fire = "0.7.0" # For CLI parsing
loguru = "^0.7.3" # Logging
httpx = "^0.28.1" # HTTP requests
pydantic = "2.10.6" # Core dependency for agent models
#pydantic-ai = "^0.1.0" # Placeholder: Replace with actual package if exists
orjson = "^3.10" # Fast JSON parsing
rich = "13.9.4" # Pretty printing for CLI
numpy = ">=1.24.3,<3.0.0" # For numerical computations in evaluation
pandas = ">=1.4,<3.0" # Data manipulation for analysis
tabulate = ">=0.8.9,<0.10.0" # Table formatting
matplotlib = "^3.9.2" # Visualization of results
jinja2 = "^3.1.4" # Templating for code generation
sentry_sdk = "^2.22.0" # Error tracking
tomli = "^2.2.1" # TOML parsing
pydantic-ai = ">=0.0.24,<0.0.41" # Pydantic extension for AI models
# crewai = "^0.102.0" # CrewAI integration
# autogen = "^0.4.0" # Code generation
python-multipart = "^0.0.20" # For file uploads in FastAPI
[tool.poetry.group.dev.dependencies]
# Testing
pytest = "^8.3.4"
pytest-asyncio = "^0.25.2"
pytest-mock = "^3.14.0"
pytest-httpx = "^0.35.0"
inline-snapshot = ">=0.13.3,<0.21.0"
# Code Quality
black = ">=24.10,<26.0"
mypy = "^1.12.0"
pre-commit = "^4.0.1"
ruff = ">=0.7.1,<0.10.0" # Added for linting (replaces some manual checks)
# Documentation
mkdocs = ">=1.4.2"
mkdocs-material = "^9.6.4"
mkdocstrings = ">=0.26.1"
mkdocs-jupyter = ">=0.25.1"
# Development Tools
huggingface-hub = ">=0.25.1,<0.30.0" # Optional, for model integration if needed
[tool.ruff]
line-length = 120
select = ["E", "F", "W", "I", "N", "B"] # Enable common linting rules
ignore = ["E501"] # Ignore line length for now, handled by black
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
addopts = "-v --tb=short"
norecursedirs = "sandbox"