- Replace the aws-CLI subprocess calls with boto3 (list_objects_v2 paginator, get_object, copy_object+delete_object) using path-style addressing + RUSTFS_* env. Removes the external aws-CLI dependency so it runs in a slim container. - Add boto3 to pyproject dependencies. - Add Dockerfile (python:3.12-slim, deps, TZ=Africa/Nairobi, keep-alive CMD) and .dockerignore for Coolify; document Coolify Scheduled Task setup in README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
555 B
TOML
23 lines
555 B
TOML
[project]
|
|
name = "fleettickets"
|
|
version = "0.1.0"
|
|
description = "Field-ops INC/CRQ ticket ingestion, geocoding, and read-schema for the FleetOps Tickets map"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"psycopg2-binary>=2.9.9", # DB driver
|
|
"requests>=2.32.3", # geocoder HTTP
|
|
"boto3>=1.34", # S3 (rustfs) access — no aws-CLI dependency
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff>=0.4",
|
|
]
|
|
|
|
[tool.uv]
|
|
managed = true
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
lint.select = ["E", "W", "F", "B", "UP"]
|