-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
37 lines (29 loc) · 1.06 KB
/
Copy pathmain.py
File metadata and controls
37 lines (29 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
"""
Trade Disruption Monitor - Main Entry Point
Monitor and analyze disturbances to Malaysian ports caused by the Iran conflict.
"""
from src.data.malaysian_ports import MALAYSIAN_PORTS
from src.analysis.baseline import calculate_baseline_metrics
def main():
"""Main function to demonstrate the project."""
print("=" * 70)
print("TRADE DISRUPTION MONITOR")
print("Iran Conflict Impact on Malaysian Ports")
print("=" * 70)
# Display target ports
print("\n📍 Target Ports (95% of Malaysia's International Trade)")
print("-" * 70)
for i, port in enumerate(MALAYSIAN_PORTS, 1):
print(f"{i}. {port.name}")
print(f" Location: {port.location}, {port.state}")
print(f" {port.description}")
print("\n" + "=" * 70)
print("🚀 Next Steps:")
print(" 1. Test PortWatch API connection")
print(" 2. Collect baseline data for all ports")
print(" 3. Set up automated monitoring")
print(" 4. Build visualization dashboard")
print("=" * 70)
if __name__ == "__main__":
main()