50 lines
1.0 KiB
TOML
50 lines
1.0 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "etl-study"
|
|
version = "0.1.0"
|
|
description = "ETL-сервис: S3 JSON → Embeddings → Qdrant для RAG"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"aioboto3>=13.0",
|
|
"aiohttp>=3.9",
|
|
"qdrant-client>=1.20",
|
|
"httpx>=0.27",
|
|
"pydantic-settings>=2.5",
|
|
"structlog>=24.4",
|
|
"tiktoken>=0.7",
|
|
"ijson>=3.3",
|
|
"prometheus-client>=0.20",
|
|
"python-docx>=1.1",
|
|
"defusedxml>=0.7.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
etl-service = "src.main:run"
|
|
etl-progress = "src.cli.progress:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
"pytest-mock>=3.14",
|
|
"ruff>=0.6",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
markers = [
|
|
"slow: полный проход по большому датасету (.data/csv/output.csv)",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|