-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
139 lines (128 loc) · 3.21 KB
/
pyproject.toml
File metadata and controls
139 lines (128 loc) · 3.21 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "deepsecure"
version = "0.1.11"
authors = [
{ name="DeepSecure Team", email="mahendra@deeptrail.com" },
]
description = "DeepSecure: Secure your AI agent and agentic AI application ecosystem with DeepSecure."
readme = "README.md"
requires-python = ">=3.9"
license = "Apache-2.0"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["security", "ai", "cli", "credentials", "vault", "policy", "sandbox"]
dependencies = [
"typer[all]",
"requests",
"keyring",
"pyjwt[crypto]",
"pydantic",
"toml",
"rich",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"responses",
]
frameworks = [
"crewai",
"langchain>=0.1.0",
"langchain-community>=0.0.10",
"fastapi",
"uvicorn",
]
# Modern development tooling
lint = [
"black>=23.0.0",
"isort>=5.12.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
# Enhanced testing tools
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.10.0",
"responses>=0.23.0",
"httpx>=0.24.0", # For async testing
]
# Documentation generation
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.22.0",
"mkdocs-gen-files>=0.5.0",
]
# Build and packaging tools
build = [
"build>=0.10.0",
"twine>=4.0.0",
"wheel>=0.40.0",
]
# Security scanning
security = [
"bandit>=1.7.0",
"safety>=2.3.0",
]
# Performance profiling
perf = [
"py-spy>=0.3.0",
"memory-profiler>=0.60.0",
]
# Complete development environment (combines multiple groups)
all-dev = [
"deepsecure[dev,lint,test,docs,build,security]",
]
[project.urls]
"Homepage" = "https://github.com/DeepTrail/deepsecure"
"Bug Tracker" = "https://github.com/DeepTrail/deepsecure/issues"
"Documentation" = "https://github.com/DeepTrail/deepsecure/"
[project.scripts]
deepsecure = "deepsecure.main:app"
[tool.setuptools]
package-dir = {"" = "."}
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "deeptrail-control*"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
markers = [
"e2e: marks tests as end-to-end",
]
[tool.black]
line-length = 88
target-version = ["py39"]
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
# Ensure there isn't a conflicting [tool.poetry] section further down.
# If a [tool.poetry] section IS the primary metadata source, then IT should have version = "0.1.4"
# and the [project] version might be secondary or not needed.
# Given the build-system specified, [project] version is primary for setuptools.