File size: 1,082 Bytes
e317d56
 
 
 
 
 
 
 
 
 
 
 
46cc63a
e317d56
 
 
 
 
 
46cc63a
 
 
 
e317d56
 
 
 
46cc63a
0ac8b84
46cc63a
0ac8b84
 
46cc63a
 
 
e317d56
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name = "youtube_hate_detector"
version = "1.0.0"
description = "YouTube toxic comment detector — FastAPI + React"
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = [
    "fastapi>=0.136.1",
    "uvicorn[standard]>=0.47.0",
    "scikit-learn>=1.8.0",
    "spacy>=3.8.14",
    "nltk>=3.9.4",
    "pandas<3.0.0",
    "PyYAML>=6.0.3",
    "python-dotenv>=1.2.2",
    "joblib>=1.5.3",
    "pydantic>=2.13.4",
    "httpx>=0.28.1",
    "google-api-python-client>=2.100.0",
    "matplotlib>=3.10.9",
    "seaborn>=0.13.2",
    "mlflow>=2.11.0",
    "protobuf>=3.20,<5.0",
    "transformers>=5.9.0",
    "torch>=2.0.0",
    "sentencepiece>=0.2.0",
    "accelerate>=0.30.0",
    "datasets>=3.0.0",
    "supabase>=2.0.0",
]

[project.optional-dependencies]
train = [
    "deep-translator>=1.11.4",
    "sentence-transformers>=3.0.0",
]
dev = [
    "pytest>=8.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]