-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
88 lines (80 loc) · 2.2 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
[project]
authors = [
{name = "Eric Tendian"},
]
requires-python = "<4.0,>=3.12"
dependencies = [
"boto3<2.0,>=1.26",
"boto3-stubs<2.0,>=1.26",
"celery<6.0,>=5.3",
"fastapi<1,>=0",
"flower<3.0,>=2.0",
"meilisearch<1,>=0",
"python-dotenv<1,>=0",
"python-multipart<1,>=0",
"pytz",
"requests<3.0,>=2.28",
"uvicorn[standard]<1,>=0",
"apprise<2.0,>=1.2",
"cachetools<6.0,>=5.3",
"sentry-sdk[celery,fastapi]<2.0,>=1.14",
"openai<2.0,>=1.24",
"python-datauri<2.0.0,>=1.1.0",
"psycopg[binary,pool]<4.0.0,>=3.1.12",
"sqlalchemy[mypy]<3.0.0,>=2.0.22",
"geopy<3.0.0,>=2.4.1",
"google-generativeai<1,>=0",
"deepgram-sdk<4.0.0,>=3.2.2",
"shapely<3.0.0,>=2.0.4",
"requests-cache<2.0.0,>=1.2.0",
"celery-batches<1.0.0,>=0.8.1",
"vastai<1.0.0,>=0.2.6",
"typesense<1.0.0,>=0.21.0",
"sqlmodel<1.0.0,>=0.0.22",
"alembic<2.0.0,>=1.14.0",
]
name = "trunk-transcribe"
version = "0.1.0"
description = "Transcription of calls from trunk-recorder using OpenAI Whisper"
readme = "README.md"
[dependency-groups]
dev = [
"coverage<8.0.0,>=7.2.5",
"pytest<9.0.0,>=8.3.2",
"mypy<2.0.0,>=1.14.0",
"ruff<1.0.0,>=0.6.3",
"types-requests<3.0.0.0,>=2.32.0.20240712",
"types-cachetools<6.0.0.0,>=5.5.0.20240820",
"types-pytz<2025.0.0.0,>=2024.1.0.20240417",
"pytest-dotenv<1.0.0,>=0.5.2",
"celery-types<1.0.0,>=0.22.0",
]
whisper = [
"openai-whisper",
]
faster-whisper = [
"faster-whisper",
]
whispers2t = [
"whisper-s2t",
]
[tool.uv]
package = false
[tool.uv.sources]
openai-whisper = { git = "https://github.com/openai/whisper.git", rev = "90db0de1896c23cbfaf0c58bc2d30665f709f170" }
faster-whisper = { git = "https://github.com/SYSTRAN/faster-whisper.git", rev = "v1.1.1" }
whisper-s2t = { git = "https://github.com/shashikg/WhisperS2T.git", rev = "v1.3.1" }
[tool.mypy]
strict = false
exclude = ["bin", "whisper"]
ignore_missing_imports = true
enable_incomplete_feature = "NewGenericSyntax"
plugins = "sqlalchemy.ext.mypy.plugin"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
ignore = [
"E402", # Module level import not at top of file
]
[tool.ruff.lint.per-file-ignores]
"app/bin/scratch/*" = ["E"]