ml-model-loader/src_python/pyproject.toml
Lilith bf1e8835e1 Add Python test suite (94 tests)
- test_types.py: 26 tests for dataclasses and from_dict
- test_auto.py: 28 tests for format/category mappings
- test_onnx_loader.py: 16 tests for ONNX loader
- test_whisper_loader.py: 24 tests for Whisper loader
- pyproject.toml: pytest config and dev dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 15:58:11 -08:00

68 lines
1.4 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tqftw-model-loader"
version = "2.0.0"
description = "Unified ML model loading and caching"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Lilith Platform"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
]
hf = [
"transformers>=4.30",
"torch>=2.0",
"accelerate>=0.20",
]
diffusers = [
"diffusers>=0.25",
"torch>=2.0",
"accelerate>=0.20",
]
gguf = [
"llama-cpp-python>=0.2",
]
onnx = [
"onnxruntime>=1.16",
]
whisper = [
"faster-whisper>=0.10",
]
all = [
"tqftw-model-loader[hf,diffusers,gguf,onnx,whisper]",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["tqftw_model_loader"]
omit = ["*/tests/*"]
[tool.setuptools.packages.find]
where = ["."]
include = ["tqftw_model_loader*"]