-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (147 loc) · 3.67 KB
/
pyproject.toml
File metadata and controls
158 lines (147 loc) · 3.67 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[project]
name = "verticalvideogen"
version = "0.2.1"
description = "Генератор вертикальных видео для TikTok, YouTube Shorts и Instagram Reels."
license = { text = "MIT" }
authors = [{ name = "VerticalVideoGen Contributors" }]
keywords = [
"tiktok",
"youtube-shorts",
"instagram-reels",
"ffmpeg",
"video-processing",
"ai",
"clips",
"vertical-video",
"content-creation",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Video",
"Topic :: Multimedia :: Video :: Conversion",
"Environment :: Console",
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"yt-dlp>=2026.2.21",
"groq>=1.0.0",
"anthropic>=0.84.0",
"openai>=2.24.0",
"requests>=2.32.5",
"tenacity>=9.1.4",
"typer>=0.24.1",
"rich>=14.3.3",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.1",
"python-dotenv>=1.2.1",
"loguru>=0.7.3",
"Pillow>=12.1.1",
"cairosvg>=2.8.2",
]
[project.urls]
Homepage = "https://github.com/princeofscale/VerticalVideoGenerator"
Repository = "https://github.com/princeofscale/VerticalVideoGenerator"
Issues = "https://github.com/princeofscale/VerticalVideoGenerator/issues"
Changelog = "https://github.com/princeofscale/VerticalVideoGenerator/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.4",
"mypy>=1.19.1",
"pre-commit>=4.2.0",
]
smart = [
"mediapipe>=0.10.32",
"opencv-python>=4.13.0.92",
]
local = [
"faster-whisper>=1.2.1",
]
publish = [
"google-api-python-client>=2.170.0",
"google-auth-oauthlib>=1.2.2",
"google-auth-httplib2>=0.2.0",
"tiktok-uploader>=1.2.0",
]
[tool.uv]
package = false
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["VerticalVideoGen"]
[tool.ruff.lint]
select = [
"E", "W", "F", "I", "B", "C4", "UP", "ARG",
"RUF", "SIM", "PERF",
]
ignore = [
"E501", "B008", "B904", "ARG002", "ARG004", "B024",
"SIM108", "SIM115", "RUF001", "RUF002",
]
[tool.ruff.lint.per-file-ignores]
"publish_ready.py" = ["E402"]
[tool.ruff.lint.isort]
known-first-party = ["config", "core", "services", "utils", "exceptions"]
force-sort-within-sections = true
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_configs = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"yt_dlp.*",
"faster_whisper.*",
"mediapipe.*",
"cv2.*",
"typer.*",
"rich.*",
"loguru.*",
"pydantic_settings.*",
"googleapiclient.*",
"google.oauth2.*",
"google.auth.*",
"google_auth_oauthlib.*",
"tiktok_uploader.*",
"requests.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"core.pipeline",
"core.reframer",
"core.subtitler",
"core.thumbnailer",
"core.transcriber",
"core.watermarker",
"main",
"services.llm_service",
"utils.video_utils",
]
ignore_errors = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --tb=short --strict-markers"
markers = [
"unit: Unit tests",
"integration: Integration tests",
"slow: Slow running tests",
]