Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (136 loc) · 3.65 KB
/
Copy pathpyproject.toml
File metadata and controls
154 lines (136 loc) · 3.65 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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "agentplane-control-plane"
dynamic = ["version"]
description = "The AgentPlane control plane: stores Chronicle traces and serves TokenOps governance over HTTP."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Susheem Koul" },
{ name = "Tisha Chawla" },
]
keywords = [
"llm",
"agents",
"control-plane",
"observability",
"governance",
"chronicle",
"tokenops",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
"Topic :: System :: Systems Administration",
"Typing :: Typed",
]
dependencies = [
# Pre-1.0 rule: pin the exact minor of primitives.
"agentplane-primitives==0.2.*",
"fastapi>=0.115",
"uvicorn>=0.32",
"sqlalchemy>=2.0,<3",
"alembic>=1.13,<2",
"pydantic>=2.6,<3",
"httpx>=0.27,<1",
"pyyaml>=6",
"jinja2>=3.1",
"psutil>=5.9",
"platformdirs>=4.0",
]
[project.urls]
Homepage = "https://github.com/theagentplane/control-plane"
Repository = "https://github.com/theagentplane/control-plane"
Issues = "https://github.com/theagentplane/control-plane/issues"
Changelog = "https://github.com/theagentplane/control-plane/blob/main/CHANGELOG.md"
[project.scripts]
control-plane = "control_plane.cli:main"
# PEP 735 dependency groups: development-only, never part of the published metadata.
[dependency-groups]
dev = [
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.8",
"mypy>=1.13",
"build>=1.2",
"twine>=5",
"pre-commit>=4",
"types-PyYAML",
"types-psutil",
]
[tool.hatch.version]
path = "src/control_plane/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/control_plane"]
[tool.hatch.build.targets.sdist]
include = [
"src/control_plane",
"docs",
"tests",
"CHANGELOG.md",
"LICENSE",
"README.md",
]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
target-version = "py310"
[tool.ruff.format]
line-ending = "lf"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # bugbear
"UP", # pyupgrade
"SIM", # simplify
"C4", # comprehensions
"PT", # pytest style
"RUF", # ruff-specific
]
# Migrations are generated and keep Alembic's layout.
exclude = ["src/control_plane/db/migrations/versions"]
[tool.ruff.lint.isort]
known-first-party = ["control_plane"]
[tool.ruff.lint.per-file-ignores]
# FastAPI reads dependencies from default arguments.
"src/control_plane/api/*" = ["B008"]
[tool.mypy]
python_version = "3.10"
strict = true
plugins = ["pydantic.mypy"]
files = ["src", "tests"]
exclude = ["src/control_plane/db/migrations/versions"]
[[tool.mypy.overrides]]
module = ["alembic.*", "agent_chronicle.*", "chronicle.*", "uvicorn.*"]
ignore_missing_imports = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = ["-ra", "--strict-markers", "--strict-config"]
markers = [
"chronicle: runs the agent-chronicle end-to-end systems against this service",
]
[tool.coverage.run]
source = ["control_plane"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true