-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 1.68 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
[project]
name = "stream-processor"
version = "0.1.0"
description = "Pulsar consumer for HLS live stream generation with FFmpeg - processes device frames into 24h rolling video streams"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "MicroboxLabs", email = "[email protected]" }
]
keywords = ["pulsar", "hls", "ffmpeg", "streaming", "video", "iot"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Video",
]
dependencies = [
"pulsar-client>=3.5.0",
"ffmpeg-python>=0.2.0",
"python-dotenv>=1.0.0",
"aiofiles>=24.1.0",
"redis>=5.0.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"structlog>=24.1.0",
"prometheus-client>=0.19.0",
"google-cloud-storage>=2.14.0",
"asyncpg>=0.29.0",
"Pillow>=10.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.0",
"fakeredis>=2.33.0",
"black>=24.0.0",
"ruff>=0.1.0",
"mypy>=1.8.0",
]
[project.scripts]
stream-processor = "stream_processor.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/stream_processor"]
[tool.black]
line-length = 100
target-version = ['py312']
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]