-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (77 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
88 lines (77 loc) · 1.78 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "sogon"
description = "AI-powered subtitle generator from YouTube URLs or local media files"
authors = [
{ name="Changyong Um", email="eum6211@gmail.com" },
]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"groq>=0.26.0",
"openai>=1.58.1",
"python-dotenv>=1.0.0",
"yt-dlp>=2024.3.10",
"pydub>=0.25.1",
"tqdm>=4.67.1",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"python-multipart>=0.0.6",
"pydantic-settings>=2.9.1",
"typer>=0.12.0",
"psutil>=7.1.1",
"torch>=2.8.0",
"stable-ts>=2.19.1",
"huggingface-hub>=0.36.0",
"pyyaml>=6.0",
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.vcs]
tag-pattern = "v(?P<version>.+)"
[project.scripts]
sogon = "sogon.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["sogon"]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
]
local = [
"stable-ts>=2.17.0",
"torch>=2.0.0",
"torchaudio>=2.0.0",
"huggingface-hub>=0.19.0",
"psutil>=5.9.0",
]
[dependency-groups]
dev = [
"ruff>=0.11.13",
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"pytest-asyncio>=0.21.0",
"coverage>=7.9.1",
]
[tool.uv]
package = true
[tool.pytest.ini_options]
markers = [
"asyncio: mark test as async",
"integration: mark test as integration test",
"slow: mark test as slow",
"gpu: mark test requiring GPU (CUDA)",
"mps: mark test requiring MPS (Apple Silicon)",
]
asyncio_mode = "auto"
[project.urls]
Repository = "https://github.com/e7217/sogon"