-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
166 lines (152 loc) · 4.87 KB
/
Copy pathpyproject.toml
File metadata and controls
166 lines (152 loc) · 4.87 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
# ────────────────────────────────────────────────────────────────
# pyproject.toml • build + metadata for agent-generator
# ────────────────────────────────────────────────────────────────
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "agent-generator"
version = "0.2.0"
description = "Turn plain-English requirements into production-ready multi-agent AI projects (CrewAI, LangGraph, WatsonX Orchestrate)."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Ruslan M. V.", email = "contact@ruslanmv.com" }
]
keywords = [
"multi-agent",
"crewai",
"langgraph",
"watsonx",
"orchestrate",
"LLM",
"code-generation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: FastAPI",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
# -----------------------------------------------------------------
# Core runtime dependencies
# -----------------------------------------------------------------
dependencies = [
"pydantic>=2.12,<3",
"pydantic-settings>=2.13,<3",
"python-dotenv>=1.0",
"typer>=0.24,<1",
"jinja2>=3.1,<4",
"requests>=2.33,<3",
"rich>=14.0,<15",
"structlog>=25.0,<26",
"pyyaml>=6.0,<7",
"packaging>=23",
]
# -----------------------------------------------------------------
# Optional extras
# -----------------------------------------------------------------
[project.optional-dependencies]
openai = [
"openai>=2.30,<3",
"tiktoken>=0.12,<1",
]
crewai = [
"crewai>=1.12,<2",
]
langgraph = [
"langgraph>=1.1,<2",
"langchain-core>=0.1",
]
web = [
"fastapi>=0.135,<1",
"uvicorn>=0.42,<1",
"python-multipart>=0.0.18",
"requests>=2.33,<3",
]
all = [
"agent-generator[openai,crewai,langgraph,web]",
]
release = [
"build>=1.2",
"twine>=5.0",
]
dev = [
"pytest>=8.2",
"pytest-xdist>=3.5",
"pytest-asyncio>=0.24",
"mypy>=1.10",
"ruff>=0.4",
"black>=24.4",
"isort>=5.0",
"pytest-cov>=5.0",
"pre-commit>=3.7",
"mkdocs>=1.6",
"mkdocs-material>=9.5",
]
# -----------------------------------------------------------------
# CLI entry-point
# -----------------------------------------------------------------
[project.scripts]
agent-generator = "agent_generator.cli:_main"
mb = "agent_generator.mb:app"
# -----------------------------------------------------------------
# URLs
# -----------------------------------------------------------------
[project.urls]
Homepage = "https://github.com/ruslanmv/agent-generator"
Repository = "https://github.com/ruslanmv/agent-generator"
Issues = "https://github.com/ruslanmv/agent-generator/issues"
# -----------------------------------------------------------------
# Ruff configuration
# -----------------------------------------------------------------
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["F841", "E501"]
[tool.ruff.lint.isort]
known-first-party = ["agent_generator"]
# -----------------------------------------------------------------
# Black configuration
# -----------------------------------------------------------------
[tool.black]
line-length = 100
target-version = ["py310"]
# -----------------------------------------------------------------
# isort configuration
# -----------------------------------------------------------------
[tool.isort]
profile = "black"
line_length = 100
known_first_party = ["agent_generator"]
# -----------------------------------------------------------------
# Pytest configuration
# -----------------------------------------------------------------
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# -----------------------------------------------------------------
# MyPy configuration
# -----------------------------------------------------------------
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
# -----------------------------------------------------------------
# Hatchling configuration
# -----------------------------------------------------------------
[tool.hatch.build.targets.wheel]
packages = ["src/agent_generator"]