How mayank1234k/logistics-shipment-tracking-engine works
This is a small shipment-processing script. Running it loads order and shipment CSVs, validates shipment records, excludes cancelled shipments, computes delivered-shipment and city cost statistics, then writes a CSV report and JSON summary. The source is a single processing function, so its domain stages are represented within one runtime component rather than as separate speculative modules.
Main entry points: shipment_engine.py Shipment Processor · logistics_orders.csv Order Input · logistics_shipments.csv Shipment Input · shipment_report.csv Shipment Report
Components 6
Other components
- Script Runner
- Shipment Processor
src/shipment_engine.py - Order Input
data/logistics_orders.csv - Shipment Input
data/logistics_shipments.csv - Shipment Report
outputs/shipment_report.csv - City Summary
outputs/city_summary.json
Connections 5
- Script Runner → Shipment Processor: runs
- Shipment Processor → Order Input: reads
src/shipment_engine.py - Shipment Processor → Shipment Input: reads
src/shipment_engine.py - Shipment Processor → Shipment Report: writes
src/shipment_engine.py - Shipment Processor → City Summary: writes
src/shipment_engine.py