File size: 2,428 Bytes
88e3f4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = ["setuptools>=64"]
build-backend = "setuptools.build_meta"

[project]
name = "saken-omniff"
version = "1.0.0"
description = "FFmpeg-like multimodal AI runtime — universal inference, generation, and transformation"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [{name = "Saken Tukenov", email = "saken@tukenov.com"}]
readme = {text = "FFmpeg-like multimodal AI runtime — universal inference, generation, and transformation for text, image, audio, video, and documents.", content-type = "text/plain"}
keywords = ["ai", "multimodal", "runtime", "inference", "ffmpeg", "llm", "vlm", "asr", "tts"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Topic :: Multimedia",
]
dependencies = [
    "pyyaml>=6.0",
    "pydantic>=2.0",
]

[project.optional-dependencies]
cpu = [
    "torch>=2.0",
    "transformers>=4.40",
]
gpu = [
    "torch>=2.0",
    "transformers>=4.40",
    "diffusers>=0.28",
    "accelerate>=0.30",
]
all = [
    "saken-omniff[gpu]",
    "soundfile>=0.12",
    "opencv-python>=4.8",
    "scipy>=1.10",
    "fastapi>=0.110",
    "uvicorn>=0.29",
    "python-multipart>=0.0.9",
    "huggingface-hub>=0.22",
]
dev = [
    "ruff>=0.4",
    "mypy>=1.10",
    "pytest>=8.0",
    "pre-commit>=3.7",
    "types-PyYAML>=6.0",
]

[project.scripts]
omniff = "omniff.cli:main"

[project.urls]
Homepage = "https://github.com/stukenov/omniff"
Repository = "https://github.com/stukenov/omniff"
Issues = "https://github.com/stukenov/omniff/issues"

[tool.setuptools.packages.find]
where = ["."]

[tool.ruff]
target-version = "py310"
line-length = 100

[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "SIM"]
ignore = ["E501", "B904", "B008", "SIM102", "SIM105", "SIM108", "SIM117"]

[tool.ruff.lint.isort]
known-first-party = ["omniff"]

[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
ignore_missing_imports = true
no_strict_optional = true
disable_error_code = ["attr-defined", "no-any-return", "no-redef", "assignment", "misc", "return-value", "import-untyped", "arg-type"]