Python network analysis scripts