fleettickets/pyproject.toml
david kiania 4631cc6382 feat: fleettickets — INC/CRQ ticket ingestion, geocoding + read-schema
Standalone module extracted from the tracksolid repo (was migrations 21-23 +
tools/import_tickets.py). Owns the `tickets` schema in the shared tracksolid_db.

- migrations/01_tickets_schema.sql: consolidated final-state schema (tickets.inc/
  crq raw-jsonb-first, geo_clusters + geo_locations gazetteers, geom trigger,
  reporting.fn_tickets_for_map)
- import_tickets.py: rustfs bucket ingest + cluster/location geocoding
  (LocationIQ/OpenCage, viewbox-bounded + cluster-distance guard)
- run_migrations.py, shared.py (self-contained), pyproject, .env.example, README

The DB stays in tracksolid_db; dashboard_api keeps serving /webhook/tickets; the
Tickets map stays a FleetOps tab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 20:13:50 +03:00

22 lines
477 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
]
[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"]