Connectivity Risk Analysis Python Backend