-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
89 lines (81 loc) · 1.72 KB
/
pyproject.toml
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
[project]
name = "video_sampler"
description = "Video Sampler -- sample frames from a video file"
url = "https://github.com/LemurPwned/video-sampler"
version = "0.13.0"
authors = [
{ name = "LemurPwned", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
keywords = [
"video sampling",
"frame selection",
"labelling",
"labeling",
"annotation",
]
dependencies = [
"av >=13.0.0",
"ImageHash >=4.3.1",
"Pillow >=10.0.0",
"rich >= 13.5.3",
"typer >= 0.12.5",
"tqdm >= 4.66.1",
"opencv-python-headless >= 4.9.0.80",
"pydantic >= 2.6.1",
"pyaml >= 6.0.1",
"requests >= 2.31.0",
]
[project.urls]
Source = "https://github.com/LemurPwned/video-sampler"
[project.scripts]
video_sampler = "video_sampler.__main__:main_loop"
[project.optional-dependencies]
clip = [
"open_clip_torch >= 2.23.0",
"torch >= 2.1.0"
]
ytdlp = [
"yt-dlp >= 2023.12.30"
]
language = [
"spacy >= 3.7.0",
"pysrt >= 1.1.2"
]
dev = [
"pre-commit",
"bump2version",
"tabulate",
"pytest"
]
gpu = [
"pycuda >= 2024.1.2",
"PyNvVideoCodec >= 1.0.2"
]
all = [
"open_clip_torch >= 2.23.0",
"torch >= 2.1.0",
"yt-dlp >= 2023.12.30",
"spacy >= 3.7.0",
"pysrt >= 1.1.2",
"openai >= 1.16.2",
]
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[tool.coverage.run]
omit = [
"config.py",
"config-3.py",
"*/_remote_module_non_scriptable.py"
]