File size: 1,290 Bytes
9fe5a30
 
781f7b0
9fe5a30
 
 
 
 
 
 
 
 
 
 
 
 
decedbe
9fe5a30
781f7b0
 
 
 
d09ee28
9fe5a30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[tool.poetry]
name = "multi-utility-server"
version = "1.0.0"
description = "Centralized multi-utility FastAPI server with reusable APIs"
authors = ["Abhishek Sharma <abhishek@abhisheksan.com>"]
readme = "README.md"
packages = [{ include = "app" }]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.104.1"
uvicorn = { extras = ["standard"], version = "^0.24.0" }
pydantic = "^2.5.0"
pydantic-settings = "^2.1.0"
yt-dlp = "^2025.9.5"
python-dotenv = "^1.0.0"
python-multipart = "^0.0.6"
loguru = "^0.7.2"
slowapi = "^0.1.9"
cachetools = "^5.3.0"
sentence-transformers = "^2.2.2"
torch = "^2.0.0"
faster-whisper = "^1.0.0"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pytest-asyncio = "^0.21.1"
black = "^23.11.0"
isort = "^5.12.0"
flake8 = "^6.1.0"
mypy = "^1.7.1"
pytest-cov = "^7.0.0"

[build-system]
requires = ["poetry-core>=1.6.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
target-version = ["py311"]

[tool.isort]
profile = "black"
multi_line_output = 3

[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]