NetworkX

This library provides data representations of complex networks as objects. It also provides functionality for algorithmic analysis of the networks

Website