-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (77 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
87 lines (77 loc) · 2.15 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "goop-face"
version = "0.1.0"
description = "Facial recognition privacy protection — AI agent skill client"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "Kobe", email = "kobepaw@proton.me" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"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 :: Scientific/Engineering :: Image Processing",
]
dependencies = [
"httpx>=0.25,<1.0",
"insightface>=0.7,<1.0",
"numpy>=1.24,<3.0",
"pydantic>=2.0,<3.0",
"pillow>=10.0,<13.0",
"onnxruntime>=1.16,<2.0",
]
[project.optional-dependencies]
mcp = [
"mcp>=1.2.0,<2",
]
dev = [
"pytest>=7.0,<9.0",
"pytest-asyncio>=0.21,<1.0",
"pytest-cov>=4.0,<7.0",
"ruff>=0.1,<1.0",
"mypy>=1.0,<2.0",
]
[project.urls]
Homepage = "https://github.com/kobepaw/goop-face"
Repository = "https://github.com/kobepaw/goop-face"
"Bug Tracker" = "https://github.com/kobepaw/goop-face/issues"
[project.scripts]
goop-face = "goop_face.cli:main"
goop-face-mcp = "goop_face.mcp:main"
[tool.hatch.build.targets.wheel]
packages = ["src/goop_face"]
artifacts = ["src/goop_face/models/*.onnx", "src/goop_face/models/*.json"]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM"]
ignore = ["E501", "E402", "B904", "SIM105", "SIM108", "SIM117"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"gpu: requires CUDA GPU",
"integration: requires running server",
"benchmark: performance benchmark",
"slow: takes > 30 seconds",
]
[tool.mypy]
python_version = "3.10"
warn_return_any = false
warn_unused_configs = true
ignore_missing_imports = true
[tool.coverage.report]
fail_under = 70