ENH: simple network analysis script