50 lines
No EOL
1.3 KiB
TOML
50 lines
No EOL
1.3 KiB
TOML
[project]
|
|
name = "fireside-tracksolid-ingest"
|
|
version = "1.0.0"
|
|
description = "Fireside Communications — Tracksolid Pro Telemetry Ingestion"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
authors = [
|
|
{ name = "Fireside DevOps", email = "devops@firesideafrica.cloud" }
|
|
]
|
|
# Define your dependencies here
|
|
dependencies = [
|
|
"psycopg2-binary>=2.9.9", # Database driver (binary version is easier for Docker)
|
|
"requests>=2.32.3", # API requests
|
|
"schedule>=1.2.2", # Polling loops/scheduler
|
|
"urllib3>=2.2.2", # HTTP connection pooling/retries
|
|
"fastapi>=0.115.0", # Webhook receiver framework
|
|
"uvicorn[standard]>=0.30.0", # ASGI server for FastAPI
|
|
"python-multipart>=0.0.9", # Required for FastAPI Form() parsing
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.uv]
|
|
# Tells uv to manage a virtual environment automatically
|
|
managed = true
|
|
|
|
[tool.uv.sources]
|
|
# Optional: If you ever have custom local modules or git-based private libs
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff>=0.4",
|
|
"mypy>=1.10",
|
|
"pytest>=8",
|
|
"pytest-asyncio>=0.23",
|
|
"httpx>=0.27",
|
|
]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
select = ["E", "W", "F", "B", "UP", "SIM"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
warn_return_any = true
|
|
warn_unused_ignores = true
|
|
ignore_missing_imports = true |