nvidia-oc/pyproject.toml
2026-06-10 04:04:07 -07:00

83 lines
2.3 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lilith-nvidia-oc"
version = "0.1.0"
description = "NVIDIA GPU overclocking control panel with CLI and web UI"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Lilith", email = "quinn@ftw.codes" }
]
keywords = ["nvidia", "gpu", "overclocking", "fan-control", "monitoring"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"nvidia-ml-py>=12.560.0", # NVML bindings
"fastapi>=0.115.0", # API framework
"uvicorn[standard]>=0.30.0", # ASGI server
"pydantic>=2.10.0", # Validation
"pydantic-settings>=2.6.0", # Settings management
"click>=8.1.0", # CLI framework
"rich>=13.9.0", # Terminal formatting
"pyyaml>=6.0.0", # YAML loading
"python-multipart>=0.0.12", # File uploads
"websockets>=13.0", # WebSocket support
"sqlalchemy[asyncio]>=2.0.0", # Database ORM
"aiosqlite>=0.19.0", # Async SQLite driver
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"httpx>=0.27.0", # For FastAPI testing
"mypy>=1.13.0", # Type checking
"ruff>=0.8.0", # Linting
]
[project.scripts]
nvidia-oc = "nvidia_oc.cli.main:cli"
[tool.hatch.build.targets.wheel]
packages = ["backend/nvidia_oc"]
[tool.hatch.build.targets.sdist]
include = [
"backend/nvidia_oc",
"configs",
]
[tool.pytest.ini_options]
testpaths = ["backend/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=nvidia_oc --cov-report=term-missing"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = []
[project.urls]
Homepage = "http://forge.black.lan/lilith/@packages/@infrastructure/nvidia-oc"
Repository = "http://forge.black.lan/lilith/@packages/@infrastructure/nvidia-oc"