Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
161 lines (146 loc) · 3.76 KB
/
Copy pathpyproject.toml
File metadata and controls
161 lines (146 loc) · 3.76 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ozwald"
version = "0.0.2"
authors = [
{name = "Fred McDavid", email = "fred@frameworklabs.us"},
]
description = "Ozwald is a multi-tool for container provisioning."
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration",
]
keywords = ["ozwald", "LLM", "assistant", "orchestration", "composition"]
dependencies = [
"invocate>=0.2.1",
"attrs>=21.0.0",
"requests>=2.32.5",
"PyYAML>=6.0.1",
"psutil>=7.1.3",
"pydantic>=2.12.5",
"nvidia-ml-py>=13.580.82",
"amdsmi>=6.4.4",
"python-dotenv>=1.2.1",
"fastapi>=0.121.0",
"redis>=7.0.1",
"cryptography>=42.0.0"
]
[project.optional-dependencies]
api = [
"uvicorn[standard]",
]
dev = [
"pytest>=7.0",
"pytest-cov",
"pytest-mock",
"pytest-docker-tools",
"mkdocs",
"coverage",
"pre-commit",
"ruff",
"mypy",
"bandit[toml]",
"codespell",
"tox",
"uv",
"httpx"
]
docs = [
]
[project.urls]
Homepage = "https://github.com/FredworkLemmas/ozwald.git"
Repository = "https://github.com/FredworkLemmas/ozwald.git"
"Bug Tracker" = "https://github.com/FredworkLemmas/ozwald.git/issues"
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
# Ozwald command line utility
ozwald = "command.ozwald:main"
[tool.ruff]
line-length = 80
indent-width = 4
fix = true
preview = true
lint.select = ["E", "F", "W", "I", "UP", "PT", "B", "SIM", "C4", "PIE"]
lint.ignore = [
"E203",
"B905",
]
exclude = [
".git", ".mypy_cache", ".pytest_cache", "build", "dist", "dev/documentation/site"
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "T201"]
[tool.ruff.lint.isort]
known-first-party = [
"api", "command", "config", "context", "hosts", "orchestration", "services", "util"
]
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
addopts = "-ra -q -m 'not integration'"
testpaths = ["tests"]
filterwarnings = [
"error::DeprecationWarning",
"error::FutureWarning",
"ignore:.*distutils.*:DeprecationWarning",
]
markers = [
"integration: marks tests that require external services (deselect with '-m \"not integration\"')",
]
[tool.coverage.run]
branch = true
source = ["src"]
omit = ["src/ozwald.egg-info/*", "src/**/__main__.py"]
[tool.coverage.report]
show_missing = true
skip_covered = false
fail_under = 85
exclude_lines = [
"pragma: no cover",
"if __name__ == \"__main__\":",
"def __repr__\\(\\):",
"def __str__\\(\\):",
"raise NotImplementedError",
]
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
no_implicit_optional = true
check_untyped_defs = true
disallow_incomplete_defs = true
show_error_codes = true
pretty = true
plugins = []
disallow_untyped_defs = false
[tool.bandit]
targets = ["src"]
exclude = ["tests/**", "dev/documentation/site"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/ozwald"
publish-url = "https://test.pypi.org/legacy/" # The endpoint for uploading packages
default = false