-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (91 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
100 lines (91 loc) · 2.35 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
[project]
name = "panoptikon"
version = "1.0.0"
description = "AI-based media indexing, tagging, and semantic search engine for local files"
authors = [{ name = "reasv" }]
requires-python = "~=3.12"
readme = "README.md"
license = "AGPL-3.0-or-later"
dependencies = [
"pillow>=10.4.0,<11",
"python-dotenv>=1.0.1,<2",
"sqlite-vec>=0.1.6,<0.2",
"fastapi-utilities>=0.2.0,<0.3",
"mutagen>=1.47.0,<2",
"toml>=0.10.2,<0.11",
"weasyprint~=62.3",
"pypdfium2>=4.30.0,<5",
"alembic>=1.13.2,<2",
"fastapi-proxy-lib>=0.1.0,<0.2",
"nodejs-wheel>=20.17.0,<21",
"sqlalchemy>=2.0.34,<3",
"tomlkit>=0.13.2,<0.14",
"uvicorn>=0.32.0,<0.33",
"python-multipart>=0.0.12,<0.0.13",
"tomli>=2.0.2,<3",
"tomli-w>=1.0.0,<2",
"blurhash>=1.1.4,<2",
"aiohttp>=3.11.0,<4",
"more-itertools>=10.5.0,<11",
"pandas>=2.2.3,<3",
"httpx>=0.27.2,<0.28",
"static-ffmpeg>=2.13",
"psutil>=7.0.0",
"ray[serve]>=2.47.1",
]
[project.scripts]
panoptikon = "panoptikon.__main__:launch_app"
inferio = "inferio.__main__:launch_app"
[dependency-groups]
inference = [
"open-clip-torch>=3.2.0,<4",
"python-doctr>=1.0.0,<2",
"timm>=1.0.24,<2",
"faster-whisper>=1.2.1,<2",
"sentence-transformers>=5.2.0,<6",
"transformers==4.57.3",
"pyvips-binary>=8.18.0,<9",
"pyvips>=3.1.1,<4",
"easyocr>=1.7.2,<2",
"einops>=0.8.1",
"qwen-vl-utils>=0.0.14",
"nvidia-cublas-cu12>=12.1.3.1",
"nvidia-cudnn-cu12>=9.1.0.70",
]
test = [
"pytest>=8.3.4,<9",
]
[tool.uv]
default-groups = ["inference"]
[tool.hatch.build.targets.sdist]
include = [
"src/panoptikon",
"src/inferio",
"src/searchui",
"src/panoptikon/ui/static/**/*",
"src/panoptikon/api/templates/**/*",
"src/inferio/config/**/*",
]
[tool.hatch.build.targets.wheel]
include = [
"src/panoptikon",
"src/inferio",
"src/searchui",
"src/panoptikon/ui/static/**/*",
"src/panoptikon/api/templates/**/*",
"src/inferio/config/**/*",
]
[tool.hatch.build.targets.wheel.sources]
"src/panoptikon" = "panoptikon"
"src/inferio" = "inferio"
"src/searchui" = "searchui"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 80
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: integration tests that download models or call external services",
]