-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (104 loc) · 2.77 KB
/
Copy pathpyproject.toml
File metadata and controls
116 lines (104 loc) · 2.77 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agentlock"
version = "1.7.0"
description = "Authorization framework for AI agent tool calls. Your AI agent needs a login screen. AgentLock is that login screen."
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.10"
authors = [
{ name = "David Grice", email = "webpro255@users.noreply.github.com" },
]
keywords = [
"ai",
"agent",
"authorization",
"security",
"llm",
"tool-calling",
"permissions",
"access-control",
"rbac",
"ai-safety",
"red-team",
"owasp",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.0",
]
[project.optional-dependencies]
autogen = ["pyautogen>=0.2"]
mcp = ["mcp>=1.0"]
fastapi = ["fastapi>=0.100", "python-jose[cryptography]>=3.3"]
flask = ["flask>=2.0"]
crypto = ["PyNaCl>=1.5.0"]
all = [
"pyautogen>=0.2",
"mcp>=1.0",
"fastapi>=0.100",
"python-jose[cryptography]>=3.3",
"flask>=2.0",
"PyNaCl>=1.5.0",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"pytest-asyncio>=0.23",
"mypy>=1.10",
"ruff>=0.4",
]
[project.scripts]
agentlock = "agentlock.cli:main"
[project.urls]
Homepage = "https://agentlock.dev"
Documentation = "https://agentlock.dev/docs"
Repository = "https://github.com/webpro255/agentlock"
Issues = "https://github.com/webpro255/agentlock/issues"
Changelog = "https://github.com/webpro255/agentlock/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["agentlock"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "SIM"]
ignore = ["SIM108", "SIM114"]
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["B008"]
[tool.coverage.run]
source = ["agentlock"]
omit = ["agentlock/integrations/*"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"\\.\\.\\.",
]