-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 1.93 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mmmeta"
version = "0.1.0"
description = "Production-grade multimedia metadata generation platform"
readme = "README.md"
requires-python = ">=3.13"
license = { text = "MIT" }
authors = [{ name = "OpenAI Codex" }]
dependencies = [
"alembic>=1.14.0",
"aiosqlite>=0.20.0",
"fastapi>=0.115.0",
"httpx>=0.28.0",
"numpy>=2.1.0",
"orjson>=3.10.0",
"packaging>=24.2",
"Pillow>=11.0.0",
"prometheus-client>=0.21.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.7.0",
"PyJWT>=2.10.0",
"PyYAML>=6.0.2",
"rich>=13.9.0",
"SQLAlchemy>=2.0.36",
"structlog>=24.4.0",
"tenacity>=9.0.0",
"typer>=0.15.0",
"uvicorn>=0.34.0",
"watchdog>=6.0.0"
]
[project.optional-dependencies]
dev = [
"coverage>=7.6.0",
"mypy>=1.13.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
"types-PyYAML>=6.0.12.20250516"
]
gpu = [
"torch>=2.5.0"
]
vector = [
"chromadb>=0.5.20",
"faiss-cpu>=1.9.0",
"qdrant-client>=1.12.0"
]
postgres = [
"asyncpg>=0.30.0",
"psycopg[binary]>=3.2.0"
]
parquet = [
"pyarrow>=18.0.0"
]
[project.scripts]
mmmeta = "mmmeta.cli.main:app"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = "-q"
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
target-version = "py313"
line-length = 100
src = ["src", "tests"]
exclude = [
"convert_srts_to_metadata.py",
"convert_srts_to_metadata (2).py",
"test.py"
]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "SIM", "ASYNC"]
ignore = ["ASYNC110", "ASYNC240", "E501", "N811"]
[tool.ruff.lint.per-file-ignores]
"migrations/**" = ["I001"]
"src/mmmeta/api/**/*.py" = ["B008"]
[tool.mypy]
python_version = "3.13"
plugins = []
strict = true
warn_unused_configs = true
packages = ["mmmeta"]
exclude = ['^(convert_srts_to_metadata(\s\(2\))?\.py|test\.py)$']